Re: Grub installiert issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

As far as I know grub.cfg can be found in two locations:

/boot/grub2/grub.cfg  when NOT using EFI
/boot/efi/EFI/arch/grub.cfg  when using EFI

the latter being the same as EFI/arch/grub.cfg on the EFI system
partition which is mounted at /boot/efi (but usually not in a rescue
system!).

So if one is changed but the changes have no effect perhaps the other
one needs to be modified.

On my system (EFI boot with LVM on LUKS) the second (EFI) one just
unlocks the / partition then chain-loads the first.

Oh, and I also believe (hd0,gptN)/boot/.... would be the right form
although I use /dev/mapper paths myself in my /boot/grub2/grub.cfg .

Hope this helps,

NTS




On Wed, 19 Jan 2022 at 15:06, wingstroke via arch-general
<arch-general@xxxxxxxxxxxxxxxxxxx> wrote:
>
> I have a very similar system to yours with the same partitioning scheme and formats. What I did was
>
> 1. Install the bootloader with: grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
> 2. then generate the grub config with: grub-mkconfig -o /boot/grub/grub.cfg
>
> Perhaps you can try this from chroot. You need to install grub and efibootmgr packages before running the above commands. Mind you, I'm a new Arch user :)
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Wednesday, January 19th, 2022 at 5:10 AM, Frank Zimmermann via arch-general <arch-general@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > I'm doing my first Arch install on an UEFI system and have troubles with GRUB. Following the instruction on the Wiki grub-mkconfig complained about a missing /boot/grub/grub.cfg.new.
> >
>
> > So I manually created a grub.cfg file but when rebooting Grub says error: unknown file system. In rescue mode I type
> >
>
> > set root=(hd0,gpt1)
> >
>
> > set prefix=(0,1)/boot/grub
> >
>
> > insmod normal
> >
>
> > error: disk '0,1' not found
> >
>
> > set prefix=(hd0,gpt1)/boot/grub
> >
>
> > insmod normal
> >
>
> > error: unknown filesystem
> >
>
> > set prefix=(0,gpt1)/boot/grub
> >
>
> > insmod normal
> >
>
> > error: disk 0,gpt1 not found
> >
>
> > My efi partition is the first partition on the first ssd.
> >
>
> > I think I did all I found on the Wiki and search on the web but am lost now with generating the grub.cfg
> >
>
> > Any hints please?
> >
>
> > Frank




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux