Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running out of disk space! Please help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
twitch_boy
n00b
n00b


Joined: 21 Apr 2002
Posts: 17

PostPosted: Sun Apr 21, 2002 9:44 pm    Post subject: Running out of disk space! Please help! Reply with quote

I spent alot of time installing and seting up my system just the way I want it. However, I was stupid and only gave myself 1.5 gig for the root directory, and I have a 40 gig hard drive :( anyway long story short, I have no space left to install any more programs. I would appreciate it if anyone could help me with resizing/cleaning up my root partition, I don't want to have to re-install again. Thanks.
Back to top
View user's profile Send private message
lk42pro
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2002
Posts: 114
Location: New Jersey, USA

PostPosted: Sun Apr 21, 2002 9:48 pm    Post subject: Reply with quote

maybe partition magic pro 7.0 for windows can help?
Back to top
View user's profile Send private message
twitch_boy
n00b
n00b


Joined: 21 Apr 2002
Posts: 17

PostPosted: Sun Apr 21, 2002 9:54 pm    Post subject: Reply with quote

I have an old partition magic bootdisk (version 4 I believe) I tried and it won't let me resize any of my partitions. Do you know if a newer version (I do have access to version 7.0) would work any different? Thanks.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Apr 21, 2002 11:28 pm    Post subject: Reply with quote

twitch_boy wrote:
Do you know if a newer version (I do have access to version 7.0) would work any different? Thanks.


Yes -- I was able to re-partition my hard drive just fine. However, if you have extra (unpartitioned) disk space now, you can just create a new partition, copy all your root files over there and update fstab and grub to tell them where the new / should be. (for that matter, you can buy a whole new hard drive and make that your / directory)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
twitch_boy
n00b
n00b


Joined: 21 Apr 2002
Posts: 17

PostPosted: Sun Apr 21, 2002 11:45 pm    Post subject: Reply with quote

Thanks klieber, making a new partition and copying over the / files sounds like a good idea... however I am not exactly sure how i should go about the actual copying. can I just cp * the files to my new partition?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Apr 21, 2002 11:56 pm    Post subject: Reply with quote

twitch_boy wrote:
can I just cp * the files to my new partition?


Use cp -ax. The -ax tells linux to preserve file attributes. There's a good article on IBM's site that discusses moving /home -- the same can be applied to moving / or any other partition.

http://www-106.ibm.com/developerworks/library/partplan.html

EDITED: The IBM doc recommends dropping into single user mode (INIT 1) before copying files. This is to prevent other folks from connecting to the machine over the network and modifying files on /home while you're doing the copy. You can safely ignore this step if you're the only one that uses the system.

Also, I'm assuming you've got your boot partition as a separate partition -- otherwise, this might not work.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
twitch_boy
n00b
n00b


Joined: 21 Apr 2002
Posts: 17

PostPosted: Mon Apr 22, 2002 2:41 am    Post subject: Reply with quote

Hi Klieber,

I'm trying to follow the instructions from the IBM page that you posted, but I run into a problem when dropping into single user mode... the computer always hangs when shutting down eth0, do you have any suggestions? thanks again:)
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Apr 22, 2002 11:36 am    Post subject: Reply with quote

twitch_boy wrote:
I'm trying to follow the instructions from the IBM page that you posted, but I run into a problem when dropping into single user mode


Unless this is a computer that has multiple people connecting to it, you don't have to drop into single user mode. The only thing single user mode does is prevent others from attaching to it so you can be sure no files get modified when you're copying them.

<obligatory CMA statement>
Also, before you do anything, it's a good idea to have a fresh backup of everything, in case anything goes wrong.
</obligatory CMA statement>
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
sunki
Guest





PostPosted: Mon Apr 22, 2002 11:43 am    Post subject: cleaning spaces... Reply with quote

8)

there're downloaded stuffs in /usr/portage/distfiles and unzipped in /var/tmp/portage.

delete them if u need.
Back to top
twitch_boy
n00b
n00b


Joined: 21 Apr 2002
Posts: 17

PostPosted: Mon Apr 22, 2002 1:10 pm    Post subject: Reply with quote

I think that I will try moving my home directory to another partition and I'll wait on moving the whole system for now. Its nice to know that I at least have the knowledge to do it now. Thanks alot for your help klieber, I appreciate it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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