[plug] Dual-booting (was Windows Problems)

Mike Holland myk at plug.linux.org.au
Tue Oct 29 10:51:09 WST 2002


On Tue, 29 Oct 2002, I am the LinuxAlien wrote:

> It is now like this
> MBR             W2k
> hda1    8Mb     Windows 2000 boot

What format is that? Make it FAT, so win2k and Linux can share it.
You can put your linux kernel on the FAT partiton if needed.

> hda3    2Gb     /
> hda5    1.8Gb   Windows 2000
> hdb1    512Mb   /home
> 
> I started the install after moving my /home partion and testing that it 
> worked. I then deleted the old home partion and created the windows 2000 
> partion on hda5. It was then i was told it need the 8Mb boot partion as 
> well. By this stage it had wrecked my MBR so I booted into Knoppix and 
> moved ha1 /boot to hda3 /boot, (put it on the / filesystem)

All you needed todo was boot linux from floppy, add a lilo entry for 
win2k, and re-install LILO on the MBR.
  Alternatively, copy the LILO boot-sector to C:, and add an entry to 
boot.ini . Or both.

> I don't want to install Debian again.

Definitely no need. I'll bet you can find a FAQ/HOWTO for this Tim, but
if you are having trouble:

lilo.conf ad:
    other=/dev/hda1
    label=windows
    table=/dev/hda

boot.ini add:
	C:\bootsect.lin = "Linux"

where that is a 512 byte file, copied from your hda or hda3 lilo boot 
sector.

It shouldnt matter if you overwrite the NT MBR, but take a copy first,
e.g. "dd if=/dev/hda of=win2k-mbr bs=512 count=1 "

cheers, Mike.

-- 
        The origin of Truth is Doubt - Socrates





More information about the plug mailing list