You are not logged in.

#1 2023-09-22 20:28:01

haex
Member
Registered: 2023-09-22
Posts: 1

[SOLVED] Can't boot from disk - efi drives me crazy

=> Update: --removable when installing grub fixed it.
=> Solved
When booting, the BIOS immediately opens and when going into the Inbuilt UEFI-Shell I can select grubx64.efi, grubs starts and boots from disk. But I do not get it to work  out of the box.
After each reboot all entries made with grub or efibootmgr are gone.
maybe I am a stupid cow - thx for all help

===> lsblk -f ======================================
NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat   FAT32       C53D-FEA9                             510.7M     0% /boot/esp
└─sda2 ext4   1.0         7df28371-9581-4639-94af-f904cd460fe4  864.2G     0% /

===> cat /etc/fstab ======================================
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=7df28371-9581-4639-94af-f904cd460fe4	/         	ext4      	rw,relatime	0 1

# /dev/sda1
#UUID=DF52-0B5C      	/boot 	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2
#UUID=DF52-0B5C      	/boot/efi 	vfat      	rw	0 2
/dev/sda1      	/boot/esp 	vfat      	rw	0 2

===> grep vmlinuz /boot/grub/grub.cfg ======================================
	linux	/boot/vmlinuz-linux root=UUID=7df28371-9581-4639-94af-f904cd460fe4 rw  loglevel=3 quiet
		linux	/boot/vmlinuz-linux root=UUID=7df28371-9581-4639-94af-f904cd460fe4 rw  loglevel=3 quiet
		linux	/boot/vmlinuz-linux root=UUID=7df28371-9581-4639-94af-f904cd460fe4 rw  loglevel=3 quiet
===> ls -R /boot/esp ======================================
/boot/esp:
EFI

/boot/esp/EFI:
arch  BOOT

/boot/esp/EFI/arch:
grubx64.efi

/boot/esp/EFI/BOOT:
shellx64.efi
===> efibootmgr ======================================
Timeout: 1 seconds
BootOrder: 0001,0002
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)0000474f00004e4fc7000000010000008500530061006d00730075006e006700200053005300440020003800370030002000450056004f0020003100540042000000050109000200000000010416008b12e85cec2cf040837280640e3dc85802007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6370053004300350058004e005700300033003700330031003300310020004200200020002000200000007fff04000000424f
Boot0002* USB HDD	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)0000474f00004e4fa100000001000000690049006e00740065006e0073006f0020005300700065006500640020004c0069006e0065000000050109000200000000010416008b12e85cec2cf040837280640e3dc85809007fff040002010c00d041030a000000000101060000140305060010007fff040001042600ef47642dc93ba041ac194d51d01b4ce63600390038003000390038003000310000007fff04000000424f00004e4fa100000001000000690049006e00740065006e0073006f0020005300700065006500640020004c0069006e0065000000050109000200000000010416008b12e85cec2cf040837280640e3dc85809007fff040002010c00d041030a000000000101060000140305060011007fff040001042600ef47642dc93ba041ac194d51d01b4ce63300380030003400320033003300310000007fff04000000424f
===> mokutil --sb-state ======================================
SecureBoot disabled
Platform is in Setup Mode
===> grub-install --efi-directory=/boot/esp ======================================
Installing for x86_64-efi platform.
Installation finished. No error reported.
===> efibootmgr -c -L Arch2  -p 1 -l '\EFI\BOOT\shellx64.efi' ======================================
Timeout: 1 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* arch	HD(1,GPT,4c388402-dc2e-453f-bc40-838de10bcff6,0x800,0x100000)/File(\EFI\arch\grubx64.efi)
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)0000474f00004e4fc7000000010000008500530061006d00730075006e006700200053005300440020003800370030002000450056004f0020003100540042000000050109000200000000010416008b12e85cec2cf040837280640e3dc85802007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6370053004300350058004e005700300033003700330031003300310020004200200020002000200000007fff04000000424f
Boot0002* USB HDD	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)0000474f00004e4fa100000001000000690049006e00740065006e0073006f0020005300700065006500640020004c0069006e0065000000050109000200000000010416008b12e85cec2cf040837280640e3dc85809007fff040002010c00d041030a000000000101060000140305060010007fff040001042600ef47642dc93ba041ac194d51d01b4ce63600390038003000390038003000310000007fff04000000424f00004e4fa100000001000000690049006e00740065006e0073006f0020005300700065006500640020004c0069006e0065000000050109000200000000010416008b12e85cec2cf040837280640e3dc85809007fff040002010c00d041030a000000000101060000140305060011007fff040001042600ef47642dc93ba041ac194d51d01b4ce63300380030003400320033003300310000007fff04000000424f
Boot0003* Arch2	HD(1,GPT,4c388402-dc2e-453f-bc40-838de10bcff6,0x800,0x100000)/File('\EFI\BOOT\shellx64.efi')

Last edited by haex (2023-09-22 21:04:50)

Offline

Board footer

Powered by FluxBB