| 32 | |
| 33 | == Installing packages === |
| 34 | |
| 35 | You can install any debian package, but remember to run: |
| 36 | |
| 37 | {{{ |
| 38 | apt-get update |
| 39 | }}} |
| 40 | |
| 41 | The apt cache is not populated already. |
| 42 | |
| 43 | == Mounting filesystems == |
| 44 | |
| 45 | debirf should discover all logical volumes, so mounting a logicaly volume can be accomplished with: |
| 46 | |
| 47 | {{{ |
| 48 | mount /dev/mapper/path-to-volume /mnt |
| 49 | }}} |
| 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: |
| 56 | {{{ |
| 57 | mount /dev/mapper/vg_leslie0-root /mnt |
| 58 | mount /dev/mapper/vg_leslie0-var /mnt/var |
| 59 | mount /dev/mapper/vg_leslie0-tmp /mnt/tmp/ |
| 60 | mount /dev/mapper/vg_leslie0-srv /mnt/srv |
| 61 | }}} |
| 62 | * Mount special filesystems |
| 63 | {{{ |
| 64 | for fs in dev proc sys; do mount -o bind /dev/$fs /mnt/$fs; done |
| 65 | }}} |