PDA

View Full Version : [mythbuntu] [SOLVED] Sharing a partition between two directories



ukulele_ninja
December 11th, 2008, 06:55 AM
On my mythbuntu setup, The way my main drive is mounted it has all my system files installed on a small 12gig partition which has run out of space. Meanwhile, I have put all my media onto the free space mounted to /var/lib/mythtv

What is the command to share that free space with my system files without damaging any of the files in either directory?

nhasian
December 11th, 2008, 07:49 AM
no sure what your trying to achieve but I think you have two options. you can mount the free space in a directory in your main filesystem, or you can use the ln (link) command to make a symbolic link to another folder.

ukulele_ninja
December 11th, 2008, 07:14 PM
I just want to allocate some additional hard drive space to my system partition because while trying to install apps and such it says ive run out of room.

mikewhatever
December 11th, 2008, 07:19 PM
Try these two for freeing space.
sudo apt-get clean
sudo apt-get autoremove

Duck2006
December 11th, 2008, 07:22 PM
You may have to resize your partitions to get the space you need.
ie decrease the partition that has the space to spare and then add it to the partition that needs it.

http://wiki.partedmagic.com/index.php/Using_GParted

Use parted magic or gparted to do this with.

ukulele_ninja
December 11th, 2008, 07:29 PM
You may have to resize your partitions to get the space you need.
ie decrease the partition that has the space to spare and then add it to the partition that needs it.

http://wiki.partedmagic.com/index.php/Using_GParted

Use parted magic or gparted to do this with.

I have gparted installed and am willing to do this, but if i reduce space on my main storage partition will it corrupt anything on that partition? I guess this is what i needed to ask to begin with.

Titan8990
December 11th, 2008, 07:34 PM
I have gparted installed and am willing to do this, but if i reduce space on my main storage partition will it corrupt anything on that partition? I guess this is what i needed to ask to begin with.

This is possible anytime you are making changes to partitions. Always back up your data prior to making these types of changes.

Duck2006
December 11th, 2008, 07:34 PM
Use the live cd of gparted or parted magic to do this with. It should not corrup your files, Just make sure you have backed up your data.

Titan8990
December 11th, 2008, 07:37 PM
Use the live cd of gparted or parted magic to do this with. It should not corrup your files, Just make sure you have backed up your data.

http://en.wikipedia.org/wiki/Murphy%27s_law

ukulele_ninja
December 11th, 2008, 07:38 PM
Alright, thanks guys!