On 10/09/2010 12:36 PM, Fatih Tümen wrote:

2. I accidentally ran grub-install /dev/sda instead of /dev/hda

If you still actually have an 'hda' then you should start using the new
disk drivers in the kernel "CONFIG_ATA" section rather than the older
and deprecated "CONFIG_IDE" section.

That will make all of your /dev/hd* devices become /dev/sd* instead.  This
may have nothing to do with your current problem, but it's time to make the
change in any case.  (You will need to make appropriate changes in fstab.)

grub>  setup  --stage2=/boot/grub/stage2 --prefix=/grub (hd1)
Error 21: Selected disk does not exist

What choices does grub show you when you type "root (hd" and then hit
TAB?  That should list all hard disks that your BIOS knows about.  The
list will change, of course, depending on whether your USB disk is plugged
in (and working) or not.  (grub always refers to 'hd' and never 'sd', which
I'm sure you already know :)

I'm not using the dreaded 'hardware' word yet, though I'm suspicious.

When you tested the drive on the other machine, did you use a different
USB cable?

Will fdisk read and recognize the partition table on the USB disk? If fdisk
results in disk read errors then I'd begin to think more about 'hardware' :(




Reply via email to