![]() ![]() In GParted, I deleted the swap (as well as the whole extended partition containing it). Still, I opened terminal, turned swap off, and launched GParted. Once started, it is odd that I didn't see anything different from a boot from hard disk. I have set up the following in VMWare to try to Boot from the Ubuntu LiveCD: ![]() If so, could anyone tell me how to Boot from the Ubuntu LiveCD under VMWare Fusion? PS: this post seems to have same problem as I. However, right-clicking on the first partition shows that Resize/Move is gray, then I don't know how to continue. GParted shows that there is 80G unallocated: Now I need to increase the size of the disk of Ubuntu. I have installed VMWare Fusion 6.0.2, under which Ubuntu 12.04 LTS has been installed as virtual machine. Unless Vagrant.I use MacBook with Mac OS X 10.9.1. # Fail if the vagrant-disksize plugin is not installed For example, use resize2fs -p -F DEVICE for ext'`Įcho "The root file system (/) has a size of $ROOT_FS_SIZE" However this only changes the drive capacity, you will have to expand the file system for the guest afterwards. Resize it using VBoxManage modifyhd box.vdi -resize 15360 which increases the capacity to 15GB. VBoxManage clonehd in.vmdk out.vdi -format VDI and then re-attached it (using the GUI is easier). To be able to resize the HDD, you'll have to convert it to VDI first, e.g. ![]() To increase the capacity of disk for Vagrant Base Box This currently works only for VDI and VHD formats, and only for the dynamically allocated variants, and can only be used to expand (not shrink) the capacity. The -resize x option (where x is the desired new total space in megabytes) allows you to change the capacity of an existing image this adjusts the logical size of a virtual disk without affecting the physical size much. However, vagrant base boxes are basically exported OVF/OVA using VMDK format. ![]() Reason why: VBoxManage modifyhd only works with native VDI image. Personally I think it'll be easier to attach an extra virtual HDD and mount it to a proper mount point, for example /opt and move your stuff over using rsync to work around this issue, after all, puppet vagrant boxes are for testing purposes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |