Howto / Linux
rescue a linux installation root password or grub
Author: Katrame
Visits: 1796
Date: 24.09.2007
There are two typical scenario we will recover using a live cd like knoppix or other "live" distro:
1) grub corrupted
2) root password lost
For both there are the "live distro" way, for the second one there's a specific alternative mode,
named "single mode".
The first one (live distro):
get a live distro iso and burn (for ex. knoppix or rescuecd), this howto don't cover this steps, after that you boot in your new environment.
open a terminal and strike these commands as root:
#mkdir /rescue
#mount /dev/sda1 /rescue
#chroot /rescue
this will mount your /, and you will be able to edit and make changes where you prefer.
Author: Katrame
Visits: 1796
Date: 24.09.2007
1) grub corrupted
2) root password lost
For both there are the "live distro" way, for the second one there's a specific alternative mode,
named "single mode".
The first one (live distro):
get a live distro iso and burn (for ex. knoppix or rescuecd), this howto don't cover this steps, after that you boot in your new environment.
open a terminal and strike these commands as root:
#mkdir /rescue
#mount /dev/sda1 /rescue
#chroot /rescue
this will mount your /, and you will be able to edit and make changes where you prefer.
Page 1 of 3
>>
Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

