LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how can i start linux 7.3 with out boot diskette? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-start-linux-7-3-with-out-boot-diskette-108611/)

thehitman 10-26-2003 04:48 AM

how can i start linux 7.3 with out boot diskette?
 
i have windows xp pro and linux 7.3 on my PC and i like to boot with out the boot diskette and show me the dual boot message to choose which OS to load.
i will be happy if you could answer me.

hw-tph 10-26-2003 09:03 AM

Do you have a bootloader for Linux? I assume this could work with Grub but I only use Lilo, so this is what I do:

1. Check where you have your bootloader (Lilo in my case) installed - open up /etc/lilo.conf and view it, check for the boot= line. It should be a hard disk or a partition.

2. Make a copy of the boot record where the bootloader lives. If it's installed on /dev/hda3 for instance, this line would work fine: dd if=/dev/hda3 count=1 bs=512 of=./boot.lnx.

3. Copy the file to the Windows C: partition by whatever means you prefer (mounting the partition, copying it to a floppy in Linux and then boot Windows and copy the file from the floppy onto C:, whatever).

4. Edit C:\boot.ini in Windows. Add a line pointing to the copy of the Linux bootloader you copied to the C:\ root - add C:\boot.lnx="GNU/Linux" at the end of the boot.ini file. You may want to make the timeout shorter too as the default of 30 seconds is pretty long IMHO.

Reboot and choose right or wrong (Linux or Windows) when the Windows NT Bootloader (which is used in WinXP) pops up. :)

Håkan

tredegar 10-26-2003 09:28 AM

maybe I am too much of a newbie at this, but wouldn't it be simpler for thehitman to boot into linux with his boot disk and then run /sbin/lilo as root?

If he is then unhappy with the boot order, he can edit /etc/lilo.conf to change it.

Please correct me if I am wrong.

Joey.Dale 10-26-2003 09:48 AM

Where did you get linux 7.3?

We are all still on 2.4.8-x or 2.6.0testx
Do you mean Red Hat 7.3?


All times are GMT -5. The time now is 01:49 AM.