LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-21-2010, 12:09 PM   #1
Detriamus
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
How to increase the home partition size in vmwared ubuntu


Hey guys, whenever I try to download anything I get the error there's not enough space on my home partition; thus I was wondering if anyone would be able to tell me how to increase its size? I'm using ubuntu via vmware workstation.

Here is the output of df:

Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 254964 0 254964 0% /lib/init/rw
varrun 254964 52 254912 1% /var/run
varlock 254964 0 254964 0% /var/lock
udev 254964 2728 252236 2% /dev
tmpfs 254964 0 254964 0% /dev/shm
rootfs 254964 233168 21796 92% /
/dev/hdc 1968078 1968078 0 100% /media/cdrom0
/dev/loop0 1927168 1927168 0 100% /rofs
tmpfs 254964 384 254580 1% /tmp

and here is the output of fdisk -l:

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

I'm guessing the issue is to do with the lack of a valid partition table, but I'm unsure what to do here and i'm particularly conscious of the fact that it's a vm, so I dont want to do any damage to my main windows os.

Any help is greatly appreciated!

Cheers
 
Old 08-21-2010, 12:28 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,107

Rep: Reputation: 127Reputation: 127
try to install gparted in ubuntu and resize as if you would fill hard disk?
I thought that modern Virtualization solutions(like vbox) do not ask about disk size but resize disk size when necessary.
 
Old 08-21-2010, 12:48 PM   #3
Detriamus
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the fast reply yooy.

I used gparted which indicated that I had 40 gigs (what i specified in vmware) of unallocated space. I thus formatted this to ext2, however upon downloading I recieved the same error.

Here is df and fdisk -l again:

root@bt:~# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e91aa

Device Boot Start End Blocks Id System
/dev/sda1 1 5221 41937651 83 Linux
root@bt:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 254964 0 254964 0% /lib/init/rw
varrun 254964 48 254916 1% /var/run
varlock 254964 0 254964 0% /var/lock
udev 254964 2732 252232 2% /dev
tmpfs 254964 0 254964 0% /dev/shm
rootfs 254964 254964 0 100% /
/dev/hdc 1968078 1968078 0 100% /media/cdrom0
/dev/loop0 1927168 1927168 0 100% /rofs
tmpfs 254964 5340 249624 3% /tmp


So I'm unsure where to proceed from here now?

Cheers
 
Old 08-21-2010, 12:51 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
I thought that modern Virtualization solutions(like vbox) do not ask about disk size but resize disk size when necessary.
That depends on whether you selected a dynamic or a static hard drive; dynamic can grow, static cannot.

If a static drive turns out too small, you can create a second virtual drive to provide extra space.
 
Old 08-21-2010, 01:33 PM   #5
Detriamus
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Edit: got it working! thanks anyway

Last edited by Detriamus; 08-21-2010 at 02:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to increase /home directory size vin08rag Linux - Newbie 7 03-02-2010 03:19 AM
8.10 partition size requirements for / /home/ /swap /var /usr going from 8.04 Ubuntu Thane Ubuntu 10 11-30-2008 07:27 PM
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 02:35 PM
Increase Partition Size shane200_ Linux - Hardware 1 08-24-2006 12:06 PM
how to increase the size of home partition srnerkar1 Linux - Software 1 12-05-2005 05:28 AM


All times are GMT -5. The time now is 11:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration