Disabling Overlayroot (HowTo)

Zululander

New Member
Joined
Apr 24, 2024
Messages
25
Reaction score
5
Credits
209
I installed overlayroot and then added "overlayroot="tmpfs" to /etc/overlayroot.conf and rebooted.

I needed to make some system updates so tried rolling it back by commenting out overlayroot="tmpfs" in /etc/overlayroot.conf and then running "sudo update-initramfs -u".

When I did this however, I go the following output:

Code:
update-initramfs: Generating /boot/initrd.img-6.9.3-76860903-generic
cryptsetup: ERROR: Couldn't resolve device overlayroot
cryptsetup: WARNING: Couldn't determine root device
W: Couldn't identify type of root file system for fsck hook
kernelstub.Config: INFO Looking for configuration ...
kernelstub: INFO System information:
OS: Pop!_OS 22.04
Root partition: /home/sysadmin/overlayroot
Root FS UUID: ...
ESP Path: /boot/efi
ESP Partition: /dev/sda1
ESP Partition #: 1
NVRAM entry #: -1
Boot Variable #: 0000
Kernel Boot Options: quiet loglevel=0 systemd.show_status=false splash
Kernel Image Path: /boot/vmlinuz-6.9.3-76060903-generic
Initrd Image Path: /boot/initrd.img-6.9.3-76060903-generic
Force-overwrite: False
kernelstub.Installer: INFO Copying Kernel into ESP
kernelstub.Installer: INFO Copying initrd.img into ESP
kernelstub.Installer: INFO Setting up loader.conf configuration
kernelstub.Installer: INFO Making entry file for Pop!_OS
kernelstub.Installer: INFO Backing up old kernel
kernelstub.Installer: INFO No old kernel found, skipping

Then on rebooting the machine, it boots to the following prompt:

Code:
BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3.1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _

Before I rebuild the machine again (this has happend to me twice), how do I prevent this from happening again when I try repeat the process?
 


Top