Boot fails: Kernel does not find the system device

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0














Update. This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




I run Parabola Linux with linux-libre kernel 4.11.9-gnu-1 and Libreboot on my computer.




Problem: I recently updated my system (pacman -Syu), and ever since my boot process fails.
Specifically, the kernel seems to fail to find the logical volume on which my actual system resides. The error I get is ERROR: device '/dev/aether/core/' not found. Skipping fsck.




Any help fixing or diagnosing this problem is greatly appreciated. My understanding is too little to fix this myself and I am quite desperate.



I will next describe the problem in more detail and, after that, I will describe what I have done so far.




This is my setup: I have a solid disk with a single, fully encrypted partition, on top of which I have a logical volume named core within a volume group named aether. My system / root directory lives on the logical volume core. (The disk is encrypted with cryptsetup, the logical volumes are managed with lvm.)



And here is what happens when I boot (as I interpret it).



Boot loader phase.



  1. Libreboot successfully loads GRUB.



  2. GRUB asks me for a passphrase to decrypt the encrypted partition.



    a. I type in a passphrase.



    b. GRUB sucessfully decrypts the encrypted partition.



  3. GRUB succesfully loads the kernel image and the initramfs.


Kernel phase. The following happens:




:: running early hook [udev]

:: running early hook [lvm2]

:: running hook [encrypt]
Waiting 10 seconds for device /dev/aether/core ...
[ 4.250559] sd 4:0:0:0: [sdb] No Caching mode page found.
[ 4.250612] sd 4:0:0:0: [sdb] Assuming drive cache: write through
ERROR: device '/dev/aether/core/' not found. Skipping fsck.
:: mounting '/dev/aether/core' on real root
mount: you must specify the filesystem type
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


I have left out some messages, indicated by . The full log is here, but I don’t think the rest is helpful.



GRUB is configured on the firmware of Libreboot. Here is the relevant part of my grub.cfg:



 cryptomount -a
set root=lvm/aether-core
linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉
initrd /boot/initramfs-linux-libre.img


I don’t think the problem lies with GRUB itself, though.




Things I have done. I have successfully chrooted into my system. From within, /dev/aether/core does exist. Both the passphrase and the keyfile successfully unlock the encrypted partition. I have also tried downgrading the kernel to 4.10.*- (some version where I know I could boot), but to no avail either: The problem remains.



This question concerns a similar problem. Mine is different in that, for one, the correct device name is quoted in my error message, and is not found anyhow; and, I can type in the emergency shell.





What is the problem here? How can I fix this?











share|improve this question























  • For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
    – k.stm
    Jul 23 '17 at 17:46










  • How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
    – Emmanuel Rosa
    Jul 23 '17 at 18:38











  • @EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
    – k.stm
    Jul 23 '17 at 19:01















0














Update. This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




I run Parabola Linux with linux-libre kernel 4.11.9-gnu-1 and Libreboot on my computer.




Problem: I recently updated my system (pacman -Syu), and ever since my boot process fails.
Specifically, the kernel seems to fail to find the logical volume on which my actual system resides. The error I get is ERROR: device '/dev/aether/core/' not found. Skipping fsck.




Any help fixing or diagnosing this problem is greatly appreciated. My understanding is too little to fix this myself and I am quite desperate.



I will next describe the problem in more detail and, after that, I will describe what I have done so far.




This is my setup: I have a solid disk with a single, fully encrypted partition, on top of which I have a logical volume named core within a volume group named aether. My system / root directory lives on the logical volume core. (The disk is encrypted with cryptsetup, the logical volumes are managed with lvm.)



And here is what happens when I boot (as I interpret it).



Boot loader phase.



  1. Libreboot successfully loads GRUB.



  2. GRUB asks me for a passphrase to decrypt the encrypted partition.



    a. I type in a passphrase.



    b. GRUB sucessfully decrypts the encrypted partition.



  3. GRUB succesfully loads the kernel image and the initramfs.


Kernel phase. The following happens:




:: running early hook [udev]

:: running early hook [lvm2]

:: running hook [encrypt]
Waiting 10 seconds for device /dev/aether/core ...
[ 4.250559] sd 4:0:0:0: [sdb] No Caching mode page found.
[ 4.250612] sd 4:0:0:0: [sdb] Assuming drive cache: write through
ERROR: device '/dev/aether/core/' not found. Skipping fsck.
:: mounting '/dev/aether/core' on real root
mount: you must specify the filesystem type
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


