TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:7719] A dual-boot question



Yup, the NT boot loader likes to be in control.. 

from Linux in a Nutshell, page 585.
____________________________________________________________________
...this assumes your Linux partition is on /dev/hda2...

1. ...in the global section of lilo.conf: boot=/dev/hda (same as the
`root' entry for Linux)

2. ...run lilo to install LILO on the Linux root partition.

3. ...at this point if you need to boot Linux, you have to use a floppy...

4. From Linux, run dd: 
	% dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1
(bootsect.lnx can be any name that makes sense to you, % is prompt)

5. Copy bootsect.lnx to a dos formatted floppy

6. Reboot to NT and copy the file:
	c:> copy a:\bootsect.lnx c:\bootsect.lnx

7.  ...modify attributes of boot.ini so you can edit it:
	c:> attrib -s -r c:\boot.ini

8. add the line `C:\bootsect.lnx="Linux"' any where in the [operating
systems] section of boot.ini

9. Change the attributes back:
	c:> attrib +s +r c:\boot.ini

...if you rebuild the kernel or modify lilo.conf, you have to redo steps
2-6...
_______________________________________________________________________
hope this helps
                                          -o)
-- Ryan -- rgoldber@d.umn.edu --           /\
                                          _\_v