LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 07-13-2023, 06:19 AM   #1
sh_to
LQ Newbie
 
Registered: Jul 2023
Posts: 1

Rep: Reputation: 0
Grub & Encryption Installation Problems


Hi

Yesterday I tried my first Arch installation on an XPS 13 9320.
I followed the installation instructions with one exception: encrypting /root and /home. My goal was to enter the password once to decrypt /root and then automatically decrypt /home using a keyfile on /root.

That's why I configured mkinitcpio.conf with the following hooks

HOOKS=(base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck)


How I tried to configure Grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet kbd_layout=de"
GRUB_INIT_TUNE="menu --timeout=3"

My problems with Grub(?)..:

1. Grub doesn't accept the keyboard configuration I want to use (de-latin1 or kbd_layout=de).
2. I have only one attempt to enter the password
3. The biggest problem: it won't accept my password even though I'm pretty sure I typed it correctly, even with US keymaps.

A bit more explanation on 3:

If I use the Arch iso and mount the encrypted partition: no problem. Even if I don't use the de-latin1 keymap. I think there is another reason why this fails. I've tried many times and I'm sure I entered the right password, even with a US keymap.

Do you have any idea how to solve this?

Thanks in advance!
Simon

PS I also posted this question on the Arch forums yesterday, but have not received an answer yet.
 
Old 07-22-2023, 01:42 AM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
https://wiki.archlinux.org/title/Dm-..._entire_system) shows many different examples. Please note that HOOKS entry in /etc/mkinitrd.conf is different almost every time and the ordering is import.

For the keyboard type detection, your issue may be as easy as adding 'keyboard' 'keymap' before the 'encrypt' hook.

Please check what kind of setup you have, adapt the settings accordingly and rebuild the mkinitcpio.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 06:10 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration