(W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or size

Discussions about using Linux guests in VirtualBox.
Post Reply
JasonP
Posts: 4
Joined: 3. Jan 2017, 20:31

(W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or size

Post by JasonP »

I'm using a Win10 host, which I suspect could be the problem, since I never had this issue on Windows 7/8 as the host.

Any Linux-Guest I've tried tells me the disk is full almost immediately after installing. There seems to be less than 500mb of free space right after installing, which is quickly used up when I am installing a few basic programs with apt-get. GParted and other disc utilities say that there is more than enough disk space inside of the guest, and virtualbox also says there is plenty of disc space. This happens so far with fixed disks and dynamic ones. I attached a picture demonstrating the issue. The OS in the picture below is using a fixed disk of 20gb, almost none of which is being used yet.
Last edited by JasonP on 3. Jan 2017, 23:28, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by Perryg »

Run df -h in the guests terminal and post the results here.
JasonP
Posts: 4
Joined: 3. Jan 2017, 20:31

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by JasonP »

Results

Code: Select all

Filesystem                         Size  Used Avail Use% Mounted on
udev                               5.9G     0  5.9G   0% /dev
tmpfs                              1.2G  9.2M  1.2G   1% /run
/dev/mapper/ubuntu--mate--vg-root  7.3G  6.9G   29M 100% /
tmpfs                              5.9G  756K  5.9G   1% /dev/shm
tmpfs                              5.0M  4.0K  5.0M   1% /run/lock
tmpfs                              5.9G     0  5.9G   0% /sys/fs/cgroup
/dev/sda1                          472M   60M  388M  14% /boot
tmpfs                              1.2G   52K  1.2G   1% /run/user/1000
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by Perryg »

Ok so you encrypted the extended partition which was made to use almost all of the virtual drive. The OS can not actually use the encrypted partition so there is you problem. Actually this has nothing to do with VirtualBox so you would need to ask the Ubuntu folks how to take care of this or start over and leave off the encryption.
JasonP
Posts: 4
Joined: 3. Jan 2017, 20:31

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by JasonP »

I set up all of my Guest-Linux OS's with full disk encryption at the installation. I don't see how that is a problem. It was never a problem when using Win7/8 as the host. The encrypted partition is where all the OS files are, the fact that I was even able to load the OS past the bootloader and take a screenshot is evidence that the entire partition is unlocked for use.

Attached is a picture showing the OS installation, which is installed to that encrypted partition. It doesn't make much sense why it's only accessing 7gb of the encrypted partition, when all 20gb should be whole together.
Last edited by JasonP on 3. Jan 2017, 23:28, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by Perryg »

VirtualBox has no control over the partitioning or format of the drive. Do you see sda2 or sda5 in the df results?
JasonP
Posts: 4
Joined: 3. Jan 2017, 20:31

Re: (W10 Host)All my Linux Guest say disk is full soon after installing, regardless of disk type or

Post by JasonP »

I suspect the problem then must have to do with how the partitions were automatically set up on installation. I will try to manually set it up when installing to see if it prevents the problem.
Post Reply