60
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 05 Jan 2026
60 points (98.4% liked)
Linux
57274 readers
488 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
OP, in case you still haven't given up I think I can fill in the gaps. You got a lot of advice somewhat in the right direction but no one telling you how to actually sort it out I think.
It's likely that your
/dev/sdb2is now either missing (bad drive or cable?) or showing up with a different name.You want to update your fstab to refer to your root (and /boot and others) by UUID= instead of /dev/sdbX. It looks like you are not using full-disk encryption but if you are, there is
/etc/crypttabfor that.First off, you actually have two
/etc/fstabs to consider: One on your root filesystem and one embedded into the initramfs on your boot partition. It is the latter you need to update here since it happens earlier in the boot process and needed to mount the rootfs. It should be a copy of your rootfs/etc/fstaband gets automatically copied/synced when you update the initrams, either manually or on a kernel installation/upgrade.So what you need to do to fix this:
/etc/fstabupdate-initramfs -ukallor reinstall kernel package)You need to do this every time you do changes in fstab that need to be picked up in the earlier stages of the boot process. For mounting application or user data volume it's usually not necessary since the rootfs fstab also gets processed after the rootfs has been successfully mounted.
That step 3 is a conundrum when you can't boot!
Your two main options are a) boot from a live image, chroot into your system and fix and update the initramfs inside the chroot, or b) from inside the rescue shell, mount the drive manually to boot into your normal system and then sort it out so you don't have to do this on every reboot.
For a), I think the Debian wiki instructions are OK.
For b), from the busybox rescue shell I believe you probably won't have the
lsblkorblkidlike another person suggested. But hopefully you canls -la /dev/disk/by-uuid /dev/sd*to see what your drives are currently named and thenmount /dev/XXXX /newrootfrom there.In your case I think b) might be the most straightforward but the live-chroot maneuver is a very useful tool that might come in handy again in other situations and will always work since you are not limited to what's available in the minimal rescue shell.
Good luck!