Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Repartioning my drive?
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
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sat Dec 14, 2002 6:04 pm    Post subject: Repartioning my drive? Reply with quote

Hopefully this is the right forum...

I'm running a bit low on space (less than 2gigs is low for me), but I have another partition that has Windows on it, if I were to merge the two with Partition Magic (don't know if it will let me, but if it does...) will I still be able to use the one partition without reformatting? Probably would have to run grub to fix the partition table but would it work otherwise?

Thanks
_________________
open like a child's mind.
Back to top
View user's profile Send private message
sisyphus
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2002
Posts: 138
Location: Bristol & London - UK

PostPosted: Sat Dec 14, 2002 6:58 pm    Post subject: Reply with quote

It's been a long time since I've used Partition Magic so I'm not sure how capable it is. I suspect it would work fine though.

What about Parted?

http://www.gnu.org/software/parted/parted.html

This'll work provided that the start of the parition doesn't move (i.e. your existing ext3 partition must be at the start of the disk).

DISCLAIMER: Muck with your partition table at your peril. I've not heard of parted failing but that doesn't mean it won't for you - In other words, I'm not responsible if it goes wrong and you lose data :)

Good Luck
_________________
wibble
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sat Dec 14, 2002 8:17 pm    Post subject: Reply with quote

Looks like I'm out of luck, start of my partition is AFTER the windows partition, oh well I guess it gives me reason to upgrade to 1.4 rc1. Thanks for your reply! :)
_________________
open like a child's mind.
Back to top
View user's profile Send private message
sisyphus
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2002
Posts: 138
Location: Bristol & London - UK

PostPosted: Sat Dec 14, 2002 9:32 pm    Post subject: Reply with quote

How big is your /home? If it's big then you could try this. It'll also work for other directories (e.g. /usr) but it's a bit more difficult to do (though possible).

You could bin the Windows partition and recreate a new part in it's place. Format it ReiserFS or whatever.

Once you got that, mount it somewhere handy (/mnt/tmp or wherever) and:

Code:
mv /home/*


Once this is done, check that your files are OK and then rm -rf /home/* (as root, at a console). Add the new partition to fstab to mount it at /home then just run:

Code:
mount -a


Bob's yer uncle.

DISCLAIMER: Same as before but backup all your data before you do this. In fact, back up anyhow - you'll sleep better
:)
_________________
wibble
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sun Dec 15, 2002 12:10 am    Post subject: Reply with quote

Thanks, good idea I'll keep it in mind. I really think I'm going to jump to 1.4rc1 though so a format would be best. I can't believe how accustomed I have become to my Gentoo Linux desktop though, I can do anything and everything I would do in Windows.

Thanks for the replies!
_________________
open like a child's mind.
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