My PC fails to boot up and I observe the following output on my monitor.
It seems to fail at the lines:
/dev/root: Can't open blockdev
VFS: Cannot open root device "/dev/sda2" or unknown block (0,0): error -6
/dev/sda is the main SSD drive in which the Ubuntu 24.04.1 is stored.
Is the SSD corrupted so that the op sys can't be read into RAM ?
In the hope that it wasn't that I tried to restore (via Timeshift) the previous day's state of the 24.04.1 but it just won't boot up. It seized soon into the boot-up sequence and would go no further.
$ sudo fsck -f /dev/sda2
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.
Is a new reinstall the only option other than a new SSD ?
EDIT
$ sudo fsck -V -C /dev/sda1
fsck from util-linux 2.37.2
[/usr/sbin/fsck.vfat (1) -- /dev/sda1] fsck.vfat /dev/sda1
fsck.fat 4.2 (2021-01-31)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
[123?q]? 3
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
[12?q]? 1
*** Filesystem was changed ***
The changes have not yet been written, you can still choose to leave the
filesystem unmodified:
- Write changes
- Leave filesystem unchanged
[12?q]? 1
/dev/sda1: 26 files, 5341/130812 clusters
ubuntu@ubuntu:~$ sudo fsck -V -C /dev/sda1
fsck from util-linux 2.37.2
[/usr/sbin/fsck.vfat (1) -- /dev/sda1] fsck.vfat /dev/sda1
fsck.fat 4.2 (2021-01-31)
/dev/sda1: 26 files, 5341/130812 clusters
ubuntu@ubuntu:~$ sudo fsck -V -C /dev/sda2
fsck from util-linux 2.37.2
[/usr/sbin/fsck.ext4 (1) -- /dev/sda2] fsck.ext4 -C0 /dev/sda2
e2fsck 1.46.5 (30-Dec-2021)
/dev/sda2: clean, 208346/15597568 files, 3963251/62383360 blocks
EDIT 2
Changed SSD but after reinstalling 24.04 with kernel 6.8.0-45 and then rolling back to last state before the bootup crash, I got the same boot failure and for same cause.
** So it is not disk damage. **
Ideally I would like to get the new 24.04 kernel 6.8.0-45 and then reimport all my application prpgrams and config files, etc. But I am not sure if Timeshift allows this manoeuvre.
EDIT 3
This is all a consequence of Ubuntu 24.04 having a bug in it that prevented it working properly after it was installed as an update to 22.04.4 LTS. As soon as a kernel update is done the bug kicks in.
No cure like system restoring is possible. So it's a case of a fresh install of Ubuntu 24.04 to a cleaned SSD drive and then use a backup tool like BackInTime with your backup drive to restore data files.
