Hello,
I hope somebody can help me.
I have the following partitions setup
Code:
Disk geometry for /dev/hdb: 0.000-176700.234 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext3 boot
2 101.975 109889.934 primary ext3
3 109889.934 127076.660 primary ext3
4 127076.660 176699.311 extended lba
5 127076.691 141196.289 logical ext3
6 141196.320 149040.527 logical ext3
7 149040.558 156884.765 logical ext3
8 156884.796 157402.485 logical linux-swap
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb3 17322592 13786204 2656428 84% /
/dev/hdb1 101089 9324 86546 10% /boot
none 127632 0 127632 0% /dev/shm
/dev/hdb7 7906164 32872 7471672 1% /tmp
/dev/hdb2 110658340 2724448 102312752 3% /usr
/dev/hdb5 14231504 90944 13417640 1% /var
/dev/hdb6 7906164 39696 7464848 1% /var/log
I want to resize /dev/hdb2 (/usr) by making it smaller, and then with the leftover space create a new partition, /dev/hdb9 which will be /data.
I understand I can use parted to do the resize. My worry is that /dev/hdb2 is a primary partition and the leftover space I have is outside the range of the logical partions.I already have 4 primary partitions.
How can I make this new partition be part of the extended area?
Or can I change the starting point of the extended area with a 'resize' so that it corresponds to the start of /dev/hdb3 (/) , convert /dev/hdb3 to logical and then make /dev/hdb9 primary?
Thanks
D.