grub error 21, please help me
发表于 : 2007-10-30 23:53
After re-install winxp and the grub doesn't work.
I am using the ubuntu 7.04 livecd now. (no chinese input method)
The following problems output while i want to fix the grub:( I once fixed grub in the same circumstance, and successed , but fail this time)
grub > root (hd0,
Error 21: Selected disk does not exist
but the output of fdisk -l is :
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ c W95 FAT32 (LBA)
/dev/sda2 1217 9590 67264155 f W95 Ext'd (LBA)
/dev/sda3 3649 6080 19535008+ b W95 FAT32
/dev/sda5 1217 2104 7132797 83 Linux
/dev/sda6 2105 3436 10699258+ 83 Linux
/dev/sda7 3437 3648 1702858+ 82 Linux swap / Solaris
/dev/sda8 6081 9590 28194043+ b W95 FAT32
and when i use the gparted, which showes the whole hard disk unallocated
so I want to re-install ubuntu again, but in the 4th step, partation steps, which also showes a whole hard disk, so i can not continue.
But I can mount the above partation sda5(/) and sda6(home),and the files seems ok.
root@ubuntu:/# grub-install /dev/sda5
/dev/sda5: Not found or not a block device.
root@ubuntu:/# grub-install /dev/sda
/dev/sda: Not found or not a block device.
root@ubuntu:/# grub-install hd0
/dev/sda8: Not found or not a block device.
I am using the ubuntu 7.04 livecd now. (no chinese input method)
The following problems output while i want to fix the grub:( I once fixed grub in the same circumstance, and successed , but fail this time)
grub > root (hd0,
Error 21: Selected disk does not exist
but the output of fdisk -l is :
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ c W95 FAT32 (LBA)
/dev/sda2 1217 9590 67264155 f W95 Ext'd (LBA)
/dev/sda3 3649 6080 19535008+ b W95 FAT32
/dev/sda5 1217 2104 7132797 83 Linux
/dev/sda6 2105 3436 10699258+ 83 Linux
/dev/sda7 3437 3648 1702858+ 82 Linux swap / Solaris
/dev/sda8 6081 9590 28194043+ b W95 FAT32
and when i use the gparted, which showes the whole hard disk unallocated
so I want to re-install ubuntu again, but in the 4th step, partation steps, which also showes a whole hard disk, so i can not continue.
But I can mount the above partation sda5(/) and sda6(home),and the files seems ok.
root@ubuntu:/# grub-install /dev/sda5
/dev/sda5: Not found or not a block device.
root@ubuntu:/# grub-install /dev/sda
/dev/sda: Not found or not a block device.
root@ubuntu:/# grub-install hd0
/dev/sda8: Not found or not a block device.