Solved

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

Posted on 2016-10-27
16
250 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 27

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 120
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 120
ID: 41862888
Thanks for reply, I'll try and report back tomorrow.
0
 
LVL 120
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 27

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 120
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 120
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 120
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 120
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 120

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 120

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 114
Moving from Mcrypt to OpenSSL 18 66
how to include conditional log rotate in liunx. 17 72
check the file dates in unix 14 29
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

733 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