Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 1 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.