sudoedit.com!

RHEL 7 / CentOS 7 single user mode

Single User Mode

For RHEL 7/CentOS 7

rd.break method

Interrupt boot at grub using the e key. Append rd.break to the end of the kernel line

When booted to single user mode:

mount -o remount,rw /sysroot
chroot /sysroot

Make whatever changes you need to make the system usable.

Fix selinux labels!

touch /.autorelabel

Exit out to reboot Verify host up and working


If you found this useful please consider supporting the blog.

Fastmail

I use Fastmail to host my email for the blog. If you follow the link from this page you'll get a 10% discount and I'll get a little bit of break on my costs as well. It's a win win.


Backblaze

Backblaze is a cloud backup solution for Mac and Windows desktops. I use it on my home computers, and if you sign up using the link on this page you get a free month of service through backblaze, and so do I. If you're looking for a good backup solution give them a try!

Thanks!

Luke

#notes