[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reordering partitions?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

LeVA wrote:

> Hi!
> 
> I have one ide disk, which has 5 partitions:
> 
> boot [ root | home | work | swap ]
>  |      |      |      |      |
> hda1   hda5   hda6   hda8   hda7
> 
> Is there a way, to change the number of those two last partitions, so the
> `work' would be hda7, and the `swap' would be hda8?
> 
> Thanks!
> 
> Daniel
> 

Yes, And I've faced this problem a lot of times whenever I try to play with
my partition structure using parted.
I've done it a lot of times so don't worry, but yeah! don't run after me
with a gun if something goes wrong :-)

fdisk /dev/hda
x (Go to expert mode)
f (fix partition order)
w (write table to disk and exit)

Thats it.

Cheers!

rrs
- -- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is
research."
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC8RJE4Rhi6gTxMLwRAsHJAJ44PSfsHkZ9Y0NeXY5gp7TKrLbckQCgsTEb
VQghobULULRkVkDcuZGBWdc=
=uFKf
-----END PGP SIGNATURE-----



Reply to: