Fedora Framework 12 Disk Not Found issue at boot after software update

I just received my new Framework 12 (Batch 2). I’m Fedora user so when I saw for this generation Framework had a Fedora pre-installed option I had to buy one. Overall the computer’s great, I love the flexible hinge and the keyboard.

I hit one major issue rebooting after an upgrade, and I thought I needed to make a post about to see if anyone else was seeing the same thing.

One of the first things I did with the computer was install upgrades and reboot, but the computer didn’t boot back up, it got stuck, printing error messages about a missing disk.

I was able to hold the power button to restart it, and upon reboot I could choose an older kernel image from the grub screen. This worked perfectly.

I traced down the missing disk error to /etc/kernel/cmdline, which looked like this:

root=UUID=6e33e346-9fd6-4abe-a8f6-4437ccbe008f ro rootflags=subvol=home/ngompa/Sources/forge.fedoraproject.org/forks/fedora-kiwi-descriptions/outdir4-build/build/image-root

This is not my disk or a real path, and I’m not sure how it ended up on my computer. `ngompa` is the username of a Fedora contributor, so it looks like this could be his kernel options?

Upgrading my system caused that line to get copied into my grub config, which caused the new kernel to not boot. Because I actually don’t have any disk with that UUID.

I was able to resolve the issue by editing /etc/kernel/cmdline like so (and then `sudo dnf reinstall linux-core` to rebuild everything):

root=UUID=<my disk UUID> ro rootflags=subvol=root

(Although rebooting now generates systemd log output when it didn’t before—possibly unrelated, possibly there’s a better solution, but I’m happy for now.)

I wasn’t able to find any mentions of this particular issue online, so I’m wondering if it’s specific to the Fedora-pre-installed Framework 12’s. If you have one, let me know what your /etc/kernel/cmdline looks like and whether you’ve updated yet. (These shipped with Linux 7.2.5 and the latest that I updated to is 7.2.15, see `uname -a`.)

For search, some of the error messages I hit were

Warning: /dev/disk/by-uuid/6e33e346-9fd6-4abe-a8f6-4437ccbe008f does not exist
Entering emergency mode.

Warning: Not all disks have been found.
Warning: You might want to regenerate your initramfs

2 Likes

Can we see what journalctl produces for you, per the prompt?

Just chiming in to say I encountered the same issue on my pre-built edition Laptop 12 too. I too did not find a fix.

Things I’ve tried include trying to rebuild the config with dracut.

My current temporary workaround was to boot to 7.2.5 in the bootloader, uninstall the 7.2.15 kernel, and exclude further kernel updates by editing /etc/dnf/dbf.conf.

1 Like

@Squiggler I’m not sure what prompt you mean. I checked journalctl but there isn’t any output from the failing boot attempts (only the reboot before and the successful old-kernel boot after). (Since it can’t find the disk it can’t write logs, I imagine.) Is there something in particular you’re looking for? Did you see my picture-of-the-screen during the failed boot?

@DangerAspect I’m pretty sure the /etc/kernel/cmdline file I mentioned is the issue (it gets copied into the grub config), and I was able to edit it to get things working. What does that file contain for you? What does it look like for someone with a DIY Fedora install? You could likely use the same solution as me if you wanted to update.

Ah, I just meant the on-screen instructions in the lower half of your screenshot. My phrasing merely indicates that it is “prompting” you to take an action. It sounds like you’ve now tried journalctl anyway.

My robot friend :robot: recommends finding an emergency shell or running a Live CD and trying this command:

lsblk -f

Perhaps you could run that and let us know what UUIDs the system can see. It looks like the one it is aware of is no longer detected or has changed its identifier.

If you wish, you can ask questions of AI too. I use Duck AI and I like it because one does not have to sign up. I am not affiliated with them, but I do use it frequently.

I see the exact same contents, but I should mention I am on a pre-built and on the factory image.

I’m batch 3. Received my Framework 12 yesterday. Booted up just great the first time, but after a restart do to updates I seem to have the exact same thing happening based on what I’m seeing in the picture you submitted. If I don’t manually switch the boot to 7.2 I’ll get this same error. This is my first linux pc and I’m enjoying it when I can actually get in on the older version, but I’m well out of my wheelhouse in trying to trouble shoot this.

1 Like

Just got my (Batch 4) Framework 12 and have the same issue. I will just stay on fedora 44 and the old kernel for now

2 Likes

Yes, I had the same issue. It’s a little frustrating as I’m new to linux and not used to the terminology or some of the basics. I’m hoping that I can fix it without things getting too technical.

Same exact issue, when updating from fedora 7.2.5 to 7.3.6 if i see correctly. I just got my laptop 12 pre-installed and i’m a total noob…

Sadly have the same issue here. When trying to update it hangs on two things on the boot screen. Job dracut-initqueue.service/start running and job dev-disk-by/x2duuid(longstring of numbers).device/start running. Have a prebuilt fw12 batch 3 iirc. Just been forcing it to run on the kernal that’s installed by default to use the machine, trying new updates when they come and getting sad when they boot up wrong again. As a total newbie to fedora (and also not the one that installed it on this) could it be the fact it’s split my drive into two partitions?

Do you need help disabling Kernel Updates(the thing that breaks it) while still being able to update the rest(staying on fedora 44 though)?

That would bw awesome, thanks a lot!!

I had the exact same issue. Managed to fix. I believe this is due to Fedora’s aggressive kernel updates rather than anything Framework has done.

First, if you can get to GRUB, and can still boot using the older kernel, you can simply set the older working kernel as default so you don’t need to manually select every time you boot.

In Konsole:

rpm -q kernel-core

Tells you which kernels are installed. Most likely the older working one and newer problematic one.

sudo grubby --default-kernel

Will show you which is currently default. For me, the working kernel was 7.2.5-200.fc44.x86-64 and the updated problematic kernel was 7.3.6-200.fc44.

So, to make the working kernel default, enter into Konsole (replace with your working version):

sudo grubby --set-default /boot/vmlinuz-7.2.5-200.fc44.x86-64

Now grub will boot to the working version by default. This might be enough if you just want the thing to work.

If you want to fix the issue so you can boot using new kernel: the problem is a UUID is being referenced for drive that doesn’t exist. You need to replace one line of code that references the non existing UUID with your actual UUID. So first, find your actual UUID.

cat /etc/fstab

Produces a list of UUID corresponding to what actually exists on your machine. The correct UUID is the one on the same line as / btrfs subvol=

It will look something like

beea006f-2033-48a2… etc.

While your failing kernel tries to reference something like

6e33e346-9fd6-4abe.. And so on

Replacing the incorrect reference (replace square brackets text with your UUID and kernel reference if different):

echo ‘root=UUID=[correct UUID] ro rootflags=subvol=root rhgb quiet’ | sudo tee /etc/kernel/cmdline

sudo grubby --update-kernel=/boot/vmlimuz-7.3.6-200.fc44.x86-64 --remove-args=“root rootflags” --args=“root=UUID=[correct UUID] rootflags=subvol=root rhgb quiet”

This worked to fix mine after I picked up my Framework last night and ran into same issue, hopefully this helps someone. You can then reset default grub selection to be the new kernel, same as I demonstrated above but obvs using new kernel reference rather than old.

I will just list the commands that I used :3 use them at your own risk(as my name suggests I am a newbie)

After a shutdown and then boot up, you should be able to choose between a few kernels. Please make a picture of the available Kernels. Do not select the following example

for example: kernel-core-7.3.6-200.fc44.x86_64

Choose the 7.2.5… Kernel option.

then we do the following

open the terminal, then you type the following commands(after researching what they do in the best case)

sudo dracut --regenerate-all --force

sudo dnf upgrade --refresh

Now you look at the picture that you , hopefully, took before and change the following command to match your Kernel.

Do NOT remove the 7.2.5… Kernel, that one still works and is your rescue!

sudo dnf remove kernel-core-7.3.6-200.fc44.x86_64

“kernel-core-7.3.6-200.fc44.x86_64” was the last kernel that I tried and had to remove

Now to make sure that you can still do normal updates without breaking fedora again, we exclude all Kernel updates. Please stay on Fedora 44 though, I have not tested trying to go to 45 and I can’t help you if you go there.

sudo dnf config-manager setopt exclude=“kernel*”

then type

reboot

After that you should just boot into the 7.2.5… Kernel. And you should be able to make updates without worries, stay off of Fedora 45 though.

I would recommend keeping kernel updates off until others have tested the latest kernel on the FW12.

For when that happens or you want to test the latest kernel again, type

sudo dnf config-manager unsetopt exclude

and then reboot to apply it.

Feel free to ask if there are any questions, or if I made any mistakes :3