View previous topic :: View next topic |
Author |
Message |
krotuss Apprentice

Joined: 01 Aug 2008 Posts: 252
|
Posted: Sat Jun 14, 2025 4:58 pm Post subject: dracut: enter shell |
|
|
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 |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10797 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Jun 15, 2025 6:06 pm Post subject: |
|
|
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. Seefor details.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
|