View previous topic :: View next topic |
Author |
Message |
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Thu Jan 12, 2006 8:27 am Post subject: Rezise & Move pratitions ( Win & Lin ) |
|
|
So I originaly never intended to have windows on my current box - but the best laid plans... any who later I decided to install it again ( so I could once again play -that- mmorpg ), but windows would refuse to install on a extended partition not wanting to muck too much about with my partitions I choose to move my linux swap partition to an extended partition, and install windows on what was my swap partition.
Ofcourse now this has come back to haunt me as the swap partition was only 1g to begin with, and it seem every time I want to game I have to hunt down some thing to delete off the $WINDOWSROOT partition.
So the question;
Given this layout:
HDA# ( 120 gig total )
1 (100mb) /Boot
2 (1gig) Windows boot (FAT32/vfat)
3 (40gig) Gentoo root / ( ReiserFS )
4 Extended partition
<unpartitioned space>
5 (20gig) /Home ( ReiserFS )
6 (10gig) SecondaryWindows partition(FAT32/vfat)
What tool would you recomend to first shrink the extend partition, move the Gentoo root back a few gigs and then resize ( preferably non destructively ) the Windows Boot partition?
After the whole CHS/LBA disaster with PQ magic 7 im not going to trust that tool ever again, so something else please.
I usualy use QTparted from the sysresccd ( www.sysresccd.org ), but it has an unfortunate habbit of some times freezing or flat out refusing to let me do anything to the disk.
So..
* recomendations for tools?
* Will moving my '/' partition endanger my data ? ( ofcourse it will, but reasonably? and if so what tool do you recomend for doing a full partition back up? )
* after moving stuff about will I need to make changes to my boot loader? ( grub )
* How long should I expect the procedure to take?
* Various tools I've tried "complains" about the bios report of the hd beeing inacurate (C/H/S *sigh*), my current partition table works - how can I make the tool use that setup?
In advance "Thank you for your time"
/Guppy |
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Thu Jan 12, 2006 8:33 am Post subject: |
|
|
How about Gparted? I uset it, and i had no problems at all. |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Thu Jan 12, 2006 8:36 am Post subject: |
|
|
zietbukuel wrote: | How about Gparted? I uset it, and i had no problems at all. |
hmm.. trouble is I have only the one HD in the computer, so I would need a boot cd with it - any come to mind?
edit:
still leave the question of how to make sure it uses the fake CHS values used in the current partition table tho.. ( as I cant for the life of me recall what I used last time )
Last edited by guppy on Thu Jan 12, 2006 11:53 am; edited 1 time in total |
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Thu Jan 12, 2006 8:40 am Post subject: |
|
|
Gnoppix comes with Gparted. gnoppix its a livecd distro. |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Thu Jan 12, 2006 10:28 am Post subject: |
|
|
or use the gparted livecd |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Thu Jan 12, 2006 11:58 am Post subject: |
|
|
hmm..
http://gparted.sourceforge.net/features.php
Seems it cant move reiserfs partitions hopefully it can shrink them at the beginning of the partition and not just at then end - though that does not seem likely |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
|
Back to top |
|
|
frenkel Veteran
Joined: 13 May 2003 Posts: 1034 Location: .nl
|
Posted: Thu Jan 12, 2006 12:21 pm Post subject: |
|
|
parted (commandline tool) is on all the gentoo livecd's IIRC. |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Thu Jan 12, 2006 12:46 pm Post subject: |
|
|
frenkel wrote: | parted (commandline tool) is on all the gentoo livecd's IIRC. |
Well it seem I would indeed need to go with the comandline version to get reiserfs move-support.. but the version on the livecd is it compiled with libreiserfs support? guess ill find out
Thanks for the input on the tools! |
|
Back to top |
|
|
frenkel Veteran
Joined: 13 May 2003 Posts: 1034 Location: .nl
|
Posted: Thu Jan 12, 2006 1:46 pm Post subject: |
|
|
Yes, IIRC it is, I think I used it a few months back to modify some reiserfs partitions. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Jan 12, 2006 1:51 pm Post subject: |
|
|
The bootitng thing is also still an optie eh. At least it's graphical |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Thu Jan 12, 2006 7:22 pm Post subject: |
|
|
guppy wrote: | hmm..
http://gparted.sourceforge.net/features.php
Seems it cant move reiserfs partitions hopefully it can shrink them at the beginning of the partition and not just at then end - though that does not seem likely |
it's not possible to move the start of a reiserfsfilesystem. that's why you can't really move a reiserfspartition. Of course it's possible to copy it somewhere else. that way you've kind of moved it. |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Fri Jan 13, 2006 8:49 am Post subject: |
|
|
dreamer wrote: | guppy wrote: | hmm..
http://gparted.sourceforge.net/features.php
Seems it cant move reiserfs partitions hopefully it can shrink them at the beginning of the partition and not just at then end - though that does not seem likely |
it's not possible to move the start of a reiserfsfilesystem. that's why you can't really move a reiserfspartition. Of course it's possible to copy it somewhere else. that way you've kind of moved it. |
So Im guessing that using partimage to make an image, nuke the partiotion, recreate it 2 gig away and restore the partimage would not work either?
guess that leaves me with using tar for the job..
Having had some trouble with that in the past I have to ask;
supposing I've booted from cd and mounted the hd root partition in /mnt/root would
Code: | tar -cpf /mnt/smb/root.tar /mnt/root |
create a back up that would be usable? ( ie. proper permissions & ownerships, *not* store absolute paths, and what ever pitfalls there migth be. ) |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Fri Jan 13, 2006 12:53 pm Post subject: |
|
|
guppy wrote: |
<snip>
So Im guessing that using partimage to make an image, nuke the partiotion, recreate it 2 gig away and restore the partimage would not work either?
|
Although i've never used partimage i guess this should work. The fixed startpoint restriction has more to do with the 'repacker' which only can move data to the start and not away from it. |
|
Back to top |
|
|
|