?
Solved

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

Posted on 2016-10-27
16
Medium Priority
?
1,117 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 31

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 125
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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

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

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 125

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

Independent Software Vendors: 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!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

621 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