Loki - 2014-05-30

Install ubuntu in a virtual hard disk using VirtualBox. Download the vdfuseboot.zip package and unzip into the VM. Set execute permissions to vdprepare.sh and run it as sudo user. This prepares the virtual hard disk to be bootable from grub.

Use vboot grub bootloader provided (vboot.zip) to install a grub entry for windows.
Edit the grub.cfg file of the grub bootloader to include an entry for the ubuntu virtual hard disk based on your setup. Some examples below,

menuentry "Ubuntu-Regular-Install" {
vhd vhd0 (hd0,1)/ubuntu-14.04.vhd --partitions
linux (vhd0,1)/vmlinuz-3.5.0-46-generic host=/dev/sda1 vdisk=/ubuntu-14.04.vhd root=/dev/vdhost/Partition1 quiet
initrd (vhd0,1)/initrd.img-3.5.0-46-generic
}

menuentry "Ubuntu-Regular-Install-With-Separate-Boot-Partition" {
vhd vhd0 (hd0,1)/ubuntu-14.04.vhd --partitions
linux (vhd0,1)/vmlinuz-3.5.0-46-generic host=/dev/sda1 vdisk=/ubuntu-14.04.vhd bootpart=/dev/vdhost/Partition1 root=/dev/vdhost/Partition5 quiet
initrd (vhd0,1)/initrd.img-3.5.0-46-generic
}

menuentry "Ubuntu-With-Encrypted-Root" {
vhd vhd0 (hd0,2)/ubuntu-14.04.vhd --partitions
linux (vhd0,1)/vmlinuz-3.5.0-46-generic host=/dev/sda2 vdisk=/ubuntu-14.04.vhd bootpart=/dev/vdhost/Partition1 encroot=/dev/vdhost/Partition2 root=/dev/mapper/ubuntu-root quiet splash
initrd (vhd0,1)/initrd.img-3.5.0-46-generic
}

This should get you up and running.

 

Last edit: Loki 2014-05-30