Re: Wheezy USB Harddrive install grub2 issues
- From: Indulekha <indulekha@xxxxxxxxxxxxxxx>
- Date: Fri, 11 May 2012 05:57:00 -0500
On Fri, May 11, 2012 at 03:13:52PM +0800, Bob wrote:
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.
When I turn my PC on I end up at the grub> prompt & if I folow the
instructions on the page above & type
linux /vmlinuz root=/dev/sda1 ro
the system boots. once booted I run one of the commands below & reboot
grub-install --root-directory=/ /dev/sda
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
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
root@USBHDebian:~# ls -la /dev/disk/by-id/
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
root@USBHDebian:~# grub-install --root-directory=/ /dev/sda
Installation finished. No error reported.
Any help would be greatly appreciated.
Thank you for your time.
Probably want to skip that "--root-directory" option, unless you're
trying to avoid the mbr for some valid reason...
Might want to stick with genuine Debian documentation, too, unless
you're actually running Ubuntu...
❤ ♫ ❤ ♫ ❤ ♫ ❤
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: Wheezy USB Harddrive install grub2 issues
- Next by Date: 各類廠商存貨 貨辦 倉底貨 碼頭櫃貨 退港貨等
- Previous by thread: Wheezy USB Harddrive install grub2 issues
- Next by thread: Re: Wheezy USB Harddrive install grub2 issues