How to /boot/grub/menu.lst for network install

Yesterday I went to help a Professor from Mechanical Department who had mailed me for help. He was really struggling with windows as desperately wanted to get Linux installed as he was not familiar with windows software. He was the first man I have ever met who said that he was struggling with office excel and wanted Linux.

He had an old HP workstation. I never had opportunity to see a workstation but yesterday I saw one and even installed Fedora 10 on it. I must say the machine was really fast even better than the new Centrino Duo / core 2 duo processors that we use. The instllaion took only 20 minutes and i must say here that he had nearly selected almost all the packages (GNOME & KDE both).

There was another machine whose DVD drive was not working. I had SUSE Enterprise Server installed with barely any software. So I installed openSUSE 11.1 on it from the Local Installation repository that we have. We generally use Unetbootin (Google if you dont know) for network installation. But I was not able to install that due to some dependencies. So I downlaoded the kernel and initrd filles from the installation medium and then i edited menu.lst.

  • First I made a new directory in /boot and called it install.
  • Then I copied the initrd and linux(kernel in opensuse DVD) to /boot/install.
  • Then I edited menu.lst. Since my boot partition was same as root /dev/sda2, so for me i added

title Install

root (hd0,2)
kernel /boot/install/linux
initrd /boot/install/initrd

  • Then I rebooted and selected “Install” from the boot menu and it worked out.

Once again it can be noticed how powerful Linux is, I dont know if any other OS gives you such options, if you know then please tell me  🙂


Posted

in

by

Comments

2 responses to “How to /boot/grub/menu.lst for network install”

  1. sagar Avatar

    roshan,
    this is quite interesting. I have some more doubts, hope u will reply.
    i have only linux (redhat5) installed and have grub with one entry only (obviously). Now i want to create one more entry which will allow me to boot linux from network, say boot server which will allocate me ip addr. So basically in this option my grub will request (using mac addr) for ip and boot image over the network.

    how should be the grub entry?

    thanks in advance

    1. Roshan Singh Avatar

      Hi sagar,
      I had a normal http server which had the repository for installation so i copied the kernel and initrd files and made entries in the menu.lst.
      For booting from a boot server make changes in your BIOS to use network card for booting. I have done that earlier and I do not think you require an entry in grub for that.
      Hope this is what you were looking for.

Leave a Reply

Your email address will not be published. Required fields are marked *