Link to home
Start Free TrialLog in
Avatar of obg
obg

asked on

Linux boot from NT start menu...?

I have a primary slave HD with SlackWare 3.4 installed. When I installed LILO on the master, it destroyed my first primary partition... Is there a way to add Linux to the boot.ini file? (The option multi(0)disk(1)rdisk(0)... seemed to assume that NT was to be loaded from that partition.)
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rbr
rbr

yes it is possible. The pts distribution has an help where this is discribed.


Start liloconfig (say that lilo will be installed at the linux root partition)
Add the linux partition to the config
delay should be zero
install lilo
Copy the bootsector into a file (dd if=<Linux Root-Partition> of=<File> bs=512 count=1
(e.g. dd if=/dev/hda3 of=/bootsect.lin bs=512 count=1)
cp this file to the NT boot partition (via DISC if it's NTFS or directly if it's dos)
add the following line in boot.ini
C:\bootsect.lin=Linux


If done this with my PC and it works without any problems.
Hey rbr, nice idea.
Does it work also if my 1'st partition (C:) is NTFS? As with booting DOS, I thought that it's just possible to boot other systems if the 2'st partition (NT) is in FAT format.
If this works you should get the points :-)
Yes if you copy the file with a disc on the NTFS volume it should work!