Welcome to the Linux Foundation Forum!

Issue booting in single user mode

I've tried two methods to get into single user mode: rd.break and rw init=/sysroot/bin/sh. Both leave me with a flashing cursor only after pressing ctrl-x. I'm new to linux so I'm sure I missed something.

Lab 4.1
CentOS 8

Answers

  • lee42x
    lee42x Posts: 320
    edited October 18

    Hi, I verified the documentation and all seems to work, however, lets see if we can sort the issue.

    • when changing the "init" program try adding only ** init=/bin/bash** to the command line.
    • when adding rd.break to the kernel line there is not a lot of commands but echo,cat and sed should be available along with journalctl .
    • Please select a "distribution" kernel not a locally compiled one, here is an example that I used:
      CentOS Linux (4.18.0-147.5.1.el8_1.x86_64) 8 (Core)

    Regards Lee

Categories

Upcoming Training