[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
deleting and resizing ext2 partitions
From: |
Tilman Sauerbeck |
Subject: |
deleting and resizing ext2 partitions |
Date: |
Mon, 10 Sep 2001 13:37:06 +0200 |
Hi all,
I still have some questions about parted, even after reading the
documentation :)
Disk geometry for /dev/hda: 0.000-14655.867 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 7.844 primary ext2 boot
2 7.844 196.105 primary linux-swap
3 196.106 290.236 primary ext2
4 290.237 14653.037 extended
5 290.268 478.498 logical ext2
6 478.529 2863.146 logical ext2
7 2863.178 14653.037 logical ext2
I want to do the following:
delete partition 1. This was my /boot partition, but I updated to a
recent version of LILO so I don't need a separate /boot partition
anymore.
I'd like to add the free space resulting from this to my swap partition.
As a third step, I want to shrink partition 6 or 7 and also add the
resulting free space to the swap partition.
I am not sure whether this is possible, please comment on this. IMHO it
would be great if there was another parted HOWTO or more examples...
One final question:
parted doesn't get the C/H/S values for my disk right, i.e. the values
are not the same like the ones the BIOS shows me. The values from the
BIOS seem to make more sense to me, so I should append
"hda=right-values" to my boot parameters, right?
Thanks in advance,
Tilman
- deleting and resizing ext2 partitions,
Tilman Sauerbeck <=