LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   partition software (https://www.linuxquestions.org/questions/linux-software-2/partition-software-140957/)

zbrox 02-01-2004 06:08 AM

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!

ash4stuff 02-01-2004 06:27 AM

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...

zbrox 02-01-2004 06:51 AM

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 :)

enigmasoldier 02-01-2004 08:48 AM

Check out QTParted, it is a slightly less intuitive partition magic clone.

Link:
http://qtparted.sourceforge.net/

zbrox 02-01-2004 12:12 PM

um...i used just this piece of software and i mentioned it in my post :)


All times are GMT -5. The time now is 02:27 PM.