You are not logged in.

#1 2012-05-07 06:35:08

BadassFractal
Member
Registered: 2012-05-07
Posts: 4

Resizing .vmdk + partitions with Arch on it?

Hello folks,

I was wondering if there is a way of increasing the size of the .vmdk virtual disk I deployed Arch to, usually run through Virtualbox, and then resize an existing partition to occupy the newly available space without breaking anything.

For example, right now I have a 8gb .vmdk with the default Arch partitioning for /dev/sda:

Filesystem     1K-blocks    Used Available Use% Mounted on
rootfs           6007112 2508320   3197576  44% /
/dev             1024880       0   1024880   0% /dev
run              1027816     192   1027624   1% /run
/dev/sda3        6007112 2508320   3197576  44% /
shm              1027816     228   1027588   1% /dev/shm
tmpfs            1027816     188   1027628   1% /tmp
/dev/sda1          99590   18092     76279  20% /boot
/dev/sda4        1988264  510748   1377916  28% /home

Let's say I resize the disk to 30gb and want to give more space to sda4 and sda3. Can I do that? Couldn't locate guides specific to this situation.

Thanks!

Offline

#2 2012-05-07 19:40:25

BadassFractal
Member
Registered: 2012-05-07
Posts: 4

Re: Resizing .vmdk + partitions with Arch on it?

Ping. I can't tell if my question is really stupid or if the answer is really complex smile

Offline

#3 2012-05-07 19:51:09

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Resizing .vmdk + partitions with Arch on it?

Google a method for resizing a vmdk file (I have no idea here). Then just boot the virtual machine into a live environment and resize the partitions with parted (or gparted).

After you back up any important data on there of course.

Offline

#4 2012-05-07 22:23:23

BadassFractal
Member
Registered: 2012-05-07
Posts: 4

Re: Resizing .vmdk + partitions with Arch on it?

I ran across a bunch of them, but only one actually ended up working for me: http://www.collage6.com/2011/01/06/resi … made-easy/

I should make a wiki entry if that'll help in the future.

Offline

Board footer

Powered by FluxBB