j_c
April 16, 2023, 7:44pm
121
What worked until now:
Installed EOS with no bootloader.
Logged in with the live iso usb
Mounted sda6 and sda7
arch-chroot /mnt
Ran command
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=EnOS --no-nvram --removable
And this is where it is now without freeze
petsam
April 16, 2023, 7:45pm
122
It should show paths of bootloaders.
So it’s installing grub to /efi as opposed to trying to write it to another path where it freezes correct?
pebcak
April 16, 2023, 7:50pm
124
@j_c
j_c:
Mounted sda6 and sda7
Hopefully, if everything will work as it should, you will need to change the UUID for your ESP in fstab.
As it is is now, the UUID is for /dev/sda2. You need to change that for the UUID of /dev/sda6.
j_c
April 16, 2023, 7:51pm
125
[root@EndeavourOS /]# efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0000,0001,2002,2003
Boot0000* Windows Boot Manager HD(2,GPT,63bace09-3141-403c-90df-38dae4e5a336,0xe1800,0x97060)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000065000100000010000000040000007fff0400
dp: 04 01 2a 00 02 00 00 00 00 18 0e 00 00 00 00 00 60 70 09 00 00 00 00 00 09 ce ba 63 41 31 3c 40 90 df 38 da e4 e5 a3 36 02 02 / 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 65 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* Windows Boot Manager HD(6,GPT,736dee16-9cb5-2948-9fb7-ccb87eedfef0,0xe704404,0x1f4000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
dp: 04 01 2a 00 06 00 00 00 04 44 70 0e 00 00 00 00 00 40 1f 00 00 00 00 00 16 ee 6d 73 b5 9c 48 29 9f b7 cc b8 7e ed fe f0 02 02 / 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: 52 43
Boot0002* USB HDD: Generic STORAGE DEVICE PciRoot(0x0)/Pci(0x15,0x0)/USB(3,0)/HD(1,MBR,0x4d909e77,0x39d480,0x39000)RC
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 15 / 03 05 06 00 03 00 / 04 01 2a 00 01 00 00 00 80 d4 39 00 00 00 00 00 00 90 03 00 00 00 00 00 77 9e 90 4d 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 52 43
Boot2001* EFI USB Device RC
dp: 7f ff 04 00
data: 52 43
Boot2002* EFI DVD/CDROM RC
dp: 7f ff 04 00
data: 52 43
Boot2003* EFI Network RC
dp: 7f ff 04 00
data: 52 43
pebcak
April 16, 2023, 7:55pm
126
Please post the terminal output as text.
It make it easier to copy, quote for the sake of commenting and troubleshooting.
Copy, paste, highlight and press Ctrl-E to format for better readability.
PS-
I see no enty for EnOS. What a bummer.
However, there are two for Windows Boot Manager. Why is that?
Why does everbody use efibootmgr with the verbose flag. It’s way easier to understand without it.
petsam
April 16, 2023, 7:58pm
129
But it is not enough to troubleshoot.
Why? What do all those characters tell you?
j_c
April 16, 2023, 7:59pm
131
[root@EndeavourOS /]# ls -R /efi
/efi:
EFI loader 'System Volume Information'
/efi/EFI:
BOOT Linux Microsoft systemd
/efi/EFI/BOOT:
BOOTX64.EFI
/efi/EFI/Linux:
/efi/EFI/Microsoft:
Boot Recovery
/efi/EFI/Microsoft/Boot:
BCD BOOTSTAT.DAT en-US fr-FR kd_02_1137.dll kd_07_1415.dll memtest.efi Resources tr-TR
BCD.LOG boot.stl es-ES hr-HR kd_02_14e4.dll kd_0C_8086.dll nb-NO ro-RO uk-UA
BCD.LOG1 cs-CZ es-MX hu-HU kd_02_15b3.dll kdnet_uart16550.dll nl-NL ru-RU winsipolicy.p7b
BCD.LOG2 da-DK et-EE it-IT kd_02_1969.dll kdstub.dll pl-PL sk-SK zh-CN
bg-BG de-DE fi-FI ja-JP kd_02_19a2.dll ko-KR pt-BR sl-SI zh-TW
bootmgfw.efi el-GR Fonts kd_02_10df.dll kd_02_1af4.dll lt-LT pt-PT sr-Latn-RS
bootmgr.efi en-GB fr-CA kd_02_10ec.dll kd_02_8086.dll lv-LV qps-ploc sv-SE
/efi/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/cs-CZ:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/da-DK:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/de-DE:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/el-GR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/en-GB:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/es-ES:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/es-MX:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/et-EE:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/fi-FI:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/Fonts:
chs_boot.ttf jpn_boot.ttf malgun_boot.ttf meiryo_boot.ttf msjh_boot.ttf msyh_boot.ttf segmono_boot.ttf segoe_slboot.ttf
cht_boot.ttf kor_boot.ttf malgunn_boot.ttf meiryon_boot.ttf msjhn_boot.ttf msyhn_boot.ttf segoen_slboot.ttf wgl4_boot.ttf
/efi/EFI/Microsoft/Boot/fr-CA:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/fr-FR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/hr-HR:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/hu-HU:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/it-IT:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/ja-JP:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/ko-KR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/lt-LT:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/lv-LV:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/nb-NO:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/nl-NL:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/pl-PL:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/pt-BR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/pt-PT:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/qps-ploc:
memtest.efi.mui
/efi/EFI/Microsoft/Boot/Resources:
bootres.dll da-DK en-US
/efi/EFI/Microsoft/Boot/Resources/da-DK:
bootres.dll.mui
/efi/EFI/Microsoft/Boot/Resources/en-US:
bootres.dll.mui
/efi/EFI/Microsoft/Boot/ro-RO:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/ru-RU:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/sk-SK:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/sl-SI:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/sr-Latn-RS:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/sv-SE:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/tr-TR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/uk-UA:
bootmgfw.efi.mui bootmgr.efi.mui
/efi/EFI/Microsoft/Boot/zh-CN:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Boot/zh-TW:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/efi/EFI/Microsoft/Recovery:
BCD BCD.LOG BCD.LOG1 BCD.LOG2
/efi/EFI/systemd:
systemd-bootx64.efi
/efi/loader:
entries loader.conf random-seed
/efi/loader/entries:
'/efi/System Volume Information':
[root@EndeavourOS /]#
pebcak
April 16, 2023, 7:59pm
132
Verbose is nice. Tells you everything and the gossip from neighborhood as well
I’m being serious here?
dp: 04 01 2a 00 02 00 00 00 00 18 0e 00 00 00 00 00 60 70 09 00 00 00 00 00 09 ce ba 63 41 31 3c 40 90 df 38 da e4 e5 a3 36 02 02 / 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 65 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
This is meaningless to me.
Like isn’t this enough?
[ricklinux@eos-plasma ~]$ efibootmgr
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* boot HD(1,GPT,c75e5cad-9115-4dc4-9673-24053104a4ba,0x800,0xff801)/File(\EFI\BOOT\GRUBX64.EFI)
Boot0001* UEFI OS HD(1,GPT,1b441393-366d-b848-be84-36aa24726c6f,0x1000,0x1f4000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
Boot0002* UEFI OS HD(1,GPT,c75e5cad-9115-4dc4-9673-24053104a4ba,0x800,0xff801)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
@pebcak
So please give me an explanation as to how i see this? There is the original Windows efi and the OP was installing with system-d boot which has it’s own efi which is larger. So then did the OP switch to grub? And the installer was trying to write it to the Windows efi and it was freezing? I kind of got lost half way through all this.
pebcak
April 16, 2023, 8:13pm
137
I am almost right with you there
According to current /etc/fstab, /dev/sda2 is mounted at /efi.
So I guess that is where we need to be installing the bootloader.
/dev/sda6 seems to contain anything but grub
Color me confused
This is why I’m confused also? I would have thought based on the Acer link that it was failing to write to the Windows efi.
Edit: So is it grub or systemd-boot?
j_c
April 16, 2023, 8:16pm
139
One of the times I tried installing, I tried with systemd boot but it froze. Next time I installed without bootloader, and replaced the partition for the root and kept sda6 that 1gb and the installer used that. and after that we have been trying to install grub
That’s what i thought but i just wanted to clarify. I’m so confused.