You are not logged in.

#1 2022-08-31 22:22:03

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

[SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Hi

Need help from you guys, after last update to grub 2.06.r322 and grub-mkconfig -o /boot/grub/grub.cfg my system not booting anymore.

Perhaps my fault didn't grub-install /dev/nvme0n1

I trying rescue from Live CD with last Grub but no luck

Steps which I did it so far:

1. open crypted nvnme drive and mounted:

cryptsetup open /dev/nvme0n1p3
(passphrase for drive)
mount /dev/mapper/cryptroot /mnt
mkdir -p /mnt/boot/efi
mount /dev/nvme0n1p3 /mnt/boot/efi

arch-chroot /mnt

2. Try to reinstall Grub but unfortunately error:
grub-install --target=x86_64-efi  --efi-directory=/boot/efi --bootloader-id=GRUB

I got answer:
grub-install: error: cannot find a device for /boot/efi (is /dev mounted?).


Still can't get system access. Really appreciate your help.

Last edited by infoslaw (2022-09-01 11:15:45)

Offline

#2 2022-08-31 23:04:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

What is the output of `mount`?

Offline

#3 2022-08-31 23:59:12

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

# mount

/dev/mapper/cryptroot on / type ext4 (rw,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
efivars on /sys/firmware/efi/efiwars type efivars (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=16287620k,nr_inodes=4071905,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
tm on /tmp type tmpfs (rw,nosuid,nodev,inode64)
run on /etc/resolve.conf type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)

Offline

#4 2022-09-01 00:06:16

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

I was able to downgrade to grub 2.06.r297

and make

grub-install --target=x86_64-efi  --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

however come now after bootin grub error message:

error: no such device: xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
error: unknown filesystem.
Entering rescue mode...
grub rescue>

Offline

#5 2022-09-01 00:12:01

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

unable to make

mkinitcpio -p linux

==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'

Offline

#6 2022-09-01 00:19:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Because you most likely had the ESP mounted to /boot and not /boot/efi when originally setting this up mount it to /boot rerun all the relevantly adjusted grub-install and grub-mkconfig commands again.

Offline

#7 2022-09-01 00:37:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

...and edit your thread title to REMOVE ALL THE SHOUTING https://wiki.archlinux.org/title/Genera … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2022-09-01 00:43:12

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

corrected

Offline

#9 2022-09-01 00:56:29

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

@V1del Thank you for help.

After changing mount point to /boot I was able to make successfully:

mkinitcpio -p linux

grub-install --target=x86_64-efi  --efi-directory=/boot/efi --bootloader-id=GRUB

grub-mkconfig -o /boot/grub/grub.cfg

however still error below when trying to load Grub menu

error: no such device: xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
error: unknown filesystem.
Entering rescue mode...
grub rescue>

Last edited by infoslaw (2022-09-01 00:58:29)

Offline

#10 2022-09-01 01:13:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Which GRUB are you loading? Post the grub.cfg that got created as well as

lsblk -f
efibootmgr -uv

if you have an MSI board you might have made use of the --removable parameter to populate the fallback path, in which case you'll have to use that again.

Offline

#11 2022-09-01 01:32:34

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

here we are:

lsblk -f

NAME          FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                
sda                                                  
├─sda1                                               
└─sda2                                               
nvme0n1                                              
├─nvme0n1p1                            176.3M    31% /boot
├─nvme0n1p2                                          
└─nvme0n1p3                                          
  └─cryptroot                          252.9G    81% /

efibootmgr -uv

BootCurrent: 0020
Timeout: 0 seconds
BootOrder: 0001,001C,001D,0020,001A,001B,001E,001F,0021,0000,0022,0023,0011,0028
Boot0000* Windows Boot Manager	HD(2,MBR,0x2a588529,0x187000,0x6800)/File(\EFI\Microsoft\Boot\bootmgfw.efi)䥗䑎坏S
      dp: 04 01 2a 00 02 00 00 00 00 70 18 00 00 00 00 00 00 68 00 00 00 00 00 00 29 85 58 2a 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 8f 01 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* GRUB	HD(1,GPT,49424d84-3063-a64f-a135-43bc6f84e840,0x800,0x82000)/File(\EFI\GRUB\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 84 4d 42 49 63 30 4f a6 a1 35 43 bc 6f 84 e8 40 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 47 00 52 00 55 00 42 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0010  ThinkShield secure wipe	FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
      dp: 04 06 14 00 d5 a0 93 35 52 bd a0 43 80 8e cb ff 5e ce 24 77 / 7f ff 04 00
Boot0011* LENOVO CLOUD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ad 38 cc bb f7 ed f0 4d 95 9c f4 2a a7 4d 36 50 / 03 18 3b 00 68 74 74 70 73 3a 2f 2f 64 6f 77 6e 6c 6f 61 64 2e 6c 65 6e 6f 76 6f 2e 63 6f 6d 2f 70 63 63 62 62 73 2f 63 64 65 70 6c 6f 79 2f 65 66 69 2f 62 6f 6f 74 2e 65 66 69 / 7f ff 04 00
Boot0012  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
      dp: 04 06 14 00 66 8b 1c 72 6c 42 86 4e 8e 99 34 57 c4 6a b0 b9 / 7f ff 04 00
Boot0013  Boot Menu	FvFile(126a762d-5758-4fca-8531-201a7f57f850)
      dp: 04 06 14 00 2d 76 6a 12 58 57 ca 4f 85 31 20 1a 7f 57 f8 50 / 7f ff 04 00
Boot0014  Diagnostic Splash Screen	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
      dp: 04 06 14 00 a6 d9 d8 a7 b0 6a eb 4a ad 9d 16 3e 59 a7 a3 80 / 7f ff 04 00
Boot0015  Lenovo Diagnostics	FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
      dp: 04 06 14 00 5b 61 7e 3f 45 0d 80 4f 88 dc 26 b2 34 95 85 60 / 7f ff 04 00
Boot0016  Regulatory Information	FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
      dp: 04 06 14 00 a0 92 8c 47 22 26 b7 42 a6 5d 58 94 16 9e 4d 24 / 7f ff 04 00
Boot0017  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
      dp: 04 06 14 00 f4 e6 6e f4 85 47 a3 43 92 3d 7f 78 6c 3c 84 79 / 7f ff 04 00
Boot0018  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
      dp: 04 06 14 00 60 3f 5d 66 3e ad ad 4c 8e 26 db 46 ee e9 f1 b5 / 7f ff 04 00
Boot0019  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
      dp: 04 06 14 00 6a d5 6f ac 41 3d fd 4e a1 b9 87 02 93 81 1a 28 / 7f ff 04 00
Boot001A* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 86 70 12 96 aa 5a 78 48 b6 6c d4 9d d3 ba 6a 55 / 7f ff 04 00
Boot001B* USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 6f f0 15 a2 88 30 b5 43 a8 b8 64 10 09 46 1e 49 / 7f ff 04 00
Boot001C* NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 00 1c 19 99 32 d9 4c 4e ae 9a a0 b6 e9 8e b8 a4 00 / 7f ff 04 00
Boot001D* NVMe1	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 00 1c 19 99 32 d9 4c 4e ae 9a a0 b6 e9 8e b8 a4 01 / 7f ff 04 00
Boot001E* ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 02 / 7f ff 04 00
Boot001F* ATA HDD1	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 01 / 7f ff 04 00
Boot0020* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 33 e8 21 aa af 33 bc 47 89 bd 41 9f 88 c5 08 03 / 7f ff 04 00
Boot0021* PXE BOOT	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 78 a8 4a af 2b 2a fc 4e a7 9c f5 cc 8f 3d 38 03 / 7f ff 04 00
Boot0022  Other CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ae a2 09 0a df de 21 4e 8b 3a 5e 47 18 56 a3 54 06 / 7f ff 04 00
Boot0023  Other HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 06 / 7f ff 04 00
Boot0024* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0b 01 / 7f ff 04 00
Boot0025* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0b 00 / 7f ff 04 00
Boot0026* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 / 7f ff 04 00
Boot0027* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ae a2 09 0a df de 21 4e 8b 3a 5e 47 18 56 a3 54 / 7f ff 04 00
Boot0028* LENOVO CLOUD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://efi.vtt11cloudservice.net/httpboot.vtt11/dev2/boot.efi)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ad 38 cc bb f7 ed f0 4d 95 9c f4 2a a7 4d 36 50 / 03 18 42 00 68 74 74 70 73 3a 2f 2f 65 66 69 2e 76 74 74 31 31 63 6c 6f 75 64 73 65 72 76 69 63 65 2e 6e 65 74 2f 68 74 74 70 62 6f 6f 74 2e 76 74 74 31 31 2f 64 65 76 32 2f 62 6f 6f 74 2e 65 66 69 / 7f ff 04 00

Offline

#12 2022-09-01 01:33:13

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

I don't have MSI board. I have Lenovo T490s

Last edited by infoslaw (2022-09-01 01:42:25)

Offline

#13 2022-09-01 01:39:11

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

and here from boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod ext2
search --no-floppy --fs-uuid --set=root 17efc79a-b6be-4b6d-9b7b-4504d2e49e33
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=C
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=3
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=3
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-17efc79a-b6be-4b6d-9b7b-4504d2e49e33' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root 9DDB-38AA
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=17efc79a-b6be-4b6d-9b7b-4504d2e49e33 rw cryptdevice=UUID=6047eb7e-607e-4927-ad5b-3edcb652a086:cryptroot root=/dev/mapper/cryptroot loglevel=3 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-17efc79a-b6be-4b6d-9b7b-4504d2e49e33' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-17efc79a-b6be-4b6d-9b7b-4504d2e49e33' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		search --no-floppy --fs-uuid --set=root 9DDB-38AA
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=17efc79a-b6be-4b6d-9b7b-4504d2e49e33 rw cryptdevice=UUID=6047eb7e-607e-4927-ad5b-3edcb652a086:cryptroot root=/dev/mapper/cryptroot loglevel=3 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-17efc79a-b6be-4b6d-9b7b-4504d2e49e33' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		search --no-floppy --fs-uuid --set=root 9DDB-38AA
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=17efc79a-b6be-4b6d-9b7b-4504d2e49e33 rw cryptdevice=UUID=6047eb7e-607e-4927-ad5b-3edcb652a086:cryptroot root=/dev/mapper/cryptroot loglevel=3 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
fwsetup --is-supported
if [ "$grub_platform" = "efi" -a "$?" = 0 ]; then
	menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
		fwsetup
	}
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

Last edited by infoslaw (2022-09-01 01:41:53)

Offline

#14 2022-09-01 01:41:39

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

exactly can't find device which is specified in boot/grub/grub.cfg:

error: no such device: 17efc79a-b6be-4b6d-9b7b-4504d2e49e33
error: unknown filesystem.
Entering rescue mode...
grub rescue>

Offline

#15 2022-09-01 01:58:41

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

I checked in fstab
bootloader can't see /dev/mapper/cryptroot
this is exactly device 17efc79a-b6be-4b6d-9b7b-4504d2e49e33

Last edited by infoslaw (2022-09-01 02:18:43)

Offline

#16 2022-09-01 02:18:53

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

any idea?

Offline

#17 2022-09-01 07:40:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Don't do that: https://wiki.archlinux.org/title/Genera … es#Bumping

Your main problem right now is that GRUB tries to find its own configuration on the encrypted device that it can't read itself. Mount your ESP to /boot and pass /boot as the efi directory to the grub-install command

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

Offline

#18 2022-09-01 10:20:28

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Sorry for bumping.

I'm sorry bit confused now how to mount ESP. Could you explain more please?

I think that mention about this partition?

lsblk
/dev/nvme0n1p1 .......  260M  EFI system

Last edited by infoslaw (2022-09-01 10:30:14)

Offline

#19 2022-09-01 10:47:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Yes, assuming you are in a chroot on your /.

mount /dev/nvme0n1p1 /boot
grub-install --target=x86_64-efi  --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

Offline

#20 2022-09-01 10:57:31

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Thank you so much for help. Yes I did it exactly the same and Grub running now smile

However extremely long time to loading

Execute below loading it takes circa 30 seconds!

Booting 'Arch Linux'
Loading Linux linux ...
Loading initial ramdisk ...

Offline

#21 2022-09-01 11:02:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

That's a bug that's being looked at, I can't reproduce myself but see https://bbs.archlinux.org/viewtopic.php?id=279006 and https://bugs.archlinux.org/task/75673#comment210768 from what I'm seeing might be some constellation with LVM and/or ZFS setups

Offline

#22 2022-09-01 11:11:08

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 154

Re: [SOLVED] Problem with booting after last upgrade to Grub 2.06.r322

Festival I would like to tell you Big Thank You for helping.
You save my life!

I just complete complex installation on my new laptop when crashed Grub yesterday.

Understand that this bug is something very fresh with last Grub 2:2.06.r322.gd9b4638c5-3?  Because before my last touch grub kernel load in second.

Last edited by infoslaw (2022-09-01 11:11:35)

Offline

Board footer

Powered by FluxBB