You are not logged in.

#1 2012-03-30 13:58:26

ior
Member
Registered: 2012-03-30
Posts: 3

[SOLVED] Arch installation with crypt partition.

Briefly describe the system and how isconfigured.
sda RAID6 hardware (sda1 crypt-tmp, sda2 crypt-var, sda3 crypt-home,
sda4 win-home)
sdb SSD (sdb1 win-boot, sdb2 win)
sdc SSD (sdc1 root)

During the configuration of disks sdc1 selected as ext4, sda1- 2-3,
selected them as dm_crypt and mappers created as ext4.

/etc/mkinitcpio.conf
HOOKS="base udev autodetect pata sata scsi usb usbinput keymap encrypt
filesystems"

/etc/fstab
installing the system automatically

/etc/crypttab
tmp         /dev/sda1         ASK
var            /dev/sda2         ASK
home         /dev/sda3         ASK

At boot, when asked to write the password, Iwrite my own and all I get is:
No key available with this passphrase.

What could I have forget?

Last edited by ior (2012-04-01 10:13:57)

Offline

#2 2012-03-31 11:47:40

ior
Member
Registered: 2012-03-30
Posts: 3

Re: [SOLVED] Arch installation with crypt partition.

The proble is the keymap at boot before partition mount. If I use "us" key for my password, work. After partition mounting, system boot read rc.conf and set my keymap.
What can I do for set keymap at boot start?
Thanks

Offline

#3 2012-03-31 12:49:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Arch installation with crypt partition.

You need to have the keymap hook in your initramfs (which you have as I see it). The keymap that it'll use, is the one set in your /etc/rc.conf (which is also correct in your case if I understand correctly).

Try running "lsinitcpio /boot/initramfs-linux.img | grep keymap" (point to your correct initramfs image if it's named differently). If the keymap hook isn't in it for whatever reason, regenerate your initramfs (mkinitcpio -p linux).


Burninate!

Offline

#4 2012-04-01 10:15:07

ior
Member
Registered: 2012-03-30
Posts: 3

Re: [SOLVED] Arch installation with crypt partition.

Found error, I write kaymap in mkinitcpio
thanks

Offline

Board footer

Powered by FluxBB