Wheezy USB Harddrive install grub2 issues



So I ran an apt-get dist-upgrade today and it broke booting

gurb-pc wasn't updated (it was last updated on my system on the 2nd of march) linux-image-3.2.0-2-amd64 however was updated & it ran update-grub as it should.

https://help.ubuntu.com/community/Grub2#Command_Line_and_Rescue_Mode
When I turn my PC on I end up at the grub> prompt & if I folow the instructions on the page above & type

set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot

the system boots. once booted I run one of the commands below & reboot
update-grub2
grub-install --root-directory=/ /dev/sda
dpkg-reconfigure grub-pc

only to end up at the grub> prompt again.

I have nice sata removable hard drive bays so when I'm doing this the USB drive is the only drive connected to the system

root@USBHDebian:~# uname -a
Linux USBHDebian 3.2.0-2-amd64 #1 SMP Mon Apr 30 05:20:23 UTC 2012 x86_64 GNU/Linux

root@USBHDebian:~# update-grub2
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-2-amd64
Found initrd image: /boot/initrd.img-3.2.0-2-amd64
Found memtest86 image: /boot/memtest86.bin
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
done

root@USBHDebian:~# ls -la /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 160 May 10 22:40 .
drwxr-xr-x 6 root root 120 May 10 22:40 ..
lrwxrwxrwx 1 root root 9 May 11 02:40 ata-ST1000LM010-9YH146_Z110VXRS -> ../../sda
lrwxrwxrwx 1 root root 10 May 11 02:40 ata-ST1000LM010-9YH146_Z110VXRS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 May 11 02:40 scsi-SSeagatePortable -> ../../sda
lrwxrwxrwx 1 root root 10 May 11 02:40 scsi-SSeagatePortable-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 May 11 02:40 wwn-0x5000c500464bb542 -> ../../sda
lrwxrwxrwx 1 root root 10 May 11 02:40 wwn-0x5000c500464bb542-part1 -> ../../sda1
root@USBHDebian:~# cat /boot/grub/device.map
(hd0) /dev/disk/by-id/scsi-SSeagatePortable
root@USBHDebian:~# grub-install --root-directory=/ /dev/sda
Installation finished. No error reported.


Any help would be greatly appreciated.
Thank you for your time.
Best Regards
Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4FACBC30.9070704@xxxxxxxxxxxxx



Relevant Pages

  • Re: F9 Installation DVD wont boot correctly
    ... The system boots to the first screen where I am prompted to press ... enter to begin the installation. ... You are trying to hit escape prior to the grub menu. ... Therefore, if you can squeeze in an ESC prior to grub firing off all the way, you get the old boot prompt. ...
    (Fedora)
  • Re: Reboot and all I get is a grub prompt.
    ... bootup starts I get to grub and immediately a prompt rather than a ... I can type `help' and a massive flood of commands flash ... .._here_ is where you wanna tell grub about your initrd, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Wheezy USB Harddrive install grub2 issues
    ... update-grub as it should. ... When I turn my PC on I end up at the grub> prompt & if I folow the ... the system boots. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Installed FC4 all I get is grub>... Help
    ... I installed FC4 and when I boot all I get is the grub> prompt. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: No more GRUB legacy at install time since wheezy?
    ... It had a small set of options and files to tweak (compared to GRUB ... 10_*: Native boot entries. ... The number namespace in-between is configurable by system installer and/or administrator. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)