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-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4facbc30.9070...@homeurl.co.uk