Changes between Version 1 and Version 2 of debirf-boot-on-kvm-guest


Ignore:
Timestamp:
Feb 9, 2012, 12:20:22 PM (10 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debirf-boot-on-kvm-guest

    v1 v2  
    1111Login as root (with no password).
    1212
     13== Root password ==
     14
     15If you are planning on turning on networking, it's a good idea to set a root password first:
     16
     17{{{
     18passwd
     19}}}
     20
    1321== Networking ==
    1422
     
    2230echo "nameserver 216.66.23.46" > /etc/resolv.conf
    2331}}}
     32
     33== Installing packages ===
     34
     35You can install any debian package, but remember to run:
     36
     37{{{
     38apt-get update
     39}}}
     40
     41The apt cache is not populated already.
     42
     43== Mounting filesystems ==
     44
     45debirf should discover all logical volumes, so mounting a logicaly volume can be accomplished with:
     46
     47{{{
     48mount /dev/mapper/path-to-volume /mnt
     49}}}
     50
     51== chroot ==
     52
     53If you want to operate in a chroot environment, you might try something like this:
     54
     55 * Mount the main partition:
     56{{{
     57mount /dev/mapper/vg_leslie0-root /mnt
     58mount /dev/mapper/vg_leslie0-var /mnt/var
     59mount /dev/mapper/vg_leslie0-tmp /mnt/tmp/
     60mount /dev/mapper/vg_leslie0-srv /mnt/srv
     61}}}
     62 * Mount special filesystems
     63{{{
     64for fs in dev proc sys; do mount -o bind /dev/$fs /mnt/$fs; done
     65}}}