[PLUG] Dual-booting Linux, Windows XP

Robert Kopp iconoklastic at yahoo.com
Mon Jan 5 11:05:02 UTC 2004


I have discussed this before, but this is probably the
easiest way to do it:

Put GRUB in the first sector of /boot, if not already
there.

Copy to a DOS-formatted floppy disk:
dd if=/dev/hdb2 of=/bootsect.lnx bs=512 count=1

Any 8.3 filename not already used will do, and your
device name is probably different, too.

Copy this small file to c:\ on Windows XP.

At the command line:

attrib -r -s -h c:\boot.ini

Add this at the end:

c:\bootsect.lnx="Linux"

Change the attributes back:

attrib +r +s +h c:\boot.ini and reboot.

NTLDR's welcome screen is pretty ugly, so if you want
a splash screen of Michelangelo painting the Sistine
Chapel, you may have to use a different method.


=====
Robert "Tim" Kopp
http://analytic.tripod.com/

"Convictions are more dangerous foes of truth than lies."--Frederick Nietzsche




More information about the PLUG mailing list