ehowton (ehowton) wrote,
ehowton
ehowton

Rescue Mode Mapping


tty1:Rescue# mount /dev/sda1 /mnt

- else -

tty1:Rescue# pvs (sometimes lvm pvscan)
tty1:Rescue# vgs (sometimes lvm vgscan)
tty1:Rescue# lvs (sometimes lvm lvscan) (sometimes lvm lvs --all)

tty1:Rescue# vgchange -a y [vg]

tty1:Rescue# mount /dev/system/rootlv /mnt
tty1:Rescue# mount /dev/system/usrlv /mnt/usr
tty1:Rescue# mount /dev/system/optlv /mnt/opt
tty1:Rescue# mount /dev/system/varlv /mnt/var (optional)

For more programs to run, keep going:

tty1:Rescue# mount /dev/sxx1 /mnt/boot

tty1:Rescue# mount --bind /dev /mnt/dev
tty1:Rescue# mount --bind /proc /mnt/proc
tty1:Rescue# mount --bind /sys /mnt/sys
tty1:Rescue# mount --bind /run /mnt/run

chroot /mnt

Tags: linux
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments