View previous topic :: View next topic |
Author |
Message |
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Sat Oct 14, 2006 7:12 pm Post subject: increase / [solved] |
|
|
Hello all,
I'd need to increase the / partition, since some heavy packages don't fit when emerged, (/usr gets overloaded). I've worked on what NeddySeagoon adviced me (as you can read in https://forums.gentoo.org/viewtopic-t-495617-highlight-carlino.html), but it wasn't really enough. I know I could just move what needs room to another partition. But well... I was wondering what way would be best in order to increase /, getting disk space from /home, just next.
check my fstab :
Code: | /dev/hda2 /boot ext2 defaults,noatime 1 2
/dev/hda3 none swap sw 0 0
/dev/hda5 / ext3 defaults,noatime 0 1
/dev/hda6 /home ext3 defaults,noatime 0 0
/dev/hda7 /hdshare vfat defaults,noatime 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
/home can be shortened with no risk of losing files, since there's none. I thought about using partition magic, on boot, or the fdisk utility, but I doubt about this last one, since I think it's just going to delete partitions and recreate them with a different size... which would suck.
Code: | df -a
/dev/hda5 5036284 3766936 1013516 79% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
udev 257900 224 257676 1% /dev
devpts 0 0 0 - /dev/pts
/dev/hda2 101105 5873 90011 7% /boot
/dev/hda6 50403000 140860 47701784 1% /home
/dev/hda7 14532616 2706440 11826176 19% /hdshare
none 257900 0 257900 0% /dev/shm
usbfs 0 0 0 - /proc/bus/usb |
any idea ? _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Last edited by Carlino on Sat Oct 14, 2006 9:37 pm; edited 2 times in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Oct 14, 2006 7:17 pm Post subject: |
|
|
With parted you can resize partitions. But you might want to take a look at /usr/portage/distfiles first. That's where the source tarballs get stored. Unless you clean that directory out now and again you'll loose a lot of space to tarballs that have no reason to be on your system anymore. Another thing you might look into is lvm2 which makes it a lot easier to manage diskspace. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Sat Oct 14, 2006 7:19 pm Post subject: |
|
|
Thanx nixnut ! I'm gonna try this _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sat Oct 14, 2006 7:21 pm Post subject: |
|
|
You will probably want to have a look at the gparted livecd. |
|
Back to top |
|
|
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Sat Oct 21, 2006 2:02 pm Post subject: |
|
|
Well well well.... I tryed all the options I've been told about : dealing with parted or gparted wasn't really simple since I would have had to umount filesystem being used at the very moment... boot from a LiveCD and so on... I also tryed to move /usr/portage to /home, since this directory was the one getting filled up, when runing emerge. I change the PORTDIR variable to /home/portage, but still, when emerging, I'd get:
Code: | !!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete? |
Didn't really know what it meant,so.... since there's a dual boot on, I booted on Window, (sorry 'bout that), installed Partition Magic, and did the trick... oh yeah, my goal was to resize /, taking room from it's neighbor /home. And it worked out... Quite scarying though ! _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|