Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grub dependency isn't available for Ubuntu for ARM #108

Open
rgov opened this issue Jan 15, 2024 · 0 comments
Open

Grub dependency isn't available for Ubuntu for ARM #108

rgov opened this issue Jan 15, 2024 · 0 comments

Comments

@rgov
Copy link

rgov commented Jan 15, 2024

The list of dependencies for Ubuntu includes grub-pc-bin, which is only published for amd64.

You can work around this by passing --workaround-skip-grub or using the "Skip legacy grub bootloader" in the Options menu of woeusbgui.


Looking over the package contents it does not obviously contain any executables that might be run during the install process...

So I decided to YOLO it:

$ wget http://security.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc-bin_2.04-1ubuntu26.12_amd64.deb
$ mkdir debwork
$ dpkg-deb -R grub-pc-bin_2.04-1ubuntu26.12_amd64.deb debwork
$ sed -i '/^Depends:/d' debwork/DEBIAN/control
$ sed -i 's/^Architecture: amd64/Architecture: arm64/' debwork/DEBIAN/control 
$ dpkg-deb -b debwork HORRIBLE-grub-pc-bin.deb
$ sudo dpkg -i HORRIBLE-grub-pc-bin.deb 

The GRUB install step seemed to succeed but I didn't investigate much further than that. My AMD64 device booted the thumb drive successfully but I don't know if it went through GRUB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant