Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79098 - [grub] > 2.06.r499.ge67a551a4-2 fails to boot i386-efi
Attached to Project:
Arch Linux
Opened by Felix Meyer (fm) - Friday, 14 July 2023, 06:34 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by Felix Meyer (fm) - Friday, 14 July 2023, 06:34 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
DetailsDescription:
All Versions after 2.06.r499.ge67a551a4-2 fail to boot on i386-efi when i select a entry: "You need to load the Kernel fist" Additional info: ASUSTeK COMPUTER INC. X205TA/X205TA |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/grub/issues/5
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/grub/issues/5
[1] https://wiki.archlinux.org/title/Bisecting_bugs_with_Git
stops working
if [ "${GRUB_DISABLE_UUID}" = "true" ]; then
schould it be "true" insted of "xtrue"?? removed 2 x, ArchLinux commit in PKG.
But to get it right... The system fails to boot with `2.06.r499.ge67a551a4-2`, but `2-2.06.r499.ge67a551a4-1` was ok? That's kind of crazy, as both are built from same source (with updated unifont and configuration dropings on top).
Did you try recent packages? Currently we have `2:2.12rc1-1` in repositories.
Some projects add it to make sure no empty string is used in the comparison.
On the install pendrive I replaced the file EFI/BOOT/bootia32.efi with that found at
https://github.com/jfwells/linux-asus-t100ta/blob/master/boot
And with that I was able to boot correctly.
Best regards.
Maurizio.
So I've taken the ORIGINAL Grub sources, compiled them, created the efi module, copied it directly in my boot location and then booted. It works.
I was inspired by the mentioned site:
https://github.com/jfwells/linux-asus-t100ta/blob/master/boot/readme.md
I tried to download its sources and follow the instructions but I got several errors.
So I followed the instructions using instead the original sources of grub 2-06:
Downloaded the package from https://ftp.gnu.org/gnu/grub/
tar -xvf grub-2.06.tar.gz
cd grub-2.06
(the autogen command is not necessary)
export EFI_ARCH=i386
./configure --with-platform=efi --target=${EFI_ARCH} --program-prefix=""
make
The compilation went perfectly without even the slightest warning. Then :
cd grub-core
Then I used a slightly modified command to remove some module, add another (test) and specify a different prefix directory /grub instead of /boot/grub
(probably i could remove even more modules ...)
I neeeded to add the test module otherwise the '[' command was not recognized in the scripts.
Original command :
../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /boot/grub ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval
My command :
../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /grub boot cat efi_gop efi_uga elf fat linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval test
Then I took the bootia32.efi module, copied it on the target machine in the EFI/boot/arch directory, and booted successfully.
Best regards.
Maurizio