[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Boot with Win2k



Matthew Daubenspeck declaimed:
> Has anyone had any dual-boot experience with Windows 2000? I currently
> have linux on one drive and 2K on another, and am looking for a viable
> way of dual booting the two...
> 
> Thanks!

Don't forget my (politically incorrect) favorite:

- Install Windows NT/2000/XP
- Install Linux
  - create a boot floppy
	- don't let it write the MBR, instead have it write the boot 
	  sector at the beginning of your root partition
- Boot Linux
- run 'dd bs=512 if=/dev/hda5 of=/bootsect.lnx count=1'
  You probably need to be root, user your root partition for /dev/hda5
- Copy bootsect.lnx to your C:\bootsect.lnx (your Windows startup disk).
- Add the following line to your Windows boot.ini file:
  C:\bootsect.lnx="Debian Linux"

Voila! The NT Loader will now offer to boot Linux. You can even make it
the default.

Pro: This technique violates the Microsoft Software License Agreement
     you agreed to when you installed Windows. They make you promise not
		 to use their OS loader to boot a non-Microsoft OS. Every time I do 
		 it I feel like Jesse James.

Con: You have to update the bootsect.lnx file each time you run lilo, and
     it's not something you really want to brag about at your local LUG.

The Truth: Someday I will succumb to Dman's evangelizing and try Grub,
           meanwhile I boot from lilo and use the 'Other' option to boot 
					 Windows, but I do have a shellscript in my root directory that 
					 updates the bootsect.lnx thing automatically. I'd love to find a 
					 better use for that 10 GB of disk space, but this weekend I have 
					 to make a PowerPoint thingy for a class I'm taking :-(
Cheers,

Paul
-- 
Paul Mackinney
paul@mackinney.net


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: