You are not logged in.

#1 2013-05-30 16:47:09

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 87

[solved] cryptkey /dev/disk/by-uuid doesn't work - udev does?!

Hello,

I have a cryptkey="/dev/disk/by-uuid/...:start:offset" option in my grub.cfg
This one doesnt work (no keyfile found).
But when I create a udev-rule which makes the device appear as /dev/foo (and add it to mkinitcpio.conf), the following works:
cryptkey="/dev/foo:start:offset"

on the other side, cryptdevice="/dev/disk/by-uuid/..." works fine.
So why can't I use the first option but have to setup this rule instead?
Or did I forget something?

Last edited by weltio (2013-05-30 19:29:07)

Offline

#2 2013-05-30 17:02:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] cryptkey /dev/disk/by-uuid doesn't work - udev does?!

If I had to wager a guess, I'd say that the UUID is wrong. There's not enough information here to confidently say why it fails.

Offline

#3 2013-05-30 19:28:33

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 87

Re: [solved] cryptkey /dev/disk/by-uuid doesn't work - udev does?!

Oh - no iam just retarded. The device /dev/sdb doenst have a uuid... of course not. So i guess the udev solution is the only possible one.

Offline

Board footer

Powered by FluxBB