ubuntu on windows 8 not have enough space

Discussions related to using VirtualBox on Windows hosts.
Post Reply
wgan
Posts: 2
Joined: 23. Jun 2013, 05:17

ubuntu on windows 8 not have enough space

Post by wgan »

I've got not enough free disk space error message on ubuntu guest on windows 8 host despite I've set up dynamically allocated VDI, how to go around this?
the windows 8 host is of NTFS
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: ubuntu on windows 8 not have enough space

Post by stefan.becker »

You only say "not working", but there are no details.

First its possible that the host has not enough free disk space.

Second i think you have not create a vdi with enough space. You give a max size, it can only reach this size. After that there is no more space.

Third i think you have a size under 10 GB and the guest creates partitions for /boot, / and /home.

Best solution: Make a fresh install. Choose directly 100 GB virtual size and check that the guest create only one partition. In Ubuntu you have to choose the option "something else" when asked for this.
wgan
Posts: 2
Joined: 23. Jun 2013, 05:17

Re: ubuntu on windows 8 not have enough space

Post by wgan »

the host's got plenty space, the VDI is dynamically allocated (at least thats how I set up in VB), the real capacity now is near 4G, but the VDI itself can reach up to 8G
the running out of free disk error happens when I tried to update Ubuntu guest, I can't see any other reason stopping me from doing this except FAT32's 4g limit, any ideas?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: ubuntu on windows 8 not have enough space

Post by mpack »

I'm having trouble interpreting past your misuse of terminology (e.g. "real capacity of 4GB"), but here goes. I think you're saying that you created a dynamically allocate drive with a capacity of 8GB, and naturally enough this has turned out to be too small.

I have no idea why you mention FAT32, since you say that the host is using NTFS? (as of course a Win8 host would), and presumably the Ubuntu guest is using an EXTx filesystem. In any case FAT32's 4GB limit is per file, which would only be a problem if you located the host VDI file on a FAT32 drive.

An Ubuntu installation typically reserves part of the disk to use as a swap partition, hence the actual usable capacity seen from inside the guest would be less than the capacity. If we assume a 2GB swap partition then that leaves a 6GB capacity.

You had probably better read "Howto: Resize a Virtual Drive". I suggest 32GB, and you should pay attention to the need for the gparted step after resizing the disk itself.
Post Reply