You are not logged in.

#1 2014-05-18 19:54:37

Lucci95
Member
Registered: 2014-05-18
Posts: 6

[FDE] Full Disk Encryption with DM-crypt, system does not boot

Hi,
I wanted to receive a system with FullDiscEncryption
https://wiki.archlinux.org/index.php/Dm … ire_system

METHOD: Simple partition layout with LUKS


I did this:

//sda1 for boot, +bootflag, 300MB,type linux
//sda2 for root, rest, type linux

# cryptsetup -y -v luksFormat /dev/sda2
# cryptsetup open /dev/sda2 cryptroot
# mkfs -t ext4 /dev/mapper/cryptroot
# mount -t ext4 /dev/mapper/cryptroot /mnt

# mkfs -t ext4 /dev/sda1
# mkdir /mnt/boot
# mount -t ext4 /dev/sda1 /mnt/boot

# pacstrap /mnt base
# genfstab -p /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

// ANPASSUNGEN:
// etc/mkinitcpio.conf
// HOOKS="... encrypt ... filesystems ..."

# mkinitcpio -p linux

# pacman -S syslinux
# syslinux-install_update -i -a -m

# vi /boot/syslinux/syslinux.cfg
...
LABEL arch
        ...
        APPEND cryptdevice=/dev/sdaX:cryptroot    // (root=/dev/sda3 rw I removed this)
       
#passwd
#reboot

Now the system does not boot any more, I'm sure that my fault exists int he APPEND Config File. Any Ideas?

Last edited by Lucci95 (2014-05-18 20:27:03)

Offline

#2 2014-05-18 20:06:50

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [FDE] Full Disk Encryption with DM-crypt, system does not boot

Hallo Lucci95, willkommen zu Arch smile
Haben sie die Deutsch-Seite versucht?
Ich spreche kein Deutsch sad


Jin, Jîyan, Azadî

Offline

#3 2014-05-18 20:09:19

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [FDE] Full Disk Encryption with DM-crypt, system does not boot

Welcome to the forums, Lucci95. On most of the forums/sub-forums here users are expected to use English as the "official" language; there is another forum (the Other Languages forum) in which you can write in your mother tongue. I am pretty certain we have a number of veteran Archers who speak fluent German. wink I am going to report this thread to the moderators for moving to Other Languages; you will probably find it and any responses to your query there the next time you log in.

Offline

#4 2014-05-18 20:12:33

Lucci95
Member
Registered: 2014-05-18
Posts: 6

Re: [FDE] Full Disk Encryption with DM-crypt, system does not boot

oh sry,thought to be on the german one. I translate it within 2 min big_smile

Last edited by Lucci95 (2014-05-18 20:18:28)

Offline

#5 2014-05-19 11:42:20

Lucci95
Member
Registered: 2014-05-18
Posts: 6

Re: [FDE] Full Disk Encryption with DM-crypt, system does not boot

with

root=/dev/mapper/cryptroot

I receive:

ERROR: Failed to open encryption mapping: the device /dev/sda2 is not a LUKS Volume and the crypto= parameter was not specified.
ERROR: device /dev/mapper/cryptroot not found. 
Unable to find the root device /dev/mapper/cryptroot

With adding:

crypt=::::

  I receive:

Non-LUKS encrypted device found.

A Password is required to access the cryptroot volume:
Enter passphrase:
Verify passphrase:

Error: The superblock /dev/mapper/cryptroot could not be read or does not describe a correct ext4 filesystem.

Last edited by Lucci95 (2014-05-19 11:42:47)

Offline

Board footer

Powered by FluxBB