Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to expand a partition inside a Debian VM on a Windows host (and in the process move a small partition).

I think I should use a Live CD (Which one?)

Can I mount an ISO to the VM?

share|improve this question
up vote 2 down vote accepted
  • shutdown the vm
  • go to the HDD options and scale it up
  • resize the partition from within linux

how to exactly resize depends on the filesystem, the quick and easy solution would be a live cd like the gparted live cd , you can just mount the ISO in the VM and boot from it.

share|improve this answer

Did you mean Live CD? Just out of curiosity... I can't give you exact instructions because I haven't done it for Linux in a long time, but I have done it recently for a Windows VM so I think the process should be almost the same. You need to create a new disk for your Debian VM and add it to the disk inventory in VMware. Then fire up your Debian OS and check out this link. I that should be able to do what you need. Hopefully this helps

share|improve this answer
This is different. I want to expand the current main partition of my VM. – Olav Nov 7 '11 at 5:53
Sorry. What is your VM software? VMware Workstation? VMWare server? VirtualBox? VMWare workstation has an expand utility built into the GUI that will allow you to modify the size of the existing virtual disk. GoTo your VM, Edit Machine Settings, Hard Disk, Utilities, and finally Expand... Expand your disk, then you just need to figure out how to grow the OS file system to take advantage of the additional space – bourne Nov 8 '11 at 15:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .