Ask Your Question

Repairing my initframs in dracut emergency mode Fedora26

asked 2017-11-11 17:08:34 -0600

ghislain gravatar image

updated 2018-11-04 03:55:48 -0600

hhlp gravatar image

I am trying to install nvidia drivers on fedora, following this tutorial :

Everything went fine till 2.7 : reboot to runlevel 3. While booting I get such warnings : "dracut-initqueue timeout -starting timeout scripts"

Finally, it starts the "dracut emergency shell". And suggests to regenerate my initramfs.

The error report says that "/dev/fedora/root does not exist" "/dev/fedora/swap does not exist" "/dev/mapper/fedora_host-004-root does not exist"

I tried to do "dracut --regenerate-all --force" but the dracut command is unknown.

Do you have an idea of how I could regenerate the initramfs or fix what I did ?

Thank you!

edit retag flag offensive close merge delete


Your problem is/was caused elsewhere. You were not supposed to replace uname by your username. (Had you done so, the command would have failed). So, that's not what happened here.

florian gravatar imageflorian ( 2017-11-11 19:39:45 -0600 )edit

Thanks, I edited my question

ghislain gravatar imageghislain ( 2017-11-12 05:12:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-11 17:50:25 -0600

sideburns gravatar image

I'm not sure, here, what you mean by "replacing uname by my user name," because what you're supposed to type is exactly what you see in the instructions: (uname -r). This is so that bash will run the command uname -r with the output of the command, which will be the exact version of the running kernel, which is what you need here. I think that you would need to edit the command line in GRUB, to boot your most recent kernel into single-user mode one time, run dracut again, with the correct arguments and try to reboot normally.

edit flag offensive delete link more


Thanks for the answer! I tried to boot in single user mode following those instructions

It didn't work. In the error report it is written that /Dev/fedora/root does not exist. As the instruction to boot in single user mode comes after the call to /Dev/fedora/root, maybe it doesn't boot in single user mode but fails before.

ghislain gravatar imageghislain ( 2017-11-11 19:24:39 -0600 )edit

Question Tools

1 follower


Asked: 2017-11-11 17:08:34 -0600

Seen: 1,757 times

Last updated: Nov 12 '17