I have left out some messages, indicated by . The full log is here, but I don’t think the rest is helpful.



GRUB is configured on the firmware of Libreboot. Here is the relevant part of my grub.cfg:



 cryptomount -a
set root=lvm/aether-core
linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉
initrd /boot/initramfs-linux-libre.img


I don’t think the problem lies with GRUB itself, though.




Things I have done. I have successfully chrooted into my system. From within, /dev/aether/core does exist. Both the passphrase and the keyfile successfully unlock the encrypted partition. I have also tried downgrading the kernel to 4.10.*- (some version where I know I could boot), but to no avail either: The problem remains.



This question concerns a similar problem. Mine is different in that, for one, the correct device name is quoted in my error message, and is not found anyhow; and, I can type in the emergency shell.





What is the problem here? How can I fix this?











share|improve this question























  • For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
    – k.stm
    Jul 23 '17 at 17:46










  • How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
    – Emmanuel Rosa
    Jul 23 '17 at 18:38











  • @EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
    – k.stm
    Jul 23 '17 at 19:01













0












0








0







Update. This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




I run Parabola Linux with linux-libre kernel 4.11.9-gnu-1 and Libreboot on my computer.




Problem: I recently updated my system (pacman -Syu), and ever since my boot process fails.
Specifically, the kernel seems to fail to find the logical volume on which my actual system resides. The error I get is ERROR: device '/dev/aether/core/' not found. Skipping fsck.




Any help fixing or diagnosing this problem is greatly appreciated. My understanding is too little to fix this myself and I am quite desperate.



I will next describe the problem in more detail and, after that, I will describe what I have done so far.




This is my setup: I have a solid disk with a single, fully encrypted partition, on top of which I have a logical volume named core within a volume group named aether. My system / root directory lives on the logical volume core. (The disk is encrypted with cryptsetup, the logical volumes are managed with lvm.)



And here is what happens when I boot (as I interpret it).



Boot loader phase.



  1. Libreboot successfully loads GRUB.



  2. GRUB asks me for a passphrase to decrypt the encrypted partition.



    a. I type in a passphrase.



    b. GRUB sucessfully decrypts the encrypted partition.



  3. GRUB succesfully loads the kernel image and the initramfs.


Kernel phase. The following happens:




:: running early hook [udev]

:: running early hook [lvm2]

:: running hook [encrypt]
Waiting 10 seconds for device /dev/aether/core ...
[ 4.250559] sd 4:0:0:0: [sdb] No Caching mode page found.
[ 4.250612] sd 4:0:0:0: [sdb] Assuming drive cache: write through
ERROR: device '/dev/aether/core/' not found. Skipping fsck.
:: mounting '/dev/aether/core' on real root
mount: you must specify the filesystem type
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


I have left out some messages, indicated by . The full log is here, but I don’t think the rest is helpful.



GRUB is configured on the firmware of Libreboot. Here is the relevant part of my grub.cfg:



 cryptomount -a
set root=lvm/aether-core
linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉
initrd /boot/initramfs-linux-libre.img


I don’t think the problem lies with GRUB itself, though.




Things I have done. I have successfully chrooted into my system. From within, /dev/aether/core does exist. Both the passphrase and the keyfile successfully unlock the encrypted partition. I have also tried downgrading the kernel to 4.10.*- (some version where I know I could boot), but to no avail either: The problem remains.



This question concerns a similar problem. Mine is different in that, for one, the correct device name is quoted in my error message, and is not found anyhow; and, I can type in the emergency shell.





What is the problem here? How can I fix this?











share|improve this question















Update. This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




I run Parabola Linux with linux-libre kernel 4.11.9-gnu-1 and Libreboot on my computer.




Problem: I recently updated my system (pacman -Syu), and ever since my boot process fails.
Specifically, the kernel seems to fail to find the logical volume on which my actual system resides. The error I get is ERROR: device '/dev/aether/core/' not found. Skipping fsck.




Any help fixing or diagnosing this problem is greatly appreciated. My understanding is too little to fix this myself and I am quite desperate.



I will next describe the problem in more detail and, after that, I will describe what I have done so far.




This is my setup: I have a solid disk with a single, fully encrypted partition, on top of which I have a logical volume named core within a volume group named aether. My system / root directory lives on the logical volume core. (The disk is encrypted with cryptsetup, the logical volumes are managed with lvm.)



And here is what happens when I boot (as I interpret it).



