From: David Crozier (davidcrozier at domain hotmail.com)
Date: Mon 01 Oct 2001 - 16:07:01 IST
Came across this and thought some may find it useful!! I have tried it on a
dual setup on a Toshiba Tecra 8000 and worked fine.
Having got Red Hat 7.0 installed and bootable from a floppy, you can go on
to make the machine dual boot Windows 2000 or Linux without needing
floppies. Start in Linux with a blank floppy disk inserted (not the boot
floppy!) and run:
mount -t vfat /dev/fd0 /mnt/floppy
dd if=/dev/hda3 of=/mnt/floppy/bootsect.lnx bs=512 count=1
Then shutdown Linux and boot Windows, and from a Command Prompt run:
copy A:\bootsect.lnx BOOTSECT.LNX
attrib -s -h boot.ini
copy boot.ini boot.ini.orig
and edit boot.ini so that it reads e.g.
C:\bootsect.lnx="Red Hat Linux 7.0"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
attrib +s +h boot.ini
attrib +s +h bootsect.lnx
Next time you boot, after the Dell logo, you'll get a text screen saying:
Please select the operating system to start:
Red Hat Linux 7.0
Microsoft Windows 2000 Professional
Use ^ and v to move the highlight to your choice
Press enter to choose.
Note: After any Linux kernel rebuild, you'll need to re-run LILO, make a new
Linux boot floppy, and re-copy the new Linux boot sector to Windows all over
again. Otherwise, you won't be able to boot Linux any more.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:25 GMT