bash

Backup and Restore VirtualBox machine with LVM Snapshots and dd

#
# Install host using lvm partitions system (my case: linuxmint 17.3 xfce)
#
# From liveCD
# create partition 3 partitons with fdisk
# boot, swap, root

sudo su
fdisk -l
fdisk /dev/sda
Command (m for help) 
# boot
n
p
1
+500M
a
1
# swap and swap partion type
n
p
2
+5G
t
82
# root lvm partition type
n
3
p
50G
t
8e
# save setup
w

#
# Install virtualbox
# https://www.virtualbox.org/wiki/Linux_Downloads