Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #265486
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Re: Rescue mode when root account locked |
| Date | 2024-01-04 04:20 +0100 |
| Message-ID | <HSmqZ-DMB-1@gated-at.bofh.it> (permalink) |
| References | <HSmhj-DCN-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jan 03, 2024 at 08:44:16PM -0600, Larry Tyree wrote: > What do I do with no access to another computer? The original Subject: line says "Rescue mode when root account locked". Putting the Subject: and the body together, I conclude that the question is "How do I enter rescue mode when there is no root password set?" One way is to boot with your installation medium. It'll probably offer you some way to "rescue" your installed system. Some menu option, most likely. Another way is to use your boot loader to add "init=/bin/bash" to the kernel parameters. This should give you a root shell on a root file system that's mounted read-only. Do an fsck on the root file system, then remount it read-write, then set the root password, sync, remount it read-only, reboot, and you should be able to enter rescue mode using your newly set password. If any of the file systems are encrypted, then I can't help. I've never dealt with that.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Re: Rescue mode when root account locked Larry Tyree <tyreelarry082@gmail.com> - 2024-01-04 04:10 +0100 Re: Re: Rescue mode when root account locked Greg Wooledge <greg@wooledge.org> - 2024-01-04 04:20 +0100 Re: Re: Rescue mode when root account locked Jeffrey Walton <noloader@gmail.com> - 2024-01-04 11:10 +0100
csiph-web