LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-29-2007, 09:26 AM   #1
mz043
LQ Newbie
 
Registered: Mar 2007
Distribution: SuSe10.2, Gentoo 2006.1
Posts: 7

Rep: Reputation: 0
question on managing disk partitions


Hi,

I just managed to install SuSe 10.2 on an old PC with a very small hard drive. The single hard drive has two partitions, one containing the / (root) and the other containing the /user directory.

My issue is this:
The root directory has only about 1GB of free space left. Is there any way to swap some space from the user directory (it has about 5GB available) to the / (root) directory? Or if the answer to this is no, can I install an external hard drive (I have a 50GB one handy) and put the / (root) directory on there?

Basically I want the root directory to have more than 1GB avail since most of the stuff go there like updates, software etc. What is the most hassle-free way of doing this? (I would like to avoid re-installing SuSe as I have already customised my installation and installed some software).

My question may be a bit foolish, so forgive me, but I am new to all this :-)

Thanks for your time and help.
Mic
 
Old 03-29-2007, 09:32 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
On a small hard drive, like on my notebook computer, I just have one partition for files and one for swap. You could devote the internal hard drive to the / partition. That would also include the /home partition. Then you could mount the external hard drive for extra data storage. You could mount the external hard drive at /home or you could mount it as a subdirectory of your normal user account such as /home/user/external or something like that.

This approach avoids the problems that you might encounter trying to manage the operating system on a removable disk. There isn't all that much to it but since you have said that you are a newbie and that you want the simplest approach I would advise using the approach described above. It's just simpler.
 
Old 03-29-2007, 09:38 AM   #3
Buto
Member
 
Registered: Sep 2004
Location: So Cal
Distribution: Slackware 12
Posts: 60

Rep: Reputation: 16
If you want to resize your partitions you can use gparted.
 
Old 03-29-2007, 09:55 AM   #4
mz043
LQ Newbie
 
Registered: Mar 2007
Distribution: SuSe10.2, Gentoo 2006.1
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the quick reply. The problem is my hard drive is already partitioned, so I don't think I can un-partition it. That would have been ideal, to have / root and /user under one partition, but is there any way to do this now I have already installed linux?

gparted sounds good, I will give it a try. Do you know if it only works with GNOME or does it work with KDE too?

Thanks again.
M
 
Old 03-29-2007, 10:20 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
You can always use the gparted live CD..
gparted should run under KDE if you have the necessary gnome libraries installed.

http://gparted.sourceforge.net/livecd.php
 
Old 03-29-2007, 10:55 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
I think the / partition shouldn't be any problem; most software gets installed under /usr, not /. And I hope you don't mind my saying so but I think that this is not the best partitioning scheme one could imagine. Most people make / and /home, in which case /usr just resides under the first. That way you can screw up your system files and still rescue your personal stuff; that's a lot harder with /home under /. So maybe you could do a simple swap? Move your /home to the partition where /usr sits right now and send /usr the other way?
 
Old 03-29-2007, 11:42 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Another option would be to use partimage and copy & resize all the partitions to the new drive .

both gparted and partimage are available on the live system rescue CD http://www.sysresccd.org/Main_Page
 
  


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
Managing disks and partitions in Suse 10 cvzyl Linux - Hardware 2 07-30-2006 02:30 AM
LXer: Managing Disk Space with LVM LXer Syndicated Linux News 0 04-28-2006 04:54 AM
managing partitions sakman Linux - Newbie 2 06-24-2005 09:52 PM
Managing Multiple Partitions and OS's Echo Kilo Linux - Software 0 10-22-2004 11:28 AM
Managing Disk Usage With Quotas tommytomato Linux - Newbie 7 09-01-2004 03:40 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration