Solved

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

Posted on 2016-10-27
16
397 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 5
  • 2
16 Comments
 
LVL 28

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 121
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

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

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

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 121

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

696 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