PDA

View Full Version : [ubuntu] Error: no such device $UUID



Macamba
December 9th, 2011, 02:04 PM
Hi,

I had some custom configured software in 11.04. So I was not eager to update to 11.10. Today I had an update of software. Something to do with energy saving applications. I was downloading something and went afk. After a while I came back to a customary black screen, moved my mouse to awake it, and nothing happened. So I rebooted my system, and got an:
"error: no such device: $UUID
grub rescue> _"
This meant I also had no access to my Windows partitions (*blush*).

I thought something might have gone wrong, lets try to get it right using my live CD. The first thing I noticed was I could not access the partitions on my hard drive. Next the Live CD asked if I wanted to upgrade. I started the upgrade as I thought I could always get the partitions working again during installation. But no luck. I had not enough space left on my boot partition. So now I'm downloading the Live CD for 11.10 (assuming my current Ubuntu partition is lost for ever) using my MacBook pro.

Anyway. Anyone know how I can get access to the partitions on my harddrive? I need to move my documents and mailbox to a save place (e.g. backup).

Macamba

Macamba
December 9th, 2011, 02:12 PM
To complicate matters, if I try to boot the Live CD I burned on my MacBook Pro I get the same error. (*Gruble*) Must be the wrong format used while burning the CD. #-o

Macamba
December 9th, 2011, 02:30 PM
The plot thickens. Using the Live CD 11.04 I did a "ls -l /dev/disk/by-label/" in a terminal window, and my hard drive was not recognised. I see my external HD, ready to receive the backup of Windows files" and the CD containing Live CD, but no HD.

Is it time to "run in circles, scream and shout"? :confused:

mikejonesey
December 9th, 2011, 02:54 PM
sounds like a hardware fault?

udevadm info -a -n sda | less

typhoon_tip
December 9th, 2011, 02:55 PM
The plot thickens. Using the Live CD 11.04 I did a "ls -l /dev/disk/by-label/" in a terminal window, and my hard drive was not recognised. I see my external HD, ready to receive the backup of Windows files" and the CD containing Live CD, but no HD.

Is it time to "run in circles, scream and shout"? :confused:

Terribly sound like a dead HD to me... How old is (was...) it ?

Macamba
December 9th, 2011, 03:02 PM
As old as my computer. 5 Years?

typhoon_tip
December 9th, 2011, 03:04 PM
As old as my computer. 5 Years?

Is not the MacBook, rite ? If not, then go into the BIOS and run an HD full diagnostic (it should have this utility).

On the bright side, if is a Desktop, might be a bad SATA cable (have that before many times).

Macamba
December 9th, 2011, 03:11 PM
udevadm info -a -n sdb | less

I used sdb as sda is a second (older) HD I use.

I got things like

looking at device '/devices/pci0000:00/00000:12.0/host2/target2:0:0/2:0?0?0?0/block/sdb':
KERNEL=="sdb"
SUBSYSTEM=="block"

etc.

I did the same in a separate terminal window for sda (the older HD) and got more or less the same output (differing for instance in the ATTR{model}'s: primary==SAMSUNG HD753LJ, secondary==Maxtor 6Y080L0

What next? Is this a sign my primary HD is alive?

mikejonesey
December 9th, 2011, 03:23 PM
yep, this means udev can find your disk... the point of the above command is it shows all kernel modules loaded from the disk to the kernel... (path through pci/scsi...) do they all have modules loaded, can you manualy mount /dev/sdb1 /mnt?

Macamba
December 9th, 2011, 03:27 PM
sudo mount /dev/sdb1 /mnt
mount: special device /dev/sdb1 does not exist


:confused:

Macamba
December 9th, 2011, 03:36 PM
Is not the MacBook, rite ? If not, then go into the BIOS and run an HD full diagnostic (it should have this utility).

On the bright side, if is a Desktop, might be a bad SATA cable (have that before many times).

I'm in the CMOS Setup Utitliy in the IDE Configuration. My Primary IDE Master is my Atapi CDrom, my Primary IDE Slave is the Maxtor HD, probably sda (82 GB). My Third IDE Master is the Samsung I got with the computer, which is probably sdb (750 GB).

Where does one find the HD full diagnostic you mentioned?

mikejonesey
December 9th, 2011, 04:55 PM
check the disk via bios util as typhoon suggests, if this says it's ok then you need to set some extra udev rules and it will be found again, or perhaps you have just messed up the partition table? do you have a backup?

sudo fdisk /dev/sdb

then "p" to print the partition list...

there are also tools to guess your partition structure...

Macamba
December 11th, 2011, 11:11 AM
Today I got it working again. Don't ask me why, without doing anything, except maybe giving my system a days rest, but today it booted as normal.

:popcorn:

typhoon_tip
December 12th, 2011, 03:15 AM
Today I got it working again. Don't ask me why, without doing anything, except maybe giving my system a days rest, but today it booted as normal.

:popcorn:

Don't rest on it, check SMART records with Disk Utility of Ubuntu, and see the health of the Hard Drive. Sound very like a SATA cable problem to me still.

mikejonesey
December 14th, 2011, 05:46 PM
yes this sounds like a bad sata cable, more common in pc/servers...