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.
Dave
Dual-Boot Setup
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
umount /mnt/floppy
Then shutdown Linux and boot Windows, and from a Command Prompt run:
C:
cd \
copy A:\bootsect.lnx BOOTSECT.LNX
attrib -s -h boot.ini
copy boot.ini boot.ini.orig
notepad boot.ini
and edit boot.ini so that it reads e.g.
[boot loader]
timeout=10
default=C:\bootsect.lnx
[operating systems]
C:\bootsect.lnx="Red Hat Linux 7.0"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional" /fastdetect
then run:
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.
David Crozier
www.davidcrozier.co.uk
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!