mreude
December 10th, 2008, 02:30 AM
I have just installed Ubuntu 8.10 with GRUB loader. When I boot to HDD I get the following information:
Grub 1.5 Loading...
ERROR 22
I have been all over the forums, but cannot find the information to get GRUB to load properly.
Here is the information I have aquired so far.
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xcdb8cdb8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 625121279 312560608+ 7 HPFS/NTFS
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x99c0d4e2
Device Boot Start End Blocks Id System
/dev/sdb1 63 487412099 243706018+ 7 HPFS/NTFS
/dev/sdb2 487412100 976768064 244677982+ 5 Extended
/dev/sdb5 487412163 970759754 241673796 83 Linux
/dev/sdb6 970759818 976768064 3004123+ 82 Linux swap / Solaris
Disk /dev/sdc: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders, total 120103200 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x08e00c86
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 120085874 60042906 7 HPFS/NTFS
Disk /dev/sdd: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x75eab9f2
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 78140159 39070048+ 7 HPFS/NTFS
Disk /dev/sde: 100 MB, 100663296 bytes
64 heads, 32 sectors/track, 96 cylinders, total 196608 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x93e2014e
Device Boot Start End Blocks Id System
/dev/sde4 * 32 196607 98288 6 FAT16
Disk /dev/sdk: 4009 MB, 4009230336 bytes
16 heads, 32 sectors/track, 15294 cylinders, total 7830528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xe12de12d
Device Boot Start End Blocks Id System
/dev/sdk1 * 32 7830527 3915248 b W95 FAT32
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sda
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdb
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdc
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdd
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sde
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdk
eb48
They all say eb48 because I've tried to install GRUB on all of my drives.
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sda
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdb
04ff
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdc
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdd
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sde
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdk
0481
Ubuntu 8.10 is installed on sdb5. And GRUB says that it is installed on hd1,4 when I do the following:
sudo grub
find /boot/grub/stage1
Grub 1.5 Loading...
ERROR 22
I have been all over the forums, but cannot find the information to get GRUB to load properly.
Here is the information I have aquired so far.
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xcdb8cdb8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 625121279 312560608+ 7 HPFS/NTFS
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x99c0d4e2
Device Boot Start End Blocks Id System
/dev/sdb1 63 487412099 243706018+ 7 HPFS/NTFS
/dev/sdb2 487412100 976768064 244677982+ 5 Extended
/dev/sdb5 487412163 970759754 241673796 83 Linux
/dev/sdb6 970759818 976768064 3004123+ 82 Linux swap / Solaris
Disk /dev/sdc: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders, total 120103200 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x08e00c86
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 120085874 60042906 7 HPFS/NTFS
Disk /dev/sdd: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x75eab9f2
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 78140159 39070048+ 7 HPFS/NTFS
Disk /dev/sde: 100 MB, 100663296 bytes
64 heads, 32 sectors/track, 96 cylinders, total 196608 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x93e2014e
Device Boot Start End Blocks Id System
/dev/sde4 * 32 196607 98288 6 FAT16
Disk /dev/sdk: 4009 MB, 4009230336 bytes
16 heads, 32 sectors/track, 15294 cylinders, total 7830528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xe12de12d
Device Boot Start End Blocks Id System
/dev/sdk1 * 32 7830527 3915248 b W95 FAT32
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sda
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdb
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdc
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdd
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sde
eb48
ubuntu@ubuntu:~$ sudo xxd -l 2 -p /dev/sdk
eb48
They all say eb48 because I've tried to install GRUB on all of my drives.
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sda
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdb
04ff
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdc
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdd
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sde
0481
ubuntu@ubuntu:~$ sudo xxd -s 1049 -l 2 -p /dev/sdk
0481
Ubuntu 8.10 is installed on sdb5. And GRUB says that it is installed on hd1,4 when I do the following:
sudo grub
find /boot/grub/stage1