Boot loader phase.



  1. Libreboot successfully loads GRUB.



  2. GRUB asks me for a passphrase to decrypt the encrypted partition.



    a. I type in a passphrase.



    b. GRUB sucessfully decrypts the encrypted partition.



  3. GRUB succesfully loads the kernel image and the initramfs.


Kernel phase. The following happens:




:: running early hook [udev]

:: running early hook [lvm2]

:: running hook [encrypt]
Waiting 10 seconds for device /dev/aether/core ...
[ 4.250559] sd 4:0:0:0: [sdb] No Caching mode page found.
[ 4.250612] sd 4:0:0:0: [sdb] Assuming drive cache: write through
ERROR: device '/dev/aether/core/' not found. Skipping fsck.
:: mounting '/dev/aether/core' on real root
mount: you must specify the filesystem type
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#


I have left out some messages, indicated by . The full log is here, but I don’t think the rest is helpful.



GRUB is configured on the firmware of Libreboot. Here is the relevant part of my grub.cfg:



 cryptomount -a
set root=lvm/aether-core
linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉
initrd /boot/initramfs-linux-libre.img


I don’t think the problem lies with GRUB itself, though.




Things I have done. I have successfully chrooted into my system. From within, /dev/aether/core does exist. Both the passphrase and the keyfile successfully unlock the encrypted partition. I have also tried downgrading the kernel to 4.10.*- (some version where I know I could boot), but to no avail either: The problem remains.



This question concerns a similar problem. Mine is different in that, for one, the correct device name is quoted in my error message, and is not found anyhow; and, I can type in the emergency shell.





What is the problem here? How can I fix this?








linux boot linux-kernel lvm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 15 at 19:26

























asked Jul 23 '17 at 15:25









k.stm

268417




268417











  • For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
    – k.stm
    Jul 23 '17 at 17:46










  • How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
    – Emmanuel Rosa
    Jul 23 '17 at 18:38











  • @EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
    – k.stm
    Jul 23 '17 at 19:01
















  • For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
    – k.stm
    Jul 23 '17 at 17:46










  • How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
    – Emmanuel Rosa
    Jul 23 '17 at 18:38











  • @EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
    – k.stm
    Jul 23 '17 at 19:01















For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
– k.stm
Jul 23 '17 at 17:46




For some reason, I now coud boot. I do not know what possibly could have changed. I am afraid to reboot now.
– k.stm
Jul 23 '17 at 17:46












How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
– Emmanuel Rosa
Jul 23 '17 at 18:38





How did you chroot into the system? Perhaps your initramfs is not doing an LVM scan.
– Emmanuel Rosa
Jul 23 '17 at 18:38













@EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
– k.stm
Jul 23 '17 at 19:01




@EmmanuelRosa I booted the computer from a live usb stick (a parabola system), I unlocked the encrypted partition, mounted the logical volume and chrooted it using arch-chroot. My initramfs did before the last update – do you have an idea why that might have changed?
– k.stm
Jul 23 '17 at 19:01










2 Answers
2






active

oldest

votes


















0














A guess is that you are relying on some udev naming that doesn't exist in the initramfs. I.e. the encrypted partition gets decrypted, but not linked to /dev/aether/core.



I'd recommend trying to specify the root partition by UUID, or name, or use the device name that you used to chroot to.



All of that, assuming that you are not using LVM on top of the encryption.






share|improve this answer




















  • I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
    – k.stm
    Dec 15 at 19:22


















0














As said in the update:




This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




But more likely, this has been simply a kernel bug.



However, I have had a similar problem in the meantime. (Or maybe even the exact same, I can’t remember.) The solution was to use different UUIDs in the GRUB configuration – one for GRUB and one for Linux. Specifically, in the line



linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉


the ⟨uuid of the encrypted partition⟩ should read with hyphens, whereas the ⟨uuid of the encrypted partition⟩ in



cryptomount -u ⟨uuid of the encrypted partition⟩


