Solved

Linux Ubuntu - Gave up waiting for root device. ALERT! /dev/sda1 does not exist

Posted on 2016-10-27
16
161 Views
Last Modified: 2016-11-01
The version of Linux Ubuntu is:-

Linux version 4.4.0-38-generic (buildd@lgw01-22) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #57~14.04.1-Ubuntu SMP Tue Sep 6 17:20:43 UTC 2016

After booting with LiveCD, in rescue Mode, /dev/sda is present, /dev/sda1 and /dev/sda5 partitions are valid. /etc/fstab are valid. Grub rewritten.

Boots with GRUB, and then later...

Ubuntu.jpg
0
Comment
  • 9
  • 5
  • 2
16 Comments
 
LVL 25

Expert Comment

by:Dr. Klahn
ID: 41862047
What is in ...

(if the GRUB in use is GRUB) /boot/grub/grub.conf ?
(if the GRUB in use is GRUB2) /etc/default/grub and /boot/grub/grub.cfg /  /boot/grub/grub.conf?
0
 
LVL 119
ID: 41862248
this is

 /etc/default/grub

grub2.jpg
other's coming..
0
 
LVL 62

Expert Comment

by:gheist
ID: 41862873
boot with previous kernel?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 119
ID: 41862888
Thanks for reply, I'll try and report back tomorrow.
0
 
LVL 119
ID: 41863659
@gheist

There is no previous kernel.

If I Boot into Recovery Mode with Ubuntu...I still get a Gave up waiting for root device.

@Dr. Klahn

there is no  /boot/grub/grub.conf?

but this is the  /boot/grub/grub.cfg

grub1a.jpggrub1b.jpggrub1c.jpggrub1d.jpggrub1e.jpg grub1f.jpggrub1g.jpggrub1h.jpggrub1i.jpggrub1j.jpg
0
 
LVL 25

Expert Comment

by:Dr. Klahn
ID: 41863665
The grub config file seems to be ... ah ... a bit complex.  This is well beyond my own experience with Debian, where the grub config file might be 20 lines or so.
0
 
LVL 119
ID: 41863845
that's what it is...
0
 
LVL 62

Expert Comment

by:gheist
ID: 41864234
You need to generate grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg

and try older boot option, they must have good kernel and initrd.
0
 
LVL 119
ID: 41864275
and try older boot option, they must have good kernel and initrd.

tried that, still not working.

We will try, generating the grub.cfg.
0
 
LVL 62

Expert Comment

by:gheist
ID: 41864352
What changed since system last booted?
0
 
LVL 119
ID: 41864385
nothing....working one day, and broken the next.
0
 
LVL 62

Expert Comment

by:gheist
ID: 41864420
Try to run fsck from install media
In theory you should be able to mount whole installation, chroot to it rebuild initrd for all kernels and rebuild grub configurations.
0
 
LVL 119
ID: 41864554
yes, we can mount, the existing installation from recovery media, this is how we produced, and listed the grub files.

we will generate new grub.cfg as above but this will be next week (Monday now)
0
 
LVL 62

Expert Comment

by:gheist
ID: 41864567
Also run update-initramfs (-c/-u) to rebuild initial disk with e.g. boot driver...
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 0 total points
ID: 41868468
sudo apt-get do-release upgrade solved it to my surprise!
0
 
LVL 119

Author Closing Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
ID: 41868470
Upgrading to Ubuntu 16.04 LTS solved the issue.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question