Jump to content

invaliduser

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by invaliduser

  1. Hi,

    I wanted to give funtoo a try. However after installing the system as discribed in the wiki using the better-initramfs and an encrypted root partition, I cannot boot the system properly.

    After GRUB2 better-initramfs is giving me following message

    Mounting /proc...
    Mounting /sys...
    Create all the symlinks to /bin/busybox
    Mounting /dev (devtmpfs)...
    Scaning all disks for volume groups.
    No volume groups found
    Opening encrypted partition 'sdb4' and mapping to '/dev/mapper/enc_root'.
    Device /dev/sdb4 doesn't exist or access denied.
    'cryptsetup luksOpen --tries 25 --allow-discards /dev/sdb4 enc_root' failed
    

    and the system is dropping to a rescue shell.

    GRUB2 menu entry:

    insmod part_msdos
    insmod ext2
    set root=(hostdisk//dev/sdb,msdos3)
    search --no-floppy --fs-uuid --set 7b0e976c-833f-4bbc-a71e-51afdf705e77
    linux /kernel-genkernel-x86_64-3.18.11-gentoo enc_root=/dev/sdb4 lvm luks root=/dev/mapper/vg-root rootfstype=auto
    initrd /initramfs.cpio.gz
    set gfxpayload=keep
    

    Via using the rescue shell, I cannot find any devices in /dev/sdX. I am using a M.2 SSD as sdb, do I need any special configuration for that? However, sda is a classical sata hdd which should be found by the system without causing problems.

    The boot partition is on sdb3 (ext2) while the rest (root,swap) is on encrypted sdb4 using luks and lvm.

    Using the live "cd" and encrypting the device by hand works, however I have to set the logical volumes to "active" by hand - don't know why this is necessary :huh:

     

    Any help appreciated :)

×
×
  • Create New...