Sorry to drag up a recurring subject, but I have spent the last 10 hours searching online & trying different things. I have edited menu.lst, device.map, fstab.
Can't seem to get it right & I don't know why.
Here's the story;
I have installed XP & Gutsy on this PC on 2 separate drives, at 2 separate times.
Now I want the 2 to work together as a Dual boot from grub.
Here's my drive setup (all IDE);
Primary Master - 10Gb - Kubuntu 7.10
Primary Slave - 2.1Gb - Linux swap
Secondary Master - LGGSA4167B DVD Burner
Secondary Slave - 80Gb - Microsuck Windblows XP
Bacause the installations were done separately I have to edit grub manually.
I am trying to set XP as the default option in grub.
Both XP & Kubuntu drives will boot iff I select the appropriate HDD from the BIOS.
But when I boot Kubuntu drive (10Gb), I get a
"error 21 selected disk does not exist" message.
Then it dumps me on the grub menu & I can choose to boot Kubuntu
(all Linux options on menu work).
But if I try the XP option I just keep getting the "error 21" until I give up & pick a Linux option.
I know my XP works. It starts up if I tell BIOS to boot directly from the 80GbHD.
Neither OS is a problem to run, just can't get XP to boot from grub menu.
So, I am convinced it is something I have done wrong or missed.
Here is my output from: sudo fdisk -l
----------
Disk /dev/hda: 10.2 GB, 10248118272 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf5c3826c
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1245 10000431 83 Linux
Disk /dev/hdb: 2111 MB, 2111864832 bytes
255 heads, 63 sectors/track, 256 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1c599171
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 256 2056288+ 82 Linux swap / Solaris
Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbb15bb15
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 9729 78148161 7 HPFS/NTFS
----------
Here is my fstab file:
----------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=f0f48319-398d-4606-aeec-482398578997 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/hdb1
UUID=a0d353a7-fb42-43aa-bd2d-4aa69c068657 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
/dev/hdd1 /media/XPdrive ntfs nls=utf8,unmask=0222,uid=0,gid=0,auto,rw,nouser 0 0
----------
Here is my devices.map file:
----------
(hd0) /dev/hda
(hd1) /dev/hdb
(hd3) /dev/hdd
----------
And last, but not least, my menu.lst file:
----------
title Windows XP Pro
root (hd3,0)
savedefault
makeactive
chainloader +1
map (hd0) (hd3)
map (hd3) (hd0)
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f0f48319-398d-4606-aeec-482398578997 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f0f48319-398d-4606-aeec-482398578997 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
----------
What have I done wrong ?
Can't seem to get it right & I don't know why.
Here's the story;
I have installed XP & Gutsy on this PC on 2 separate drives, at 2 separate times.
Now I want the 2 to work together as a Dual boot from grub.
Here's my drive setup (all IDE);
Primary Master - 10Gb - Kubuntu 7.10
Primary Slave - 2.1Gb - Linux swap
Secondary Master - LGGSA4167B DVD Burner
Secondary Slave - 80Gb - Microsuck Windblows XP
Bacause the installations were done separately I have to edit grub manually.
I am trying to set XP as the default option in grub.
Both XP & Kubuntu drives will boot iff I select the appropriate HDD from the BIOS.
But when I boot Kubuntu drive (10Gb), I get a
"error 21 selected disk does not exist" message.
Then it dumps me on the grub menu & I can choose to boot Kubuntu
(all Linux options on menu work).
But if I try the XP option I just keep getting the "error 21" until I give up & pick a Linux option.
I know my XP works. It starts up if I tell BIOS to boot directly from the 80GbHD.
Neither OS is a problem to run, just can't get XP to boot from grub menu.
So, I am convinced it is something I have done wrong or missed.
Here is my output from: sudo fdisk -l
----------
Disk /dev/hda: 10.2 GB, 10248118272 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf5c3826c
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1245 10000431 83 Linux
Disk /dev/hdb: 2111 MB, 2111864832 bytes
255 heads, 63 sectors/track, 256 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1c599171
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 256 2056288+ 82 Linux swap / Solaris
Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbb15bb15
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 9729 78148161 7 HPFS/NTFS
----------
Here is my fstab file:
----------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=f0f48319-398d-4606-aeec-482398578997 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/hdb1
UUID=a0d353a7-fb42-43aa-bd2d-4aa69c068657 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
/dev/hdd1 /media/XPdrive ntfs nls=utf8,unmask=0222,uid=0,gid=0,auto,rw,nouser 0 0
----------
Here is my devices.map file:
----------
(hd0) /dev/hda
(hd1) /dev/hdb
(hd3) /dev/hdd
----------
And last, but not least, my menu.lst file:
----------
title Windows XP Pro
root (hd3,0)
savedefault
makeactive
chainloader +1
map (hd0) (hd3)
map (hd3) (hd0)
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f0f48319-398d-4606-aeec-482398578997 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f0f48319-398d-4606-aeec-482398578997 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
----------
What have I done wrong ?
Comment