Fresh Arch install - Boot gets stuck at 'Loading initial ramdisk'

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












0















I'm trying to install Arch with LVM encryption on my HP Spectre x360.



These are my installation notes.



I tried doing it these three ways



  • Using window's EFI part so here the EFI partition is nvme0n1p2 (replacing nvme0n1p5 with nvme0n1p2 from the notes)

  • Creating an extra EFI part along with window's which my notes cover exactly. (new EFI part is nvme0n1p5)

  • Completely wiping the NVMe drive. (Replace nvme0n1p5 with nvme0n1p1, nvme0n1p6 with nvme0n1p2, nvme0n1p7 with nvme0n1p3 from the notes)

Following is same for each of those approaches.



The first problem I encounter is after arch's install and arch-chroot /mnt.



When I'm trying to run this command grub-mkconfig -o /boot/grub/grub.cfg



Pressing return does nothing. The command just sits there executing forever (longest I gave it was around 22hrs).



I tried this workaround and while it gets that grub command running



Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done


It fails to detect Widnows in case I have it installed.



And finally it leads me to the root problem in the title.



Grub comes up before a 'decryption' prompt. (I'm not sure if this is supposed to happen because I have another machine where I followed exact same notes and it prompts me for volgroup password before showing any splash screen.)



And after I select Arch Linux from grub boot options, the boot gets stuck at Loading initial ramdisk. I gave it around 5hrs but no luck.



Also I tried installing debian too. But it gets stuck right after I press Graphical Install. The middle 'screen' goes blank and just sits there.



What could be the problem?



  • Partition: GPT - UEFI

  • Secure Boot OFF

  • Installation media created with 'rufus'

  • Windows installs just fine.









share|improve this question






















  • Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

    – Pierre-Alain TORET
    Jan 3 at 14:10















0















I'm trying to install Arch with LVM encryption on my HP Spectre x360.



These are my installation notes.



I tried doing it these three ways



  • Using window's EFI part so here the EFI partition is nvme0n1p2 (replacing nvme0n1p5 with nvme0n1p2 from the notes)

  • Creating an extra EFI part along with window's which my notes cover exactly. (new EFI part is nvme0n1p5)

  • Completely wiping the NVMe drive. (Replace nvme0n1p5 with nvme0n1p1, nvme0n1p6 with nvme0n1p2, nvme0n1p7 with nvme0n1p3 from the notes)

Following is same for each of those approaches.



The first problem I encounter is after arch's install and arch-chroot /mnt.



When I'm trying to run this command grub-mkconfig -o /boot/grub/grub.cfg



Pressing return does nothing. The command just sits there executing forever (longest I gave it was around 22hrs).



I tried this workaround and while it gets that grub command running



Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done


It fails to detect Widnows in case I have it installed.



And finally it leads me to the root problem in the title.



Grub comes up before a 'decryption' prompt. (I'm not sure if this is supposed to happen because I have another machine where I followed exact same notes and it prompts me for volgroup password before showing any splash screen.)



And after I select Arch Linux from grub boot options, the boot gets stuck at Loading initial ramdisk. I gave it around 5hrs but no luck.



Also I tried installing debian too. But it gets stuck right after I press Graphical Install. The middle 'screen' goes blank and just sits there.



What could be the problem?



  • Partition: GPT - UEFI

  • Secure Boot OFF

  • Installation media created with 'rufus'

  • Windows installs just fine.









share|improve this question






















  • Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

    – Pierre-Alain TORET
    Jan 3 at 14:10













0












0








0








I'm trying to install Arch with LVM encryption on my HP Spectre x360.



These are my installation notes.



I tried doing it these three ways



  • Using window's EFI part so here the EFI partition is nvme0n1p2 (replacing nvme0n1p5 with nvme0n1p2 from the notes)

  • Creating an extra EFI part along with window's which my notes cover exactly. (new EFI part is nvme0n1p5)

  • Completely wiping the NVMe drive. (Replace nvme0n1p5 with nvme0n1p1, nvme0n1p6 with nvme0n1p2, nvme0n1p7 with nvme0n1p3 from the notes)

Following is same for each of those approaches.



The first problem I encounter is after arch's install and arch-chroot /mnt.



When I'm trying to run this command grub-mkconfig -o /boot/grub/grub.cfg



Pressing return does nothing. The command just sits there executing forever (longest I gave it was around 22hrs).



I tried this workaround and while it gets that grub command running



Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done


It fails to detect Widnows in case I have it installed.



And finally it leads me to the root problem in the title.



Grub comes up before a 'decryption' prompt. (I'm not sure if this is supposed to happen because I have another machine where I followed exact same notes and it prompts me for volgroup password before showing any splash screen.)



And after I select Arch Linux from grub boot options, the boot gets stuck at Loading initial ramdisk. I gave it around 5hrs but no luck.



Also I tried installing debian too. But it gets stuck right after I press Graphical Install. The middle 'screen' goes blank and just sits there.



What could be the problem?



  • Partition: GPT - UEFI

  • Secure Boot OFF

  • Installation media created with 'rufus'

  • Windows installs just fine.









share|improve this question














I'm trying to install Arch with LVM encryption on my HP Spectre x360.



These are my installation notes.



I tried doing it these three ways



  • Using window's EFI part so here the EFI partition is nvme0n1p2 (replacing nvme0n1p5 with nvme0n1p2 from the notes)

  • Creating an extra EFI part along with window's which my notes cover exactly. (new EFI part is nvme0n1p5)

  • Completely wiping the NVMe drive. (Replace nvme0n1p5 with nvme0n1p1, nvme0n1p6 with nvme0n1p2, nvme0n1p7 with nvme0n1p3 from the notes)

Following is same for each of those approaches.



The first problem I encounter is after arch's install and arch-chroot /mnt.



When I'm trying to run this command grub-mkconfig -o /boot/grub/grub.cfg



Pressing return does nothing. The command just sits there executing forever (longest I gave it was around 22hrs).



I tried this workaround and while it gets that grub command running



Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done


It fails to detect Widnows in case I have it installed.



And finally it leads me to the root problem in the title.



Grub comes up before a 'decryption' prompt. (I'm not sure if this is supposed to happen because I have another machine where I followed exact same notes and it prompts me for volgroup password before showing any splash screen.)



And after I select Arch Linux from grub boot options, the boot gets stuck at Loading initial ramdisk. I gave it around 5hrs but no luck.



Also I tried installing debian too. But it gets stuck right after I press Graphical Install. The middle 'screen' goes blank and just sits there.



What could be the problem?



  • Partition: GPT - UEFI

  • Secure Boot OFF

  • Installation media created with 'rufus'

  • Windows installs just fine.






arch-linux system-installation grub2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 2 at 20:21









atisatis

6




6












  • Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

    – Pierre-Alain TORET
    Jan 3 at 14:10

















  • Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

    – Pierre-Alain TORET
    Jan 3 at 14:10
















Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

– Pierre-Alain TORET
Jan 3 at 14:10





Your UEFI probably already has a boot menu to choose from (Windows should create an entry in it). If you don't need Grub for any other reason than to choose the OS, you can skip it in my opinion and create an entry in the UEFI boot manager directly using efibootmgr (you can check the already existing entries using efibootmgr -v). Can you paste the grub.cfg that works on your other machine using that same setup?

– Pierre-Alain TORET
Jan 3 at 14:10










0






active

oldest

votes











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%2f492083%2ffresh-arch-install-boot-gets-stuck-at-loading-initial-ramdisk%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492083%2ffresh-arch-install-boot-gets-stuck-at-loading-initial-ramdisk%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

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay