[vox-tech] Dual-booting Linux and Windows 2000
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vox-tech] Dual-booting Linux and Windows 2000
Hi all,
I have a 9GB drive with Windows 2000 installed on it. I wanted to make a
dual-boot system, so I added another 2.5GB IDE drive I had lying around
(jumpered to slave). Then I setup an FTP installation of RedHat's Wolverine
and let it run during the weekend.
On return, I had a Red Hat Linux bootable installation on hdb. I also made a
boot disk. fdisk shows:
Cylinders Device Type
1-5 /dev/hdb1 boot
6-621 /dev/hdb2 extended partition
6-604 /dev/hdb5 /
605-621 /dev/hdb6 swap
Where cylinders are 8164*512K = 4MB each.
To make a bootfile for NTLoader to load linux, I did:
dd if=/dev/hdb1 of=/bootsect.lnx bs=512 count=1
then I copied this file to diskette.
To get Windows 2000 back (and in accordance with the Linux-NT HOWTO on
www.linuxdoc.org), I booted a DOS disk and ran fdisk /mbr, then repaired my
NT bootsector using the repair procedure. (Actually, I've done this twice
... the second time, I just fdisk'ed). After I could boot to W2K, I copied
bootsect.lnx onto C: and added the following line to boot.ini
C:\BOOTSECT.LNX="Red Hat Linux (Wolverine)"
Now, when I tried to use NT Loader to get to Linux, I get the error:
BOOT Failed
However, I can boot W2K. I can also boot to Linux using the boot disk. So, I
tried copying the floppy's boot sector using
dd if=/dev/fd0 of=/bootsec.lnx bs=512 count=1
but this generates the same results.
I don't want to run LILO, since that will overwrite my NT Bootloader. I
tried that already, that adds the line:
boot=/dev/hda
to /etc/lilo.conf and erases the NT Bootloader, until I fdisk it.
Any hints on completing this? I can dual boot by inserting the floppy, but
I'd like to manage the process in NT Loader.
Thanks,
--Adam
|