LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2004, 07:08 AM   #1
zbrox
Member
 
Registered: Jul 2003
Location: bulgaria
Distribution: ubuntu hoary
Posts: 50

Rep: Reputation: 15
partition software


i have installed gentoo on a 3Gb partition. but now i see this won't be enough for it. i freed 7Gb with QTParted. these 7GB were in a logical partiton. so i try to move them but they will move only by one partition up. they won't come out of the logical partition, so i could resize the gentoo partition to a bigger one. the gentoo partition is a physical partition. it is not in the logical. so i was wondering is there any kind of partitioning software which will let me do that. or if not what are my options. i was assuming the option to create a partition on these 7Gb but then how do i mount it? i wondered if i could mount them as /usr/portage(where is the portage tree which uses a lot of diskspace)...or maybe the whole /usr? but if i do that...won't there be any trouble..if i create the partition and mv all the /usr to the new partition and then edit the fstab entry so it would mount /usr at the specified partiton, is this going to cause trouble?
any kind of help is appreciated!
thanks in advance!
 
Old 02-01-2004, 07:27 AM   #2
ash4stuff
Member
 
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139

Rep: Reputation: 15
you can mv or copy the whole /usr to another partition, edit the fstab correctly, and even without rebooting, just with a mount -a, your done! (i did this yesterday) that is one of the advantages of the linux file system. It doesnt even have to be a partition, you can mount it under a subdirectory, etc... I wouldnt do that with / so easily though ;D i have never tried, but that would mess up grub and lilo config and i dont know what else...

but you have to be very careful when you move or copy, that all the attributes (ownership, priveleges. etc..) are conserved. Keep a boot disk or a knoppix cd nearby just in case anything goes wrong.

i copied (man copy for details on how to conserve attr.) and then used kdiff3 to check that absolutely all files where identical...
 
Old 02-01-2004, 07:51 AM   #3
zbrox
Member
 
Registered: Jul 2003
Location: bulgaria
Distribution: ubuntu hoary
Posts: 50

Original Poster
Rep: Reputation: 15
thanks for the help. i would move the /usr, i just wasn't sure. i doubt there would be any differences, cause i plan on even using the same fs(reiser). but anyway i would install kdiff3 and learn using it just in case
thanks again
 
Old 02-01-2004, 09:48 AM   #4
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
Check out QTParted, it is a slightly less intuitive partition magic clone.

Link:
http://qtparted.sourceforge.net/
 
Old 02-01-2004, 01:12 PM   #5
zbrox
Member
 
Registered: Jul 2003
Location: bulgaria
Distribution: ubuntu hoary
Posts: 50

Original Poster
Rep: Reputation: 15
um...i used just this piece of software and i mentioned it in my post
 
  


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
free software for partition resize v2010 Linux - Software 11 01-23-2007 01:59 PM
partition software for linux haldara Linux - Newbie 8 10-08-2004 05:34 PM
software RAID on the root partition spuzzzzzzz Linux - Hardware 5 08-13-2004 12:28 AM
Partition Software K_smolka Linux - Software 6 06-11-2004 07:12 PM
gui partition software for linux? macewan Linux - Software 1 05-11-2003 10:44 PM


All times are GMT -5. The time now is 10:56 AM.

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