Created
November 17, 2016 02:20
-
-
Save amonmoce/8ec686870a88a6e20325dc497244c721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#image of /dev/sd5 in sd5.img | |
sudo dd if=/dev/sda5 of=/home/sda5.img | |
#install grub in sdb | |
grub-install /dev/sdb | |
update-grub | |
#make a disk bootable | |
sudo umount /dev/sdX | |
sudo dd if=/path/to/ubuntu.iso of=/dev/sdX bs=4M && sync | |
#set a partition to boot | |
parted -s /dev/sda set 2 boot on | |
# increase virtual size of vbox machine | |
VBoxManage modifyhd --resize 25000 /Volumes/Transcend/VirtualBox\ VMs/Buildozer/Buildozer.vdi | |
# Know the distribution installed for linux | |
lsb_release -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment