Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] HEADS UP! for the adventurous
  • From: Hartmut Meyer <hartmut.meyer@xxxxxxxxxxxx>
  • Date: Sun, 23 Mar 2014 08:54:31 +0100
  • Message-id: <2046492.OFnRXcRLot@hhw15>
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >