Solved

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

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

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 118
ID: 41862248
this is

 /etc/default/grub

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

Expert Comment

by:gheist
ID: 41862873
boot with previous kernel?
0
 
LVL 118
ID: 41862888
Thanks for reply, I'll try and report back tomorrow.
0
 
LVL 118
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 23

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 118
ID: 41863845
that's what it is...
0
 
LVL 61

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 118
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 61

Expert Comment

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

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 118
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 61

Expert Comment

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

Accepted Solution

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

Author Closing Comment

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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now