Changes between Version 2 and Version 3 of debirf-boot-on-kvm-guest
- Timestamp:
- Feb 9, 2012, 5:23:57 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
debirf-boot-on-kvm-guest
v2 v3 49 49 }}} 50 50 51 == chroot == 52 53 If you want to operate in a chroot environment, you might try something like this: 54 55 * Mount the main partition: 51 For example: 52 56 53 {{{ 57 54 mount /dev/mapper/vg_leslie0-root /mnt … … 60 57 mount /dev/mapper/vg_leslie0-srv /mnt/srv 61 58 }}} 62 * Mount special filesystems 59 60 == chroot == 61 62 If you want to operate in a chroot environment, you will also need to mount some special filesystems: 63 63 64 {{{ 64 for fs in dev proc sys; do mount -o bind / dev/$fs /mnt/$fs; done65 for fs in dev proc sys; do mount -o bind /$fs /mnt/$fs; done 65 66 }}} 67 68 Then: 69 {{{ 70 chroot /mnt 71 }}}