Virtual HDD size

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Virtual HDD size

Postby ers1121 on Tue Mar 02, 2010 12:49 pm

Good Morning,
I have Mint 8 installed with Mint4Win (updated from Mint 7) it has been working flawlessly for several months. I am now getting a message that my HDD (the virtual Mint 7 one) is low on space. I installed it using the default setting for the HDD 8GB I think. Is there any way to increase the size without reinstalling? It just works so good that I don't want to take a chance of reinstalling and something screwing up. I have moved any pictures & music to a shared Windows folder but it is still low on space, any suggestions?
Thanks,
Ed
ers1121
Level 1
Level 1
 
Posts: 39
Joined: Wed Sep 23, 2009 6:07 am

Linux Mint is funded by ads and donations.
 

Re: Virtual HDD size

Postby proxima_centauri on Tue Mar 02, 2010 4:58 pm

I've never used Wubi, but maybe this will be of some assistance -> https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20disks?
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Virtual HDD size

Postby piratesmack on Fri May 07, 2010 2:02 am

If you're comfortable using the terminal, you can use dd and resize2fs to add space to your disk image

From a Linux Mint live cd, you can do something like:
Code: Select all
# log in as root
sudo -i

mkdir -p /mnt/windows

# mount Windows partition
mount -t ntfs-3g /dev/sdaX /mnt/windows

cd /mnt/windows/mint/disks

# back up root.disk just in case
cp root.disk root.disk.bak

# Add 2048MB (2GB) to root.disk (you can replace the 2048 with whatever you want)
dd if=/dev/zero bs=1M count=2048 >> root.disk

# Extend the filesystem
resize2fs root.disk
piratesmack
Level 5
Level 5
 
Posts: 710
Joined: Mon May 26, 2008 3:08 pm


Return to Installation & Boot

Who is online

Users browsing this forum: Google [Bot] and 11 guests