Endnu et direkte copy-paste fra sslug:
Se HOWTO :
http://www.linux.com/howto/mini/Linux+NT-Loader.htmlwin2000 bruger same boot manager som NT.
du skal fra linux lave en boot fil
derefter copier filen til dit windows root drev (c:\\)
og fra boot.ini skrive den linie ind for boot af linux.
------> udtræk ----->
5. The Linux part of the work
You have to boot from diskettes until the NT-part is fixed.
Now you have to peel the bootsector from your Linux-root-Partition. With
/dev/hda2 as your linux-partition, the dd-command is:
# dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1
There is something wrong if your bootsect.lnx has more than 512 bytes.
Now copy the file bootsect.lnx to a DOS-formated floppy if this is your way
to transfer files to the NTFS-Windows-partition.
You can copy it with
# mcopy /bootsect.lnx a:
or with
# mount -t msdos /dev/fd0 /mnt
# copy /bootsect.lnx /mnt
# umount /mnt
6. The Windows NT part of the work
Copy the file from the diskette to C:\\\\bootsect.lnx. I don\'t tell you how to
do that.
What lilo.conf is for linux is c:\\\\boot.ini for Windows NT. Remove the,
system- and the read-only-attribute before you can modify it with:
C:\\attrib -s -r c:\\boot.ini
Now change the file boot.ini with an editor, notepad for example, as
follows:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\\WINNT=\"Windows NT Workstation ...
multi(0)disk(0)rdisk(0)partition(1)\\WINNT=\"Windows NT Workstation ...
C:\\BOOTSECT.LNX=\"Linux\"
Only the last line has been added in this example. Restore the attributes
after you have saved boot.ini with:
C:\\attrib +s +r c:\\boot.ini
After a shutdown of your Windows NT and a restart your should see the
following:
OS Loader V4.00
Please select the operating system to start:
Windows NT Workstation Version 4.0
Windows NT Workstation Version 4.0 [VGA mode]
Linux
Select Linux and see
LILO loading zImage ....