Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rezise & Move pratitions ( Win & Lin )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Thu Jan 12, 2006 8:27 am    Post subject: Rezise & Move pratitions ( Win & Lin ) Reply with quote

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
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Thu Jan 12, 2006 8:33 am    Post subject: Reply with quote

How about Gparted? I uset it, and i had no problems at all. :wink:
Back to top
View user's profile Send private message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Thu Jan 12, 2006 8:36 am    Post subject: Reply with quote

zietbukuel wrote:
How about Gparted? I uset it, and i had no problems at all. :wink:

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
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Thu Jan 12, 2006 8:40 am    Post subject: Reply with quote

Gnoppix comes with Gparted. gnoppix its a livecd distro.
Back to top
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Thu Jan 12, 2006 10:28 am    Post subject: Reply with quote

or use the gparted livecd
Back to top
View user's profile Send private message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Thu Jan 12, 2006 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Jan 12, 2006 12:09 pm    Post subject: Reply with quote

You could try the partition manager at http://www.bootitng.com/bootitng.html. It should be able to resize/move everything.
Back to top
View user's profile Send private message
frenkel
Veteran
Veteran


Joined: 13 May 2003
Posts: 1034
Location: .nl

PostPosted: Thu Jan 12, 2006 12:21 pm    Post subject: Reply with quote

parted (commandline tool) is on all the gentoo livecd's IIRC.
Back to top
View user's profile Send private message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Thu Jan 12, 2006 12:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
frenkel
Veteran
Veteran


Joined: 13 May 2003
Posts: 1034
Location: .nl

PostPosted: Thu Jan 12, 2006 1:46 pm    Post subject: Reply with quote

Yes, IIRC it is, I think I used it a few months back to modify some reiserfs partitions.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Jan 12, 2006 1:51 pm    Post subject: Reply with quote

The bootitng thing is also still an optie eh. At least it's graphical :)
Back to top
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Thu Jan 12, 2006 7:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Fri Jan 13, 2006 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Fri Jan 13, 2006 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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