LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-09-2009, 07:27 AM   #1
wsduvall
Member
 
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
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,549
Blog Entries: 12

Rep: Reputation: 177Reputation: 177
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:17 PM.

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