You are not logged in.

#1 2022-07-07 10:10:01

albert11d
Member
Registered: 2022-06-29
Posts: 5

Grub enters rescue mode when booting

My grub shows the message: "error: file '/boot/grub/i386-pc/normal.mod/' not found." when i boot my computer. I have a gpt partition table with windows and arch linux installed, with uefi. I installed arch with the archinstall script. i can boot to it when i access grub from the boot menu. I checked for the file "/boot/grub/i386-pc/normal.mod/" and the i386-pc folder is missing. There is a folder called x86_64-efi that contains the file normal.mod. Can i fix it?

Last edited by albert11d (2022-07-07 10:20:46)

Offline

#2 2022-07-07 11:11:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,300

Re: Grub enters rescue mode when booting

You are not booting the correct GRUB in that case. Check the boot order of your EFI menu, you should boot an explicit GRUB entry and not one that uses old BIOS and directly references the disk as opposed to a specific name. In doubt boot a livedisk or so and post the output of

lsblk -f
efibootmgr -uv

Moving to the Archinstall section.

Last edited by V1del (2022-07-07 11:12:09)

Offline

#3 2022-07-07 11:27:50

albert11d
Member
Registered: 2022-06-29
Posts: 5

Re: Grub enters rescue mode when booting

NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                           
├─nvme0n1p1 vfat   FAT32       A010-49FD                                           
├─nvme0n1p2                                                                       
├─nvme0n1p3 ntfs               0AC6519CC65188B9                                   
├─nvme0n1p4 ntfs               6058454358451964                                   
├─nvme0n1p5 ntfs         D     3A44794644790643                                   
├─nvme0n1p6 vfat   FAT32       0336-9C06                               433M    15% /boot
├─nvme0n1p7 swap   1           2e12c5ef-606e-49fe-87ad-c5ba70e68067                [SWAP]
├─nvme0n1p8 ext4   1.0         731c85bb-47f1-4087-8b23-7049db561235  520.6M    93% /
└─nvme0n1p9 ext4   1.0   grub  4f5e2e42-c1b5-47d4-a157-d8f002a610b2               
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0001,0005,0008,0006,0000,2001,2002,2003
Boot0000* ubuntu        HD(1,GPT,f279303f-1413-4e5a-a683-97565aa1df29,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)䍒
Boot0001* WDC PC SN730 SDBPNTY-1T00-1101        BBS(HD,WDC PC SN730 SDBPNTY-1T00-1101  ,0x500)￾
Boot0005* GRUB  HD(6,GPT,4f5eded6-269e-e34f-ae7b-9a091018932f,0x68fb0800,0x100000)/File(\EFI\GRUB\grubx64.efi)
Boot0006* Windows Boot Manager  HD(1,GPT,f279303f-1413-4e5a-a683-97565aa1df29,0x800,0x32000)/File(\EFI\manjaro\grubx64.efi)䥗䑎坏S
Boot0008* Windows Boot Manager  HD(1,GPT,f279303f-1413-4e5a-a683-97565aa1df29,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)䍒
Boot2001* EFI USB Device        䍒
Boot2002* EFI DVD/CDROM 䍒
Boot2003* EFI Network   䍒

Offline

#4 2022-07-07 11:36:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,300

Re: Grub enters rescue mode when booting

Uh are you sure you want your root partition to be just 500MB ?

Other than that you appear to have created a secondary ESP. If your mainboard supports this isn't guaranteed, in any case just from this you need to configure your UEFI to boot the entry nr 5 here, the one that's just called GRUB.

Offline

#5 2022-07-07 11:52:01

albert11d
Member
Registered: 2022-06-29
Posts: 5

Re: Grub enters rescue mode when booting

my / partition has about 30gb, how does it show that it is 500mb?
in gparted it shows 29gib
also what secondary esp is there?

Offline

#6 2022-07-07 11:58:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,300

Re: Grub enters rescue mode when booting

Ah no it mentiones available, in any case you probably want to get some free space there.

There are two FAT partitions, and efibootmgr shows that all but the Arch GRUB reside on nvme0n1p1 instead nvme0n1p6. If your mainboard supports this then this can be fine but just reads a bit weird. That said I'm not sure whether you have a remaining issue? If you boot the GRUB entry in your UEFI loader you can boot that install, yes? The other "GRUB" in the title and post will be a remnant of whatever experiments you had earlier, maybe do some general spring cleaning and get rid of GRUBs/loader entries you are not using anymore.

Offline

#7 2022-07-07 12:09:38

albert11d
Member
Registered: 2022-06-29
Posts: 5

Re: Grub enters rescue mode when booting

i can boot to arch if i go to the f12 boot menu and select "GRUB".
i have both windows and arch linux installed on my laptop.
my filesystem is gpt so i can have multiple bootable entries

Offline

#8 2022-07-07 13:24:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,300

Re: Grub enters rescue mode when booting

Yes and you need to configure your F12 menu to make the GRUB you are selecting the default to boot from rather than whatever is the current default. You are booting a dead BIOS/non-EFI GRUB relict and you need to adjust your EFI configuration to not load that but the real GRUB you installed.

You have minimally three different GRUBs installed and I don't consider it far fetched that there's a fourth from a previous attempt at booting in BIOS rather than EFI mode.

Last edited by V1del (2022-07-07 13:27:22)

Offline

#9 2022-07-07 15:57:51

albert11d
Member
Registered: 2022-06-29
Posts: 5

Re: Grub enters rescue mode when booting

i set the GRUB to boot as default in the BIOS configuration but it still shows the error, also i have not installed any os in BIOS mode.

Last edited by albert11d (2022-07-07 15:58:24)

Offline

Board footer

Powered by FluxBB