Hi, Am Sonntag, 23. März 2014, 05:21:41 schrieb David Haller:
Basically:
# mount /dev/sdXY /mnt ### where /dev/sdXY is your /-dev for ### the "to be repaired" system, use ### lsssci/fdisk -l etc. to find the dev # mount --bind /dev /mnt/dev # mount --bind /proc /mnt/proc # mount --bind /sys /mnt/sys # cd /mnt # chroot /mnt [.. do stuff in the chroot like grub-install etc. ..]
Including: mount -a # to make sure the boot partition is mounted - if /boot is on a # separate partition
[in chroot]# exit [back in rescue] # umount /mnt/proc /mnt/sys /mnt/dev ### could be you have to split ### that up # sync; sync; ### just to be safe # umount /mnt
And you should be done.
Schöne Grüße aus Bremen hartmut -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org