LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2005, 09:12 AM   #1
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
resize root partition after install


Hello,

I'm running 9.2 pro, and have tweaked my system almost to death now, which is why I don't want to reinstall. Problem is, is that I never set up separate partitions for anything really, except my music.

So root / is almost full, but my last tweak, prelink, needs space! Can I resize my partition safely? How should I go about it?

I have:
hda1 Empty space 3gb
hda2 Swap partition 500mb
hda3 Root partition 6gb

So I want the empty space sticky taped to the root partition so I can prelink safely. I tried moving my home directory to the empty space but copying the user was a dismal failure, almost lost the ability to log into kde (horror)

Dave
 
Old 08-30-2005, 09:43 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I think that resizing requires free space at the lower end of a partition. In your case I recommend to 'outsource' part of the tree to the 3GB partition:

- Create a partition/filesystem in the empty space.
- Mount this partition to e.g. /home_new
- Copy the data from e.g. /home to /home_new
- Change /etc/fstab to mount /dev/hda1 to /home
- Reboot

This is just an example where /home is transfered from the root partition to hda1. You can do this with every entry from the main tree (e.g /var, /usr, /tmp, etc.). I recommend /home, but you need to check your space requirements.
 
Old 08-31-2005, 03:38 AM   #3
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
Thanks, I'll give it a go!
 
  


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
Resize root partition via reinstall dubya Fedora 0 12-05-2004 01:00 PM
Safe to resize root partition with PM8? Ohmn Mandriva 6 07-09-2004 09:29 AM
how to resize my /root partition Perfekt Linux - Software 4 12-23-2003 09:22 PM
Linux disk partition resize after install JezzerP Linux - Software 3 08-12-2003 02:50 AM
Can't resize my partition to install Linux! Ippi Linux - Newbie 9 07-31-2003 02:54 PM


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

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