NoSkill
November 13th, 2008, 03:20 AM
Hi,
I have recently installed the new version of ubuntu 8.10 on my PC. I have 3 Harddrives , one of the has XP the other is just data and the other has my ubuntu partition.
Whenever i try to boot, I get the Grub Error 22 message. I tried Fixing grub with
sudo grub
find /boot/grub/stage1
>>Returns (hd0,0)
root (hd0,0)
setup (hd0)
But when I boot again, I get the SAME error 22!
My menu.lst is as follows:
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=438c7aec-d252-45a0-8806-7b274a9b16c5 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=438c7aec-d252-45a0-8806-7b274a9b16c5 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb2
title Microsoft Windows XP Professional
root (hd1,1)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
This looks very incorrect as there is no entry for ubuntu, and yes I copy pasted everything.
fdisk yields the following:
ubuntu@ubuntu:/media/disk/boot/grub$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x35cc9dc6
Device Boot Start End Blocks Id System
/dev/sda1 * 1 38297 307620621 83 Linux
/dev/sda2 38298 38913 4948020 5 Extended
/dev/sda5 38298 38913 4947988+ 82 Linux swap / Solaris
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e9aa6
Device Boot Start End Blocks Id System
/dev/sdb2 * 16713 37810 169469685 7 HPFS/NTFS
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e6cf85e
Device Boot Start End Blocks Id System
/dev/sdc1 2 30515 245103705 f W95 Ext'd (LBA)
/dev/sdc5 2 30515 245103673+ 7 HPFS/NTFS
ubuntu@ubuntu:/media/disk/boot/grub$
Any ideas please anyone???
I have recently installed the new version of ubuntu 8.10 on my PC. I have 3 Harddrives , one of the has XP the other is just data and the other has my ubuntu partition.
Whenever i try to boot, I get the Grub Error 22 message. I tried Fixing grub with
sudo grub
find /boot/grub/stage1
>>Returns (hd0,0)
root (hd0,0)
setup (hd0)
But when I boot again, I get the SAME error 22!
My menu.lst is as follows:
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=438c7aec-d252-45a0-8806-7b274a9b16c5 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=438c7aec-d252-45a0-8806-7b274a9b16c5 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 438c7aec-d252-45a0-8806-7b274a9b16c5
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb2
title Microsoft Windows XP Professional
root (hd1,1)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
This looks very incorrect as there is no entry for ubuntu, and yes I copy pasted everything.
fdisk yields the following:
ubuntu@ubuntu:/media/disk/boot/grub$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x35cc9dc6
Device Boot Start End Blocks Id System
/dev/sda1 * 1 38297 307620621 83 Linux
/dev/sda2 38298 38913 4948020 5 Extended
/dev/sda5 38298 38913 4947988+ 82 Linux swap / Solaris
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e9aa6
Device Boot Start End Blocks Id System
/dev/sdb2 * 16713 37810 169469685 7 HPFS/NTFS
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e6cf85e
Device Boot Start End Blocks Id System
/dev/sdc1 2 30515 245103705 f W95 Ext'd (LBA)
/dev/sdc5 2 30515 245103673+ 7 HPFS/NTFS
ubuntu@ubuntu:/media/disk/boot/grub$
Any ideas please anyone???