I'm going to try to install Slackware (as I have an install disk right now, but I really need Ubuntu, Faff!), in an 8GB expanding disk. Thinking about it, if this was Fedora, I could just use the volume manager to include these partitions?Ģ - CloneVDI indeed made the disk bigger, but this is not the issue or helpful, one still needs to put in the effort to expand the partitions (thanks Perryg, Gparted), so one might as well create a new disk anyway, fixing the duplicated partitions, and copy the data across (using dd?). Yours may be different, so adjust accordingly. In this example, our virtual hard disk is stored at /VirtualBox\ VMs/Ubuntu/Ubuntu.vdi. Then in Gparted resize first the extended partition to take all the available space, and then same for the LVM partition. Download Gparted.iso, then in your Virtualbox VM settings add a optical drive that point to Gparted.iso, start the VM. Increasing the size of a VM hard disk via command line. 200000 - it’s a new size of your disk in megabytes, so it’s a 200Gb. VBoxManage modifymedium /VirtualBox\ VMs/Ubuntu/Ubuntu.vdi -resize 30000. Partition table entries are not in disk order For the original installation, Fdisk says. Collect information about current LVM settings and names. Run fdisk /dev/sda to launch the fdisk utility. Information about the PV, VG and LV are important in order to successfully resize our LVM disk. I will be adding a new partition on my disk /dev/sda. After obtaining this information, we’ll have to create a new partition to hold our additional disk space. I went with the default Ubuntu install, assuming it would use all of the 8Gig disk, but it only used 4GB. Run fdisk l command to list the available partitions and also to identify the disk definition.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |