You are not logged in.

#1 2008-07-30 12:05:13

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Can't boot using encrypted root/swap with keyfile stored on USB stick

I've encrypted / and swap (with unencrypted /boot) using a keyfile stored on USB stick.

I added

cryptkey=/dev/sdb1:vfat:/Aries

to the kernel line of GRUB ("/Aries" is the keyfile), but I can't boot my system.

It does detect the USB stick etc. but it hangs at

sd 2:0:0:0 [sdb] Attached SCSI removable disk

USB stick is a Kingston 8 GB FAT32.

Thank you very much.

Offline

#2 2008-08-18 12:26:21

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: Can't boot using encrypted root/swap with keyfile stored on USB stick

Nobody? tongue

Last edited by ekerazha (2008-08-18 12:26:32)

Offline

#3 2008-08-18 23:22:28

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Can't boot using encrypted root/swap with keyfile stored on USB stick

Did it ever work?  I would guess that usb was missing from your modules line in mkinitcpio.conf.

Offline

#4 2008-08-19 13:42:03

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: Can't boot using encrypted root/swap with keyfile stored on USB stick

colnago wrote:

Did it ever work?  I would guess that usb was missing from your modules line in mkinitcpio.conf.

No, it never worked... this is the first time I try to use a key which is on an external drive.

And usb is already in mkinitcpio.conf hmm

Offline

#5 2008-09-19 11:36:19

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: Can't boot using encrypted root/swap with keyfile stored on USB stick

Ok, there was a problem with a new line char inserted by nano in the middle of the grub kernel line.

But it still doesn't work, it says "Keyfile could not be opened. Reverting to passphrase." and I don't understand why. This is the support request I've opened: http://bugs.archlinux.org/task/11524

Any idea? Thank you very much.

Last edited by ekerazha (2008-09-19 11:37:04)

Offline

Board footer

Powered by FluxBB