Changes between Version 1 and Version 2 of install_xen_domU


Ignore:
Timestamp:
Sep 4, 2007, 5:14:28 PM (12 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_xen_domU

    v1 v2  
    3030
    3131Then exit. To get rid of the login screen and return to the dom0, hit ctrl-].
     32
     33Then, ssh into the server and format the disks:
     34
     35{{{
     36mkfs -t ext3 /dev/sda3
     37mkfs -t ext3 /dev/sda4
     38mkfs -t ext3 /dev/sda5
     39}}}
     40
     41Switch the /var partition to the one you just created:
     42
     43{{{
     44mkdir /mnt/var.temp
     45mount /dev/sda3 /mnt/var.temp
     46cp --preserve -r /var/* /mnt/var.temp
     47umount /mnt/var.temp
     48mv /var /var.orig; mkdir /var; mkdir /var; mount /dev/sda3 /var
     49rm -rf /var.orig
     50rmdir /mnt/var.temp
     51}}}
     52
     53Do the same for usr:
     54{{{
     55mkdir /mnt/usr.temp
     56mount /dev/sda4 /mnt/usr.temp
     57cp --preserve -r /usr/* /mnt/usr.temp
     58umount /mnt/usr.temp
     59mv /usr /usr.orig; mkdir /usr; mount /dev/sda4 /usr
     60rm -rf /usr.orig
     61rmdir /mnt/usr.temp
     62}}}
     63
     64
     65Then, add the following lines to fstab:
     66
     67{{{
     68/dev/sda3     /var     ext3     defaults   0     2
     69/dev/sda4     /usr     ext3     defaults   0     2
     70/dev/sda5     /srv    ext3     defaults   0     2
     71}}}
     72
     73Then, mount the last filesystem:
     74
     75{{{
     76mount /srv
     77}}}