Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20/21 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd December 2010, 09:09 AM
Ben.Hahlen Offline
Registered User
 
Join Date: Nov 2005
Location: Netherlands
Age: 31
Posts: 27
linuxfedorafirefox
Minimal Install - Problem with encrypted root fs

All,

I like to do a minimal install, and then run some of my own scripts to install the rest of the packages I need, so to keep a lean system.
When installing F14 with a partitioning scheme as follows:
Code:
/boot - 500MB
LVM
 - swap - 2048 MB
 - / - 15GB
 - /home - Rest of file system - Encrypted
Everything works fine and the encryption works with no problem.
However, as a friend pointed out to me, if you partition as follows:
Code:
/boot - 100MB
/ - Rest of filesystem - Encrypted
You are not able to boot the system when doing a minimal install. Meaning: you get up to the point to where you need to enter your password to decrypt the filesystem, and then nothing but..., well, nothing.
However, and here it gets interesting, if you use the same partition layout, and you install the "Graphical Desktop", everything works fine.

As I can not understand why this happens, I am currently testing a partition setup like so:
Code:
/boot - 100MB
LVM - Encrypted
 - / - Rest of filesystem
Just to see if that works.

Anyhow: to make a long story short: It seems that the minimal install "forgets" to add some packages which are needed to decrypt the filesystem. Does anyone know which package this could be or why this occurs, so it can be added as part of the minimal install?

Thanks in advance
Reply With Quote
  #2  
Old 2nd December 2010, 10:04 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,898
linuxfedorafirefox
Re: Minimal Install - Problem with encrypted root fs

Minor point

/boot is too small - the recommended minimum is 400MB, and I
personally prefer 1GB to stay ahead of the growing need (well... it also
lets me keep more experimental kernels..).
Reply With Quote
  #3  
Old 2nd December 2010, 11:59 AM
Ben.Hahlen Offline
Registered User
 
Join Date: Nov 2005
Location: Netherlands
Age: 31
Posts: 27
linuxfedorafirefox
Re: Minimal Install - Problem with encrypted root fs

Actually, the recommended minimum is 250MB, however, as it says, it is only a recommendation.
As also stated in the docs, you should count for about 10MB per installed kernel, and you usually (by default) keep a maximum of 3 or 4. So I don't think that that will be a problem. Especially not since he has been using this set-up for years, and has worked every time.

Anyhow: back to the issue at hand:
Code:
/boot - 100MB
LVM - Encrypted
 - / - Rest of filesystem
works without a problem, which makes it even more interesting...
Reply With Quote
  #4  
Old 2nd December 2010, 05:08 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,898
linuxfedorafirefox
Re: Minimal Install - Problem with encrypted root fs

A 250MB /boot has been reported to fail during some preupgrades, and
I think it also depends on how many patches/updates are applied to the
system and grub.

I do know I keep more than 3 kernels around - I have four now, and
before I upgrade to 14, I will have 6, and an alternate root.
Reply With Quote
  #5  
Old 2nd December 2010, 08:41 PM
Ben.Hahlen Offline
Registered User
 
Join Date: Nov 2005
Location: Netherlands
Age: 31
Posts: 27
windows_7firefox
Re: Minimal Install - Problem with encrypted root fs

Apart from that being that totally off-topic, he doesn't keep more than 3. Also, he doesn't do pre-upgrade. In fact, I think he even deleted the pre-upgrade package.
Can we get back to the topic now please?
Reply With Quote
Reply

Tags
encrypted, install, minimal, problem, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyfile for encrypted root partition moljac024 Using Fedora 4 14th July 2010 04:55 PM
Unlocking a LUKS encrypted root partition via ssh icy-flame Security and Privacy 2 20th May 2010 11:45 PM
selinux on encrypted root parish Using Fedora 3 5th November 2009 07:13 PM
Encrypted root with USB key? uven Security and Privacy 4 18th November 2008 06:57 PM
Encrypted Root Drive using loop-AES Noid Security and Privacy 2 6th July 2004 05:51 AM


Current GMT-time: 06:14 (Sunday, 21-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Starhill Gallery, Bukit Bintang Travel Photos - Lagoa do Fogo - Oddly Correct Instagram Photos