Click to See Complete Forum and Search --> : loading linux from 2k bootloader problems


dvdnut
03-14-2001, 04:50 AM
before i installed a new hard drive i could run linux from the 2k bootloader using the linux.bin file created within linux.

now since having it installed i cannot figure out for the life of me how to get it back up and running

i have installed 2k on hda1, and linux on hda5, but mandrake 7.2 install isnt helpful in that redhat asks, do you want to install on mbr or linux partition.

how do i set up lilo to run from the linux partition so when i opt for linux in the bootloader it loads up lilo

when i tried numerous configurations
setting root sector to hda 5, and boot partition to 5 as well i still encountered problems

can anyone help me please?

yogotie
03-14-2001, 05:46 AM
I have not personally used the 2k bootloader but I have used others.

I put the lilo onto the linux partition and the boot loader into the MBR.

If that does not work check to see what the lilo configuration file says and then set it to what you want and then run the lilo at the prompt to update the lilo. This is what I have done in the past.

dvdnut
03-14-2001, 07:23 AM
i understand that but lilo and/or grub installs fine on mbr, but if i select hda5 instead of hda then it dont work

am i right in thinking that root should be hda
and boot partition should be hda5

ph34r
03-14-2001, 10:03 AM
Make it so lilo writes to your / partition - /dev/hda5 in your case. Then strip off the bootsector into a file, and put that file where 2k can get at it. Then edit 2k's boot.ini file to point to the file you created.

Been covered quite a few times here on LNO, as well as in the Linux/NT howto.

SUOrangeman
03-14-2001, 11:54 AM
Install LILO/grub to the Linux partition with /boot.

Get bootpart.exe from www.winimage.com (http://www.winimage.com) and use this utility to add Linux (and any other bootable partition) to WinNT/2K's boot loader.

-SUO

dvdnut
03-14-2001, 12:43 PM
but the weird thing is, is that it worked before using the same way

i shall give it another go,

BUT

even trying to boot using boot disk i am still unable to get in, i shall try a few times more tonight when i get home

thanks for your help