Home » Questions » Computers [ Ask a new question ]

Ubuntu error "Gave up waiting for root device" on 9.10 Netbook Remix

Ubuntu error "Gave up waiting for root device" on 9.10 Netbook Remix

So I installed Ubuntu Netbook Remix 9.10 onto my Asus EeePC 1008HA netbook.

Asked by: Guest | Views: 373
Total answers/comments: 2
Guest [Entry]

"I think it's quite similar to this (Deleted a partition, now getting 'Gave up waiting for suspend/resume device' message during boot).

I gave the answer below as it worked for me.

In my case, the boot message looked like this. The swap partition was deleted.

Gave up waiting for suspend/resume device
/dev/sda4 ... ...

[***] A start job is running for dev-disk-by\...\...\...\.device
...
...
...

First, look at the content of your fstab file,

cat /etc/fstab

will return this kind of output

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=8c1977eb-ac90-426b-bc9b-a7fb2ec8d760 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=00fd67-123DE-4b98-aa17-2d4025aed54 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0

Then you notice , ""swap was on /dev/sdax during installation"".

Recreate the deleted partition (fdisk or Gparted for instance), then
use this command to find the new uuid of the partition.

ls -l /dev/disk/by-uuid/

This outputs:

total 0
lrwxrwxrwx 1 root root 10 févr. 19 07:18 00151dcd-2bf5-4b98-aa17-8f40ef4cfd86 -> ../../sda4
lrwxrwxrwx 1 root root 10 févr. 19 07:18 6C5A1AC45A1A8B4A -> ../../sda2
lrwxrwxrwx 1 root root 10 févr. 19 07:18 8c1977eb-ac90-426b-bc9b-a7fb2ec8d760 -> ../../sda3
lrwxrwxrwx 1 root root 10 févr. 19 07:18 C064106664106188 -> ../../sda1

Update your fstab with the correct uuid that were displayed by the last command by copy/pasting the adequate uuid of the swap in the fstab file.
Then reboot, It should correct the problem."
Guest [Entry]

I was able to boot by changing the root=UUID=... to root=/dev/sda1. after looking at /etc/fstab the UUID is the same as the one displayed on the shell when the system failed to boot