I am relatively new to Ubuntu running or a VirtualBox (on a Mac), and after everything was working more or less fine before I upgraded to Mavericks, now I find a lot of problems with it. Not sure what's going on, but my Ubuntu machine had dynamically allocated space, and I don't recall having any problems expanding the disk. My Virtual Size is 20GB, actual Size is 8GB.
luis@luis-VirtualBox:~$ sudo fdisk -l /dev/sda Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0001edac Device Boot Start End Blocks Id System /dev/sda1 * 2048 17367039 8682496 83 Linux /dev/sda2 17369086 41940991 12285953 5 Extended /dev/sda5 17369088 41940991 12285952 82 Linux swap / Solaris
Now, I am trying to install additional software in Ubuntu, and the machine indicates that I am running out of space.
luis@luis-VirtualBox:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 8.1G 7.6G 96M 99% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 5.8G 4.0K 5.8G 1% /dev tmpfs 1.2G 1.0M 1.2G 1% /run none 5.0M 0 5.0M 0% /run/lock none 5.8G 156K 5.8G 1% /run/shm none 100M 44K 100M 1% /run/user Desktop 699G 386G 313G 56% /media/sf_Desktop Documents 699G 386G 313G 56% /media/sf_Documents Dropbox 699G 386G 313G 56% /media/sf_Dropbox My_Passport 932G 363G 570G 39% /media/sf_My_Passport /dev/sr0 62M 62M 0 100% /media/luis/VBOXADDITIONS_4.3.0_89960
luis@luis-VirtualBox:~$ sudo fdisk -l /dev/sda1 Disk /dev/sda1: 8890 MB, 8890875904 bytes 255 heads, 63 sectors/track, 1080 cylinders, total 17364992 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/sda1 doesn't contain a valid partition table
How can I fix this problem? Does anybody know why the machine is not dynamically allocating the space I need, up to 20GB?
Thanks is advance for any help.