Results 1 to 9 of 9

Thread: No boot entries in Grub, 32bit UEFI

  1. #1

    No boot entries in Grub, 32bit UEFI

    I have an old tablet that has a 64 bit processor but 32 bit UEFI.
    I've installed Ubuntu on it, but on boot it will just load up the grub shell. I then have to type the commands manually to boot the OS.
    My understanding is that I need to install grub-efi-ia32 (and then run grub-install).
    But on running apt install grub-efi-ia32 we get error:
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     shim-signed : Depends: grub-efi-amd64-signed (>= 1.191~) but it is not going to be installed or
                            grub-efi-arm64-signed (>= 1.191~) but it is not installable or
                            base-files (< 12.3) but 12.3ubuntu2 is to be installed
                   Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
                            grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    When installing another package I got the following errors:
    Code:
    dpkg: warning: files list file for package 'grub-efi' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub-efi-amd64-signed' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub-efi-ia32-bin' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub2-common' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub-common' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub-efi-amd64' missing; assuming package has no files currently installed
    dpkg: warning: files list file for package 'grub-efi-amd64-bin' missing; assuming package has no files currently installed
    So did a --reinstall for each of those but that didn't make any difference to being able to install grub-efi-ia32.

    I've run the boot-repair report and system-info script as were suggested in my previous thread about a different issue, and these are below (not sure why, but the system-info.txt file won't upload so I've put it in a pastebin):
    boot-repair report: Boot-Info_20240507_0910.txt
    System-info script report: https://pastebin.com/0LhtSHRZ

    I've not tried running the actual boot-repair as I'm worried it might try and overwrite the current efi with a 64 bit one leaving me with no boot at all. But maybe I should just run that?

  2. #2
    Join Date
    Jun 2021
    Location
    Third rock from the sun.
    Beans
    Hidden!

    Re: No boot entries in Grub, 32bit UEFI

    not sure if this is of help but it got my system up and running with a signed boot loader from Debian.
    this was on MX Linux which is Debian based the same as Ubuntu

    https://forum.mxlinux.org/viewtopic.php?t=67022

    you may need to change a few of the commands to get the Debian i386 shim installed via the terminal ..
    Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own special laws. (Douglas Adams)

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: No boot entries in Grub, 32bit UEFI

    I do not think Boot-Repair knows about 32 bit UEFI on 64 bit systems.
    I thought you just had to manually copy the 32 bit UEFI files.

    https://askubuntu.com/questions/7754...ased-tablet-pc
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No boot entries in Grub, 32bit UEFI

    No boot-repiar does nto know about 32bit UEFI. It's a manual affair.

    I'm in the middle of things at the moment, but if you search my posts here on MacBook 32bit EFI, you should find my posts explaining how to install Grub2 for 32bit UEFI BIOS. I think I remember there was a GitHub I used for reference, with the instructions for that.

    I have a 2007 MacBook that I was given to test the UbuntuForums 'system-info' script on, to do physical tests/verification for MAC Hardware. It has 32bit UEFI...
    Last edited by MAFoElffen; 1 Week Ago at 02:31 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  5. #5
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No boot entries in Grub, 32bit UEFI

    Had a couple minutes. Looked at my systems notes/journals. Here is what I used: https://github.com/faalbers/EFI_32_BIT

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  6. #6

    Re: No boot entries in Grub, 32bit UEFI

    Quote Originally Posted by MAFoElffen View Post
    Had a couple minutes. Looked at my systems notes/journals. Here is what I used: https://github.com/faalbers/EFI_32_BIT
    Thanks, unfortunately that just says to run "sudo apt-get install grub-efi-ia32" which as you can see from my original post I have already tried but it won't install.

  7. #7

    Re: No boot entries in Grub, 32bit UEFI

    Quote Originally Posted by oldfred View Post
    I do not think Boot-Repair knows about 32 bit UEFI on 64 bit systems.
    I thought you just had to manually copy the 32 bit UEFI files.

    https://askubuntu.com/questions/7754...ased-tablet-pc
    Thanks, unfortunately that just seems to about setting up the EFI boot file, which I already have. I can't see there where it says about how to add boot entries to grub?

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: No boot entries in Grub, 32bit UEFI

    Does not grub entry get added when installing?
    Or if installed does not os-prober find other installs?
    sudo os-prober

    examples from cavfan
    https://ubuntuforums.org/showthread....6#post13816046
    Using 40_custom & Custom menu
    https://help.ubuntu.com/community/Grub2/CustomMenus
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No boot entries in Grub, 32bit UEFI

    When I installed 'grub-efi-ia32'
    Code:
    sudo dpkg --add-architecture i386
    sudo apt update
    sudo apt install -y ia32-libs grub-efi-ia32 grub-efi-ia32-bin
    sudo grub install --target=i386-efi --efi-directory=/boot/efi \
        --bootloader-id=ubuntu --recheck --no-floppy
    The valid options for grub-install --target are:
    Code:
    --target=TARGET
    
        install GRUB for TARGET platform [default=x86_64-efi]; available targets: 
        arm-coreboot, arm-efi, arm-uboot, arm64-efi, i386-coreboot, i386-efi, 
        i386-ieee1275, i386-multiboot, i386-pc, i386-qemu, i386-xen, i386-xen_pvh, 
        ia64-efi, loongarch64-efi, mips-arc, mips-qemu_mips, mipsel-arc, 
        mipsel-loongson, mipsel-qemu_mips, powerpc-ieee1275, riscv32-efi, 
        riscv64-efi, sparc64-ieee1275, x86_64-efi, x86_64-xen
    It used to be that if you didn't specify amd64, that if it had to guess between 'i386 &amd64', that it defaulted to i386... But that isn't how it is anymore (hasn't been for awhile_, so please include the target to i386-pc.

    It that doesn't work, I'll upload an Ubuntu i386 .efi file for you can copy over into your <EFI Disk>/EFI/ubuntu/ and <EFi_ Disk>/EFI/Boot Folders...

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •