[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
move 5 xxx.xx End?
From: |
Mathias Koerber |
Subject: |
move 5 xxx.xx End? |
Date: |
Tue, 09 Jul 2002 13:04:37 +0800 |
Hi
My old partition table looked like this:
print
Disk geometry for /dev/hda: 0.000-11513.250 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 62.753 primary ext3 boot
2 62.754 188.261 primary linux-swap
3 188.262 1686.511 primary ext3
4 1686.511 11507.497 extended
5 1686.542 3184.760 logical ext3
6 3184.792 4180.979 logical ext3
7 4181.010 4683.010 logical ext3
8 4683.041 5185.041 logical ext3
9 5185.072 5687.072 logical ext3
10 5687.104 6087.128 logical ext3
11 6087.160 6487.185 logical ext3
12 6487.216 6785.266 logical ext3
13 6785.297 8291.359 logical ext3
1. I want to
a) expand partition 3 to at least 4GB
and therefore to move the extended partition
including all the other partitions towards the end
of the disk.
(parted) resize 4 1686.511 11513.250 - worked
next I´m trying to simply move partition 5 to the end
of the extended partition to create space in front:
(parted) move 5 8291.360
End?
Hmm. Why does parted ask me for an end here? The manual
says that specifying no end will keep the partition size
(which is what I want).
Simply pressing return does nothing, it asks again.
There should be sufficient space, I calculate the
end to be about 9789.578.
2. After moving partition 5, can I simply resize the
extended partition 4 using
(parted) resize 4 1686.542 11513.250
and will that keep all the partitions inside it
correctly set up?
3. Finally, I will delete partition 3 and recreate it
to take up all the space up to just before partition 4
(no need resizing, it will get a diff filesystem anyway),
and create a partition 14 at the end too. Those seem simple.
Any comments on this?
thanks
--
Mathias Koerber
address@hidden
- move 5 xxx.xx End?,
Mathias Koerber <=