Booting from hard disk...
MBR
root@rescue-pro:~# mount --bind /dev /mnt/sdb1/dev &&
mount --bind /dev/pts /mnt/sdb1/dev/pts &&
mount --bind /proc /mnt/sdb1/proc &&
mount --bind /sys /mnt/sdb1/sys
root@rescue-pro:/# chroot /mnt/sdb1/
root@rescue-pro:/# apt-get install grub
root@rescue-pro:~# grub-install /dev/sdb
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0
(hd1) /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-1
root@rescue-pro:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Generating /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-4-amd64
Updating /boot/grub/menu.lst ... done
root (hd1,0)
Error 21: selected disk does not exist
root@rescue-pro:~# e
root@rescue-pro:~# e
root (hd1,0)
root (hd0,0)
root@rescue-pro:~# b