should read without hyphens. (This line would replace the cryptomount -a line in the original question.)






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381270%2fboot-fails-kernel-does-not-find-the-system-device%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    A guess is that you are relying on some udev naming that doesn't exist in the initramfs. I.e. the encrypted partition gets decrypted, but not linked to /dev/aether/core.



    I'd recommend trying to specify the root partition by UUID, or name, or use the device name that you used to chroot to.



    All of that, assuming that you are not using LVM on top of the encryption.






    share|improve this answer




















    • I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
      – k.stm
      Dec 15 at 19:22















    0














    A guess is that you are relying on some udev naming that doesn't exist in the initramfs. I.e. the encrypted partition gets decrypted, but not linked to /dev/aether/core.



    I'd recommend trying to specify the root partition by UUID, or name, or use the device name that you used to chroot to.



    All of that, assuming that you are not using LVM on top of the encryption.






    share|improve this answer




















    • I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
      – k.stm
      Dec 15 at 19:22













    0












    0








    0






    A guess is that you are relying on some udev naming that doesn't exist in the initramfs. I.e. the encrypted partition gets decrypted, but not linked to /dev/aether/core.



    I'd recommend trying to specify the root partition by UUID, or name, or use the device name that you used to chroot to.



    All of that, assuming that you are not using LVM on top of the encryption.






    share|improve this answer












    A guess is that you are relying on some udev naming that doesn't exist in the initramfs. I.e. the encrypted partition gets decrypted, but not linked to /dev/aether/core.



    I'd recommend trying to specify the root partition by UUID, or name, or use the device name that you used to chroot to.



    All of that, assuming that you are not using LVM on top of the encryption.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 15 at 18:59









    V13

    2,799613




    2,799613











    • I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
      – k.stm
      Dec 15 at 19:22
















    • I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
      – k.stm
      Dec 15 at 19:22















    I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
    – k.stm
    Dec 15 at 19:22




    I had the partition specified by UUID. However, the issue has been resolved after some kernel update in December 2017. The question is obsolete now. I’ll update it.
    – k.stm
    Dec 15 at 19:22













    0














    As said in the update:




    This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




    But more likely, this has been simply a kernel bug.



    However, I have had a similar problem in the meantime. (Or maybe even the exact same, I can’t remember.) The solution was to use different UUIDs in the GRUB configuration – one for GRUB and one for Linux. Specifically, in the line



    linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉


    the ⟨uuid of the encrypted partition⟩ should read with hyphens, whereas the ⟨uuid of the encrypted partition⟩ in



    cryptomount -u ⟨uuid of the encrypted partition⟩


    should read without hyphens. (This line would replace the cryptomount -a line in the original question.)






    share|improve this answer

























      0














      As said in the update:




      This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




      But more likely, this has been simply a kernel bug.



      However, I have had a similar problem in the meantime. (Or maybe even the exact same, I can’t remember.) The solution was to use different UUIDs in the GRUB configuration – one for GRUB and one for Linux. Specifically, in the line



      linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉


      the ⟨uuid of the encrypted partition⟩ should read with hyphens, whereas the ⟨uuid of the encrypted partition⟩ in



      cryptomount -u ⟨uuid of the encrypted partition⟩


      should read without hyphens. (This line would replace the cryptomount -a line in the original question.)






      share|improve this answer























        0












        0








        0






        As said in the update:




        This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




        But more likely, this has been simply a kernel bug.



        However, I have had a similar problem in the meantime. (Or maybe even the exact same, I can’t remember.) The solution was to use different UUIDs in the GRUB configuration – one for GRUB and one for Linux. Specifically, in the line



        linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉


        the ⟨uuid of the encrypted partition⟩ should read with hyphens, whereas the ⟨uuid of the encrypted partition⟩ in



        cryptomount -u ⟨uuid of the encrypted partition⟩


        should read without hyphens. (This line would replace the cryptomount -a line in the original question.)






        share|improve this answer












        As said in the update:




        This issue has been resolved by a kernel update in December 2017. I could not figure out what the problem had been – but in hindsight, coming from another problem I had in the meantime, it might have stemmed from compatibility issues in writing a disk UIID with or without hyphens: Linux wants hyphens, but GRUB doesn’t.




        But more likely, this has been simply a kernel bug.



        However, I have had a similar problem in the meantime. (Or maybe even the exact same, I can’t remember.) The solution was to use different UUIDs in the GRUB configuration – one for GRUB and one for Linux. Specifically, in the line



        linux /boot/vmlinuz-linux-libre root=/dev/aether/core cryptdevice=/dev/disk/by-uuid/〈uuid of the encrypted partition〉:core cryptkey=rootfs:/etc/〈keyfile〉


        the ⟨uuid of the encrypted partition⟩ should read with hyphens, whereas the ⟨uuid of the encrypted partition⟩ in



        cryptomount -u ⟨uuid of the encrypted partition⟩


        should read without hyphens. (This line would replace the cryptomount -a line in the original question.)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 15 at 19:37









        k.stm

        268417




        268417



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381270%2fboot-fails-kernel-does-not-find-the-system-device%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)