View previous topic :: View next topic |
Author |
Message |
pmatos Veteran

Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Sun Jul 25, 2004 8:18 pm Post subject: Deleting win partition |
|
|
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 |
|
 |
asic_architect n00b

Joined: 25 Jul 2004 Posts: 2
|
Posted: Sun Jul 25, 2004 9:34 pm Post subject: |
|
|
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 |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 10:27 pm Post subject: |
|
|
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
 _________________ 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 |
|
 |
pmatos Veteran

Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Sun Jul 25, 2004 10:49 pm Post subject: |
|
|
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
 |
_________________ Paulo Matos |
|
Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 11:42 pm Post subject: |
|
|
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  _________________ 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 |
|
 |
pmatos Veteran

Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Sun Jul 25, 2004 11:47 pm Post subject: |
|
|
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  |
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 |
|
 |
|