On 05/14/2012 02:01 AM, Tom H wrote:
On Fri, May 11, 2012 at 9:46 AM, Indulekha<indule...@theunworthy.com> wrote:
8< snip I'm sorry if I cut too deeply last time
So when you install grub and boot, if possible make sure no other usb
disks are plugged in and see how that goes.
There are no other non-optical storage devices connected at all, no USB
no SATA no IDE & I'll leave it that way until I've fixed this.
If I run
ls -la /dev/disk/by-path/
total 0
drwxr-xr-x 2 root root 80 May 13 21:30 .
drwxr-xr-x 6 root root 120 May 13 21:30 ..
lrwxrwxrwx 1 root root 9 May 14 01:43 pci-0000:00:12.2-usb-0:6:1.0-scsi-0:0:0:0
-> ../../sda
lrwxrwxrwx 1 root root 10 May 14 01:30
pci-0000:00:12.2-usb-0:6:1.0-scsi-0:0:0:0-part1 -> ../../sda1
ls -la /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 160 May 13 21:30 .
drwxr-xr-x 6 root root 120 May 13 21:30 ..
lrwxrwxrwx 1 root root 9 May 14 01:43 ata-ST1000LM010-9YH146_Z110VXRS ->
../../sda
lrwxrwxrwx 1 root root 10 May 14 01:30 ata-ST1000LM010-9YH146_Z110VXRS-part1
-> ../../sda1
lrwxrwxrwx 1 root root 9 May 14 01:43 scsi-SSeagatePortable -> ../../sda
lrwxrwxrwx 1 root root 10 May 14 01:30 scsi-SSeagatePortable-part1 ->
../../sda1
lrwxrwxrwx 1 root root 9 May 14 01:43 wwn-0x5000c500464bb542 -> ../../sda
lrwxrwxrwx 1 root root 10 May 14 01:30 wwn-0x5000c500464bb542-part1 ->
../../sda1
grub-install /dev/disk/by-id/scsi-SSeagatePortable
Installation finished. No error reported.
update-grub
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
Then I reboot and go back to the grub> prompt and have to run
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
to get the system started
+1 for the number of disks plugged.
UUIDs aren't of any use when installing grub to the MBR because
they're a property of the filesystem and not the disk. You might be
able to use "/dev/disk/by-id/..." instead of "/dev/sdX", at least in
more recent grub versions.
I've passed grub-install all three of the ids listed above and /dev/sda
but so far none of them worked.
Any other ideas?
Thanks for all your help.
--
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/4fb09f3f.6010...@homeurl.co.uk