Posted about 1 year ago. Visible to the public.

Linux rescue

In grub menu select autoline and press e. Find the line which is started with linux and append

Copy
init=/bin/sh

to the end of this. After you will boot it (Ctrl-x), you will get a root shell immediately. But the filesystme will be in the readonly mode. To fix it execute:

Copy
mount -o remount, rw /

Owner of this card:

Avatar
leonidv
Last edit:
5 months ago
by leonidv
Tags:
linux
Posted by leonidv to Leonid's cards
This website uses short-lived cookies to improve usability.
Accept or learn more