Fresh Arch install - Boot gets stuck at 'Loading initial ramdisk'
Clash Royale CLAN TAG#URR8PPP
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
(replacingnvme0n1p5
withnvme0n1p2
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
withnvme0n1p1
,nvme0n1p6
withnvme0n1p2
,nvme0n1p7
withnvme0n1p3
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
add a comment |
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
(replacingnvme0n1p5
withnvme0n1p2
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
withnvme0n1p1
,nvme0n1p6
withnvme0n1p2
,nvme0n1p7
withnvme0n1p3
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
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
add a comment |
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
(replacingnvme0n1p5
withnvme0n1p2
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
withnvme0n1p1
,nvme0n1p6
withnvme0n1p2
,nvme0n1p7
withnvme0n1p3
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
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
(replacingnvme0n1p5
withnvme0n1p2
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
withnvme0n1p1
,nvme0n1p6
withnvme0n1p2
,nvme0n1p7
withnvme0n1p3
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
arch-linux system-installation grub2
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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