<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Virtualbox_Install</id>
	<title>Virtualbox Install - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Virtualbox_Install"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Virtualbox_Install&amp;action=history"/>
	<updated>2026-05-10T15:53:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Virtualbox_Install&amp;diff=127&amp;oldid=prev</id>
		<title>imported&gt;Jeremy-busk at 01:51, 2 March 2019</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Virtualbox_Install&amp;diff=127&amp;oldid=prev"/>
		<updated>2019-03-02T01:51:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Start with base minimal install&lt;br /&gt;
&lt;br /&gt;
Install zfs&lt;br /&gt;
```&lt;br /&gt;
apt install zfsutils-linux -&lt;br /&gt;
```&lt;br /&gt;
Create tank pool - you can collapse these commands&lt;br /&gt;
```&lt;br /&gt;
zpool create -f tank mirror sdd sde mirror sdf sdg mirror sdh sdi mirror sdj sdk&lt;br /&gt;
sudo zpool add tank mirror nvme2n1 nvme3n1&lt;br /&gt;
sudo zpool add tank log mirror nvme0n1 nvme1n1&lt;br /&gt;
sudo zpool add tank cache nvme2n1 nvme3n1&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
https://docs.oracle.com/cd/E19253-01/819-5461/gaztn/&lt;br /&gt;
&lt;br /&gt;
zfs create tank/home&lt;br /&gt;
&lt;br /&gt;
zfs set mountpoint=/home pool/home&lt;br /&gt;
&lt;br /&gt;
https://www.virtualbox.org/wiki/Linux_Downloads&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
systemctl stop lxd lxd.socket&lt;br /&gt;
rm -Rf /var/lib/lxd&lt;br /&gt;
zfs create tank/lxd-daemon -o /var/lib/lxd&lt;br /&gt;
systemctl start lxd&lt;br /&gt;
lxc storage create default zfs source=tank/lxd&lt;br /&gt;
lxc profile device add default root disk pool=default path=/&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
# Use ZFS, XFS for Home Directory&lt;br /&gt;
&lt;br /&gt;
https://docs.oracle.com/cd/E19253-01/819-5461/gaztn/index.html&lt;br /&gt;
&lt;br /&gt;
No vm guest console attach so just use x11 forwarding. Server needs some X11 packages installed.&lt;br /&gt;
&lt;br /&gt;
From Linux box&lt;br /&gt;
```&lt;br /&gt;
ssh -X &amp;lt;username&amp;gt;@&amp;lt;hostname&amp;gt;&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
virtualbox&lt;br /&gt;
&lt;br /&gt;
It looks like VirtualBox does not provide this functionality. Best that it seems I can do is to use a remote desktop. For my CentOS, the most convenient app is rdesktop. You need to have the extension pack installed. Then enable remote desktop protocol for the client. Once the VM is running you can then use rdesktop to access the client console. If rdesktop is started immediately after the VM, you do get access to the boot sequence. Thus:&lt;br /&gt;
&lt;br /&gt;
$ vboxmanage modifyvm &amp;quot;archive&amp;quot; --vrde on&lt;br /&gt;
$ vboxmanage startvm &amp;quot;archive&amp;quot; --type headless ; rdesktop localhost&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes it is nice to turn on a gui on the host when you need it.&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install --no-install-recommends ubuntu-desktop&lt;br /&gt;
&lt;br /&gt;
# If you want example apps apt-get install ubuntu-desktop (gnome 3 default)&lt;br /&gt;
&lt;br /&gt;
Disable it to only run when you want.&lt;br /&gt;
&lt;br /&gt;
Edit /etc/default/grub with your favourite editor, e.g. nano:&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/default/grub&lt;br /&gt;
Find this line:&lt;br /&gt;
&lt;br /&gt;
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet splash&amp;quot;&lt;br /&gt;
Change it to:&lt;br /&gt;
&lt;br /&gt;
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;text&amp;quot;&lt;br /&gt;
Update GRUB:&lt;br /&gt;
&lt;br /&gt;
sudo update-grub&lt;br /&gt;
For systems that use systemd&lt;br /&gt;
This is an additional step for systemd releases, e.g. Ubuntu 15.04, the steps above for grub are still necessary.&lt;br /&gt;
&lt;br /&gt;
You need to tell systemd to not load the graphical login manager:&lt;br /&gt;
&lt;br /&gt;
sudo systemctl enable multi-user.target --force&lt;br /&gt;
sudo systemctl set-default multi-user.target&lt;br /&gt;
You will still be able to use X by typing startx after you logged in.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Moving Home Directory&lt;br /&gt;
&lt;br /&gt;
From Terminal type this:&lt;br /&gt;
&lt;br /&gt;
sudo mkdir /mnt/tmp&lt;br /&gt;
sudo mount /dev/sdb1/ /mnt/tmp&lt;br /&gt;
which will allow you to temporarily mount the new partition, assuming /sdb1 as new partition for HOME.&lt;br /&gt;
&lt;br /&gt;
sudo rsync -avx /home/ /mnt/tmp&lt;br /&gt;
This will copy HOME to new location.&lt;br /&gt;
&lt;br /&gt;
sudo mount /dev/sdb1 /home&lt;br /&gt;
This will mount the new partition as HOME and makes sure all data is present.&lt;br /&gt;
&lt;br /&gt;
sudo umount /home  &lt;br /&gt;
This will unmount the new partion.&lt;br /&gt;
&lt;br /&gt;
rm -rf /home/*  &lt;br /&gt;
This deletes the old HOME.&lt;br /&gt;
&lt;br /&gt;
To make HOME permanent you need to know the UUID of the new partition for the fstab entry. you can get that by giving command:&lt;br /&gt;
&lt;br /&gt;
sudo blkid&lt;br /&gt;
Note down the UUID and use the same to change fstab .&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab   &lt;br /&gt;
Now add the following at the end.&lt;br /&gt;
&lt;br /&gt;
UUID=&amp;lt;noted number from above&amp;gt;    /home    ext4    defaults   0  2&lt;br /&gt;
NOTE: You need to select the exact file system that was formatted(for example ext4 as chosen here).&lt;br /&gt;
&lt;br /&gt;
Now you can Resart your computer to see the new HOME&lt;/div&gt;</summary>
		<author><name>imported&gt;Jeremy-busk</name></author>
	</entry>
</feed>