View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Thu May 30, 2024 11:09 am Post subject: LLvm and grub problem |
|
|
Hello, fresh install, llvm and grub problem.
Code: | grub-install --target=x86_64-efi --efi-directory=/boot/efi/EFI/Boot
insmod: ERROR: could not load module part_gpt: No such file or directory
insmod: ERROR: could not load module ext2: No such file or directory
/etc/default/grub: line 63: search: command not found
/etc/default/grub: line 67: loadfont: command not found
/etc/default/grub: line 72: terminal_output: command not found
/etc/default/grub: line 84: menuentry: command not found
insmod: ERROR: could not load module efi_gop: No such file or directory
insmod: ERROR: could not load module efi_uga: No such file or directory
insmod: ERROR: could not load module ieee1275_fb: No such file or directory
insmod: ERROR: could not load module vbe: No such file or directory
insmod: ERROR: could not load module vga: No such file or directory
insmod: ERROR: could not load module video_bochs: No such file or directory
insmod: ERROR: could not load module video_cirrus: No such file or directory
insmod: ERROR: could not load module gzio: No such file or directory
insmod: ERROR: could not load module part_gpt: No such file or directory
insmod: ERROR: could not load module ext2: No such file or directory
/etc/default/grub: line 92: search: command not found
/etc/default/grub: line 94: linux: command not found
/etc/default/grub: line 96: initrd: command not found
/etc/default/grub: line 97: syntax error near unexpected token `}'
/etc/default/grub: line 97: `}'
Installing for x86_64-efi platform.
Installation finished. No error reported. |
I have been using Artix linux.
I can't load from Grub within Artix as first boot device.
Blank screen. Nothing
I have been using gentoo-kernel-bin.
If I try to install Gentoo as first device, this is what I get.
Grub is throwing command prompt when I try install Gentoo as first device.
Thank you |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 496
|
Posted: Thu May 30, 2024 12:19 pm Post subject: |
|
|
What is the idea behind this command
Code: | grub-install --target=x86_64-efi --efi-directory=/boot/efi/EFI/Boot | ? |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Thu May 30, 2024 1:13 pm Post subject: |
|
|
It's location of my bootx64.efi
Works fine with Artix. |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 502 Location: San Diego, California USA
|
Posted: Thu May 30, 2024 5:29 pm Post subject: |
|
|
The --efi-directory option wants the root of your EFI directory, not the boot directory inside of EFI. I think in your case it should be --efi-directory=/boot/efi |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Fri May 31, 2024 8:21 am Post subject: Re: LLvm and grub problem |
|
|
RIA77 wrote: | ...
Code: | ...
/etc/default/grub: line 63: search: command not found
/etc/default/grub: line 67: loadfont: command not found
/etc/default/grub: line 72: terminal_output: command not found
/etc/default/grub: line 84: menuentry: command not found
|
... |
That looks to me like your /etc/default/grub contains a grub.cfg (commands like menuentry) rather than a grub defaults file, which should be ENV variable settings such as Code: | GRUB_CMDLINE_LINUX_DEFAULT="foo"
|
I wonder if you did something like
Code: | grub-mkconfig > /etc/defaults/grub |
_________________ Greybeard |
|
Back to top |
|
|
|