Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-09-2009, 07:27 AM   #1
Registered: Aug 2006
Posts: 92

Rep: Reputation: 16
Resize ext4 partition with LUKS encryption

Hey guys,

I have a partition that is encrypted with LUKS with an ext4 fs on it. It is about 66% free, and I would like to resize it. I know its possible to resize ext4 and I know it is possible to resize a LUKS container, but I also have to resize my partition, and I was wondering how to get this all to work together. Thanks for any help!
Old 03-09-2009, 10:14 AM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Not that I've done it, but I would dismount ext4, then resize it, then close the LUKS container and resize it (making sure it is slightly bigger than the ext4 filesystem) then resize the partition with gparted or some such, making sure it is slightly larger than the LUKS container.

Backup first. Of course you could trust your backup and simply repartition and recreate the LUKS and ext4 and restore your files.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How secure LUKS/LVM disk encryption really is? <Ol>Origy Linux - Security 14 03-09-2009 12:09 PM
Recover encrypted LUKS partition itinlopez Linux - General 3 11-30-2008 02:20 AM
LUKS encryption question DarkpawT Linux - Software 4 11-05-2008 01:18 AM
luks encryption, swap and hibernate BCarey Slackware 6 04-15-2008 05:48 PM
System encryption with dm-crypt and luks? Zmyrgel Slackware 9 09-02-2006 10:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration