Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dracut: enter shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
krotuss
Apprentice
Apprentice


Joined: 01 Aug 2008
Posts: 252

PostPosted: Sat Jun 14, 2025 4:58 pm    Post subject: dracut: enter shell Reply with quote

Hi, how can I enter dracut shell at boot? I have tried rd.break on kernel cmd line, but that did not worked (hallucination?). There is recovery option for installed kernels in grub, but that enters shell after dracut finishes its job. I was able to successfully enter dracut shell by breaking rootflags=subvol parameter and do what I wanted to do (modprobe ext4) but was not able to successfully continue boot from there. What I am supposed to do in emergency shell (where to mount rootfs) to be able to continue boot?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10797
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jun 15, 2025 6:06 pm    Post subject: Reply with quote

That should be the rd.shell kernel command line option. This drops to the shell if mounting the root filesystem fails, which should allow you to load whatever drivers you need. Simply exiting the shell should retry the mount. See
Code:
man dracut.cmdline
for details.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »