Linux Ubuntu - Gave up waiting for root device. ALERT! /dev/sda1 does not exist
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...
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...
boot with previous kernel?
ASKER
Thanks for reply, I'll try and report back tomorrow.
ASKER
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.
ASKER
that's what it is...
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.
grub-mkconfig -o /boot/grub/grub.cfg
and try older boot option, they must have good kernel and initrd.
ASKER
and try older boot option, they must have good kernel and initrd.
tried that, still not working.
We will try, generating the grub.cfg.
What changed since system last booted?
ASKER
nothing....working one day, and broken the next.
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.
In theory you should be able to mount whole installation, chroot to it rebuild initrd for all kernels and rebuild grub configurations.
ASKER
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)
we will generate new grub.cfg as above but this will be next week (Monday now)
Also run update-initramfs (-c/-u) to rebuild initial disk with e.g. boot driver...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Upgrading to Ubuntu 16.04 LTS solved the issue.
(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?