Using a LiveCD to take over / repair an installed system
by
Published on 18-Jan-2013 14:01
Number of Views: 18071
The Repair function seems to have disappeared from the install media. It could be used to repair a lot of options on an (unbootable) installed system, to get it back in a (bootable and) working state.
This short article shows how to use a LiveCD to take over / repair an installed system. It can be used the same way as described in
https://forums.opensuse.org/content/...vd-rescue.html ,
The procedure will: Boot from LiveCD, allow you to mount your existing openSUSE installation that does not work and execute fixes on it as if it was the active system.
- Download a LiveCD and burn it to disc or USB medium. Note: if you run 32bit openSUSE, use a 32bit LiveCD, if you run 64bit openSUSE, use a 64bit LIveCD.
- Boot the system from the CD / USB disk
- Open a terminal window, and invoke the following commands
You need root permissions, the root user on the LiveCD images has no password.
Next, mount the root partition, replace X by the character, # by the numeric of your the device entry that holds your root partition ( example " /dev/sda2 "
Code:
mount /dev/sdX# /mnt
Let the installed system be aware of the available hardware
Code:
mount --bind /dev /mnt/dev
Change root to the installed system, mount /proc and /sys to make it complete
Code:
chroot /mnt
mount /proc
mount /sys
- Now you can start Yast, zypper, or whatever is needed to repair your system.
See also
https://forums.opensuse.org/content/...vd-rescue.html