Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deleting win partition
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
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Sun Jul 25, 2004 8:18 pm    Post subject: Deleting win partition Reply with quote

Hi all,

My laptop add initially a windows partition, at the time I resized it to occupy only 7 Gigs of 40. I installed Gentoo on the rest of the disk.
Now I wish to delete the windows partition which is the first one, and resize my reiserfs partition which is my last one. So I'll have to move the boot partition, move the swap partition, move the reiserfs partition and resize it. Is this safe to do? Does anyone has any experience with this?

Cheers,
_________________
Paulo Matos
Back to top
View user's profile Send private message
asic_architect
n00b
n00b


Joined: 25 Jul 2004
Posts: 2

PostPosted: Sun Jul 25, 2004 9:34 pm    Post subject: Reply with quote

I dont think so. Moving around partitions can be risky and unreliable, and you need extra partitions to back up the data of other partitions to. A crap load of work and in the end it may not even work. your best bet is simply to set up the partititions how you want them and then reinstall. If you want some extra storage space just in case, leave some the disk unpartitioned.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Jul 25, 2004 10:27 pm    Post subject: Reply with quote

Post your partition details so we can see clearly what you are talking about.

I did manage to resize my *extended* partition without affecting the logical partiitions on it by using qtparted on a Linux rescue CD (search for it , its an ISO image you can burn to boot from with a hanfful of useful tools , or use a Knoppix to boot.)

I have my doubts about the more recent qtparted version in portage.


Probably the simplest and safest solution would be just reformat "C:" as reiserfs and mount it somewhere useful. 7G is probably a good size for /usr/portage if you change PORTAGE_TMPDIR to be under that directory as well.

(Mount is somewhere temporary copy all accross then free up the space on /)

mount -t reiserfs /dev/hda1 /tmp/portage
cp -a .............
umount .....
mount -t reiserfs /dev/hda1 /usr/portage

if all looks well umount hda1 , rm -rf /usr/portage to free up your main partition then remount the new partn.

Now move your PORTAGE_TMPDIR (see /etc/make.conf) to /usr/portage/tmp for ex.

Work out the details, that way I'm not responsible to sytax errors screwing your system!

HTH
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Sun Jul 25, 2004 10:49 pm    Post subject: Reply with quote

Hi,

Couldn't figure out what to do with the 7Gig reiserfs then. Why would I want/need it?

Cheers,

Paulo Matos

Gentree wrote:
Post your partition details so we can see clearly what you are talking about.

I did manage to resize my *extended* partition without affecting the logical partiitions on it by using qtparted on a Linux rescue CD (search for it , its an ISO image you can burn to boot from with a hanfful of useful tools , or use a Knoppix to boot.)

I have my doubts about the more recent qtparted version in portage.


Probably the simplest and safest solution would be just reformat "C:" as reiserfs and mount it somewhere useful. 7G is probably a good size for /usr/portage if you change PORTAGE_TMPDIR to be under that directory as well.

(Mount is somewhere temporary copy all accross then free up the space on /)

mount -t reiserfs /dev/hda1 /tmp/portage
cp -a .............
umount .....
mount -t reiserfs /dev/hda1 /usr/portage

if all looks well umount hda1 , rm -rf /usr/portage to free up your main partition then remount the new partn.

Now move your PORTAGE_TMPDIR (see /etc/make.conf) to /usr/portage/tmp for ex.

Work out the details, that way I'm not responsible to sytax errors screwing your system!

HTH
8)

_________________
Paulo Matos
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Jul 25, 2004 11:42 pm    Post subject: Reply with quote

What I'm trying to tell you is that you dont need all the hassle of resizing your partition.
You can plug another partition into the file tree at any point on unix/linux.

Just reformat your old win c: and mount it somewhere where you can use the space. I suggested portage but if you have a better idea....

Read some of the basic gentoo doc , it tells you how to setup partitions.

HTH 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Sun Jul 25, 2004 11:47 pm    Post subject: Reply with quote

Gentree wrote:
What I'm trying to tell you is that you dont need all the hassle of resizing your partition.
You can plug another partition into the file tree at any point on unix/linux.

Just reformat your old win c: and mount it somewhere where you can use the space. I suggested portage but if you have a better idea....

Read some of the basic gentoo doc , it tells you how to setup partitions.

HTH 8)



Oh, I got your idea. Thanks... I think I know what I'll use it for... Well, I'll check that out later.
_________________
Paulo Matos
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