Ask Your Question
0

How to resize an encrypted partition in Fedora?

asked 2011-11-26 21:45:44 -0500

subhendu gravatar image

updated 2011-11-27 21:33:17 -0500

sagarun gravatar image

i have fedora 16(verne) installed dual boot with win 7. i used the erase existing linux partition while installing it.Previously it was fedora 15. But after installing fedora 16 i checked the partition distribution and it said that the root partition is 50Gb!!!. I want to resize the partion to 20 gb. also my disk is encrypted.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
0

answered 2011-11-27 23:36:01 -0500

If you just did a fresh install, honestly it is probably easier to re-install and use manual partitioning to create a smaller encrypted root partition.

If you wish to resize an (LUKS) encrypted partition you will have to do so manually.

It will be a little more complicated if you are also using LVM.

For a guided walk through see :

https://help.ubuntu.com/community/ResizeEncryptedPartitions

That document was written for Ubuntu, so with a Fedora desktop CD you will not need to install additional packages.

zcat wrote a guide for re-sizing a LVM in fedora here :

http://fedoraunity.org/Members/zcat/shrink-lvm-for-new-partition

good luck to you.

edit flag offensive delete link more
0

answered 2011-11-27 18:35:14 -0500

dtbarne gravatar image

I had a similar experience yesterday.

My solution was to pop in the Fedora disk and boot from the disk and run the temporary version of Fedora. Then sudo yum install gparted in there and use gparted to format my partitions from there. Worked like a charm and both Win7 and Fedora still work fine.

edit flag offensive delete link more
0

answered 2011-11-27 08:10:17 -0500

rashid gravatar image

if someone post the porcedure for resizing the ext4 partition through parted.

then highly obliged.

regards,

rashid

edit flag offensive delete link more
0

answered 2011-11-26 22:18:47 -0500

yn1v gravatar image

Before any resizing: back up your data

Resizing may differ if you have LVM partitions or just ext4 partitions.

firts case lvm I will look at: lvm editing in fedora documentation

second case with ext4 (or ext3, ext2) I will use gparted ... if not installed you can get it by using: su -c "yum install gparted"

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-26 21:45:44 -0500

Seen: 5,936 times

Last updated: Nov 27 '11