Dual booting Windows XP and Linux using ntldr

This page has some useful instructions.

1. Install linux with its bootloader on the linux partition, and not in the MBR.

2. While booted from a linux live CD (could be the installer itself), make a backup copy of the MBR (call it mbr.save).

$ dd if=/dev/hdb of=mbr.save bs=512 count=1

3. Install linux bootloader to MBR.

$ lilo -M /dev/hdb
$ grub-install /dev/hdb

4. Make an additional backup copy of the MBR (call it boot.lnx)

$ dd if=/dev/hdb of=/boot/boot.lnx bs=512 count=1

5. Restore mbr.save

$ dd if=mbr.save of=/dev/hdb bs=512

6. Copy boot.lnx to the NTFS partition and add an entry in boot.ini that points to it.

C:> cd \
C:> attrib -h -r -s boot.ini
C:> notepad boot.ini
Add:
C:\boot.lnx=”Linux”

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s