1.
/boot/grub/device.map:
(original as came with Ubuntu - how it looked before I edited it)
Code: Select all
(hd0) /dev/hda(after my edit)
Code: Select all
(hd0) /dev/hda
(hd1) /dev/hdb/boot/grub/menu.lst:
(I appended to it the data below)
Code: Select all
title Microsoft Windows XP Professional
root (hd1,0)
makeactive
chainloader +1Code: Select all
title Microsoft Windows XP Professional
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1Code: Select all
title Microsoft Windows XP Professional
root (hd1,0)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
makeactive
chainloader +1More info:Error 21: Selected drive does not exist
- Both HD's are connected on the same IDE cable (Ubuntu's HD as a Master and XP's HD as the slave)
- The XP HD has 2 partitions: C:\ and D:\. XP is installed on C:\
Edit: If that helps, here is what "fdisk -l" outputs:
Code: Select all
Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 743 5968116 83 Linux
/dev/hda2 744 784 329332+ 5 Extended
/dev/hda5 744 784 329301 82 Linux swap / Solaris
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2269 18225711 7 HPFS/NTFS
/dev/hdb2 2270 2433 1317330 f W95 Ext'd (LBA)
/dev/hdb5 2270 2433 1317298+ b W95 FAT32