This was posted on the comp.os.linux.setup. I din't try it though. Soumik. ===========================Original message=================================
In reference to my question about the NT bootloader and Linux recently, here is the solution to boot MS-Dos, NT 4.0 as well ad Linux using the NT 4.0 bootloader. At this moment I have the NT bootloader up and running to load Linux as well! I have done the following: Remember my system configuration is the following: /dev/hda1 FAT, MS Dos 6.0 /dev/hda2 NTFS, NT 4.0 /dev/hdb1 ext2fs, RedHat 4.0, / /dev/hdb2 ext2fs, /usr/local /dev/hdb3 ext2fs, /home 1. Install LILO in the bootsector of /dev/hdb1, using ------/etc/lilo.conf------------------------------------------------------- # Install LILO in the bootsector of /dev/hdb1 boot=/dev/hdb1 # Name of the bootloader install = /boot/boot.b # Have LILO perform some optimization compact # Stanza for Linux root partition on /dev/hdb1 image = /boot/vmlinuz label = linux root = /dev/hdb1 --------------------------------------------------------------------------- run /sbin/lilo 2. mount /dev/hda1 (MS Dos FAT) on /mnt/hda1 3. Make a file of the bootsector of /dev/hdb1, using dd if=/dev/hdb1 of=/mnt/hda1/bootsect.lnx bs=512 count=1 the bootsector of /dev/hdb1 is now in C:\BOOTSECT.LNX 4. Add the Linux line to C:\BOOT.INI, according to ------C:\BOOT.INI---------------------------------------------------------- [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00" multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos C:\ = "MS-DOS" c:\bootsect.lnx="RedHat 4.0 Linux" --------------------------------------------------------------------------- Everything works fine for me now, and I can boot all OS'es using NT bootmanager! greetings, Arnoud de Geus, [EMAIL PROTECTED] -------------------------------------------------------------------------------- --- sumit kumar mitra <[EMAIL PROTECTED]> wrote: > someone please specify the other arguments i have to give to dd command > apart from the o/p file name to dump the boot program so that i can use > the windows NT bootloader to load LINUX....i have linux installed on > hda2 > > > > > > -- > To unsubscribe, send mail to [EMAIL PROTECTED] with the body > "unsubscribe ilug-cal" and an empty subject line. > FAQ: http://www.ilug-cal.org/node.php?id=3 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
