[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

encrypted swap causing me troubles on boot



Hello:

I have one of the famous Eeepc's and I performed a hardware hack in order 
to expand internal drive storage space. So I have the internal ssd card (/
dev/sda) 4 GB and a usb stick soldered to one of the usb ports and held 
internally (/dev/sdb) 32 GB. 

So I used lvm to install. I have a boot partition /dev/sda1 which is 255M 
(a bit overkill I know) and the rest of sda is formatted for lvm with the 
volume group "system" which contains a root, usr, var partitions.

On /dev/sdb I set up a volume group "data" which contains swap, tmp, home 
all on encrypted lvm. 

The problem is that during the boot process uswsusp wants to access the 
swap partition to resume from but the crypto device is not yet available. 
Is there a kernel commandline option to mount the crypto device earlier? 
I suppose I will have to make a device node in /dev/.static/dev becuase 
it needs to mount before udev starts. Is this correct?

Thank you for any advice!

Zoho


Reply to: