Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:xen [2015/07/29 00:40] – [XEN Debian 8 appliance] darrontools:xen [2016/07/21 18:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ==== XEN Debian 8 appliance ==== ==== XEN Debian 8 appliance ====
  
-Download the net install [[http://without-systemd.org/wiki/images/debian-testing-amd64-netinst.iso|ISO]] and create bootable CD or flash drive.+This installation process demonstrates how to set up Xen on debian. It doesn't go into 
 +great detail and only gives general overview.
  
-Alternatively, you may install Jessie then remove and replace systemd after installation.+We first install [[http://cdimage.debian.org/debian-cd/|Debian 8]] with an official CD image and then remove and replace systemd after installation.
  
 === Debian 8 installation === === Debian 8 installation ===
Line 25: Line 26:
  
 The next step is partitioning. Initially we choose Guided partitioning and after edit the automatic choice for the root partition. The next step is partitioning. Initially we choose Guided partitioning and after edit the automatic choice for the root partition.
 +
 +If you prefer you can choose Manual partitioning. In manual mode you may set up software RAID before creating a volume group and the volumes within it.
 +
 <code> <code>
 Guided Partitioning - use entire disk and set up LVM Guided Partitioning - use entire disk and set up LVM
Line 106: Line 110:
 </code> </code>
  
-=== Debian sysvinit ===+=== Debian sysvinit === 
 Login and replace systemd with sysvinit. Login and replace systemd with sysvinit.
  
 +This process may also be applied to any virtual machines other than domain 0.
 +
 +<code>
 apt-get install sysvinit-core sysvinit sysvinit-utils apt-get install sysvinit-core sysvinit sysvinit-utils
 +</code>
  
-Configure sshd root login (if required). +If this is a VM, configure the following. 
-Configure inittab getty hvc0 (if this is a VM).+ 
 +    - sshd root login (if required) 
 +    inittab getty hvc0 (1:2345:respawn:/sbin/getty 38400 hvc0)
  
 Now reboot, login again and finish the job off. Now reboot, login again and finish the job off.
  
-apt-get remove --purge --auto-remove systemd 
 <code> <code>
 +apt-get remove --purge --auto-remove systemd
 /bin/echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd /bin/echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd
 /bin/echo -e '\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd /bin/echo -e '\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
Line 269: Line 280:
 === XEN LVM disk maintenance === === XEN LVM disk maintenance ===
  
-If we shut down a VM we can perform disk maintenance on it'virtual disk from Domain 0.+If we shut down a VM we can perform disk maintenance on its virtual disk from Domain 0.
  
 First ensure that the target VM is off-line. Here we only have 1 VM so our output only shows Domain 0 and First ensure that the target VM is off-line. Here we only have 1 VM so our output only shows Domain 0 and
Line 382: Line 393:
 /dev/dm-1                               partition       2097148 0       -1 /dev/dm-1                               partition       2097148 0       -1
 </code> </code>
 +