LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add Linux to WinXP Boot loader (https://www.linuxquestions.org/questions/linux-newbie-8/add-linux-to-winxp-boot-loader-29993/)

justiceisblind 09-09-2002 04:36 PM

Add Linux to WinXP Boot loader
 
I just installed XP on my IBM thinkpad and I can't get it to load, I chose not to install a Linux boot loader because I couldn't set WinXP as the the default and I didn't want to not be able to boot into XP if there was no option for it in the bootloader... anyway, how do i load Linux with the Windows XP boot loader?

Mara 09-09-2002 05:07 PM

There's a howto: http://www.tldp.org/HOWTO/mini/Linux+NT-Loader.html
It works also with XP. You don't have a boot floppy to boot to Linux, but you can use the installation cd instead.
In case of doubts write again.

jetblackz 09-09-2002 09:47 PM

# After you installed XP on /dev/hda1
# & Linux with lilo on /dev/hda2
#
# Replace /dev/hda2 if need be
#
Boot Linux & open terminal
mount /mnt/floppy
dd if=/dev/hda2 of=/mnt/floppy/boot.lnx bs=512 count=1
cp boot.lnx /mnt/floppy
umount /mnt/floppy
Boot XP
copy boot.lnx c:\
edit boot.ini
After multi(0)..., add a new line
C:\boot.lnx="linux"
Reboot

KayJay 09-11-2002 07:18 AM

I tried that too.. but when I select RedHat in NT bootloader the screen turns blank with a cursor blinking, nothing happens, ne1 knows why?

Mara 09-11-2002 03:53 PM

It looks you've used dd on the wrong partition (it must be the same lilo is installed to).

jetblackz 09-12-2002 09:54 PM

You didn't install lilo on /dev/hda2. That's why.

pico /etc/lilo.conf
Ensure it's pointed to /dev/hda2
exit
/sbin/lilo


All times are GMT -5. The time now is 02:51 AM.