Autor Thema: cryptsetup schon beim booten defekt?  (Gelesen 998 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline donbruno

  • Neuling
  • *
  • Beiträge: 40
  • Desktop: i3
  • Grafikkarte: Intel Device 191b/NVIDIA GeForce GTX 960M
  • Kernel: 4.5.2
  • Prozessor: i7-6700HQ
  • Skill: Anfänger
  • Zweig: testing
cryptsetup schon beim booten defekt?
« am: 06. Januar 2016, 17:18:58 »
egal, welchen Kernel ich starte, bekomme ich immer Fehlermeldungen:

das etwas mit dem cryptsetup nicht stimmt, was dann zur Folge hat, das ich den Kernel 4.4. nicht benutzen kann, weil er die Swap-Partition nicht findet.

beim 4.1.15 wird zwar gemeckert, das cryptsetup nicht ordentlich ist, aber ich kann durchbooten, was beim 4.4. nicht geht.

siehe auch https://de.manjaro.org/index.php?topic=4935.0

an 04 22:50:06 donbruno systemd-tty-ask-password-agent[544]: Invalid password file /run/systemd/ask-password/ask.MLfw6i
Jan 04 22:50:06 donbruno systemd-tty-ask-password-agent[544]: Failed to show password: Bad message
Jan 04 22:50:08 donbruno systemd[1]: Found device /dev/mapper/home.
Jan 04 22:50:08 donbruno systemd[1]: Started Cryptography Setup for home.
Jan 04 22:50:08 donbruno systemd-cryptsetup[380]: Failed to activate: Device or resource busy
Jan 04 22:50:08 donbruno systemd[1]: systemd-cryptsetup@cryptManjaroHome.service: Main process exited, code=exited, status=1/FAILURE
Jan 04 22:50:08 donbruno systemd[1]: Failed to start Cryptography Setup for cryptManjaroHome.
Jan 04 22:50:08 donbruno systemd[1]: Dependency failed for Encrypted Volumes.
Jan 04 22:50:08 donbruno systemd[1]: cryptsetup.target: Job cryptsetup.target/start failed with result 'dependency'.
Jan 04 22:50:08 donbruno systemd[1]: Dependency failed for dev-mapper-cryptManjaroHome.device.
Jan 04 22:50:08 donbruno systemd[1]: Dependency failed for /home.
Jan 04 22:50:08 donbruno systemd[1]: Dependency failed for Local File Systems.
Jan 04 22:50:08 donbruno systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
Jan 04 22:50:08 donbruno systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
Jan 04 22:50:08 donbruno systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
Jan 04 22:50:08 donbruno systemd[1]: dev-mapper-cryptManjaroHome.device: Job dev-mapper-cryptManjaroHome.device/start failed with result 'dependency'.
Jan 04 22:50:08 donbruno systemd[1]: systemd-cryptsetup@cryptManjaroHome.service: Unit entered failed state.
Jan 04 22:50:08 donbruno systemd[1]: systemd-cryptsetup@cryptManjaroHome.service: Failed with result 'exit-code'.

-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-mapper-home.device has failed.
--
-- The result is dependency.
Jan 06 16:02:23 donbruno systemd[1]: dev-mapper-home.device: Job dev-mapper-home.device/start failed with result 'dependency'.
Jan 06 16:02:23 donbruno systemd[1]: systemd-cryptsetup@home.service: Unit entered failed state.
Jan 06 16:02:23 donbruno systemd[1]: systemd-cryptsetup@home.service: Failed with result 'exit-code'.


lsblk -f
nvme0n1                                                                           
├─nvme0n1p1          vfat        UEFI_SYSTEM 5BB6-1ADF                            /boot/efi
├─nvme0n1p2          ext2        ManjaroBoot b9ddd761-cf56-4b51-a19a-5c022463aba8 /boot
├─nvme0n1p3          crypto_LUKS             ebb39af5-bd3a-4c6a-961d-60d783bf3440
│ └─cryptManjaro     ext4        ManjaroRoot c523fc4b-4ed6-4c70-8b3b-4428782dc471 /
├─nvme0n1p4          crypto_LUKS             9ddc25ae-839a-4750-86a6-aa95d2fdb4f5
│ └─cryptManjaroHome ext4        ManjaroHome 79188614-6c35-423f-bb9a-98389a2e302a /home
└─nvme0n1p5          swap        ManjaroSwap 57697475-e7dd-4d82-aa66-311581a31d14 [SWAP]

/etc/fstab
UUID=5BB6-1ADF                            /boot/efi      vfat    defaults,noatime 0       2
UUID=57697475-e7dd-4d82-aa66-311581a31d14 swap           swap    defaults,noatime 0       2
/dev/mapper/cryptManjaroHome              /home          ext4    defaults   0       0
UUID=b9ddd761-cf56-4b51-a19a-5c022463aba8 /boot          ext2    defaults,noatime 0       2
UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440 /              ext4    defaults,noatime 0       1

grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.4rc8-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.4-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.4-x86_64.img
}
submenu 'Erweiterte Optionen für Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
menuentry 'Manjaro Linux (Kernel: 4.4rc8-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4rc8-1-MANJARO x64-advanced-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.4rc8-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.4-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.4-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 4.4rc8-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4rc8-1-MANJARO x64-fallback-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.4rc8-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.4-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.4-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 4.3.3-3-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.3-3-MANJARO x64-advanced-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.3.3-3-MANJARO x64 wird geladen …'
linux /vmlinuz-4.3-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.3-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 4.3.3-3-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.3-3-MANJARO x64-fallback-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.3.3-3-MANJARO x64 wird geladen …'
linux /vmlinuz-4.3-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.3-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 4.2.8-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.8-1-MANJARO x64-advanced-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.2.8-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.2-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.2-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 4.2.8-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.8-1-MANJARO x64-fallback-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.2.8-1-MANJARO x64 wird geladen …'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.1.15-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.1-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.1-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 4.1.15-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.1.15-1-MANJARO x64-fallback-c523fc4b-4ed6-4c70-8b3b-4428782dc471' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
else
  search --no-floppy --fs-uuid --set=root b9ddd761-cf56-4b51-a19a-5c022463aba8
fi
echo 'Linux 4.1.15-1-MANJARO x64 wird geladen …'
linux /vmlinuz-4.1-x86_64 root=UUID=c523fc4b-4ed6-4c70-8b3b-4428782dc471 rw cryptdevice=UUID=ebb39af5-bd3a-4c6a-961d-60d783bf3440:cryptManjaro resume=UUID=57697475-e7dd-4d82-aa66-311581a31d14 quiet splash i915.preliminary_hw_support=1
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-4.1-x86_64-fallback.img
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root  b9ddd761-cf56-4b51-a19a-5c022463aba8
        linux16 /memtest86+/memtest.bin
    }
fi
### END /etc/grub.d/60_memtest86+ ###


vielleicht kann jemand helfen, ich habe, bis auf die Einstellung mit dem i915... nichts geändert, wurde alles vom System so eingestellt, bei der Installation.

Offline philm

  • Administrator
  • ******
  • Beiträge: 70
  • Dankeschön: 11 mal
  • Skill: Anfänger
Re: cryptsetup schon beim booten defekt?
« Antwort #1 am: 06. Januar 2016, 23:22:59 »

Offline SpiritOfTux

  • Held Mitglied
  • *****
  • Beiträge: 1223
  • Dankeschön: 183 mal
    • https://twitter.com/SpiritOfTux
  • Desktop: KDE Plasma, Deepin
  • Grafikkarte: NVIDIA [GeForce GTX 1060] [GeForce GTX 560 Ti] [GeForce GT 635M]
  • Grafikkartentreiber: On: NB intel/nvidia, HTPC nvidia, PowerWorkStation nvidia
  • Kernel: 4.14.y LTS, 4.9.y LTS,
  • Prozessor: Notebook: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
  • Skill: Fortgeschritten
  • Zweig: stable 17.1.y on PowerWorkStation, NB, HTPC, Desktop:s: Testing or Unstable only VM
Vielen Dank, dass du diesen Artikel bei uns gelesen hast!  Wir würden uns sehr freuen, wenn du diesen ebenfalls im folgenden Abschnitt bewerten würdest.(Danke sagen) 
Nach hilfreichen Antworten suchen: Manjaro Forum | Manjaro Wiki | Arch Wiki | Arch WiKi on NB/PC : sudo pacman -S arch-wiki-man https://github.com/greg-js/arch-wiki-man#readme