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

Update Wubiuefi installer to the latest version 24.04 LTS (Noble Numbat) #347

Open
WWarrior64 opened this issue May 3, 2024 · 12 comments
Open
Assignees

Comments

@WWarrior64
Copy link

WWarrior64 commented May 3, 2024

No problem to report, only that I just wish the installer could run the latest version of Ubuntu (24.04)

@mreymann
Copy link

mreymann commented May 8, 2024

I would love to have this, too! :-)

@tarunsamal
Copy link

Same here waiting for 24.04 :)

@caner-cetin
Copy link

Bump, that would be cool. 20.04 -> 22.04 -> 24.04 is not hard to do once installing 20.04 but still.

@MathiasMagnus
Copy link

@WWarrior64 Did you recompile wubiuefi or did you provide command-line options to it? How exactly did you get 24.04 working?

I tried supplying command-line args to wubi.exe, ones found here, but the installer does nothing. I also tried recompiling by installing the dependencies listed in the official docs (gettext build-essential grub-pc mingw32), but MinGW is called something else in both 22.04 and 24.04 (mingw-w64), but running make doesn't finish.

I changed data/isolist.ini to have the entry

[Ubuntu-amd64]
max_iso_size=3700000000
arch=amd64
name=Ubuntu
packages=ubuntu-desktop
metalink=http://releases.ubuntu.com/noble/ubuntu-24.04-desktop-amd64.list
metalink2=http://cdimage.ubuntu.com/noble/daily-live/pending/noble-desktop-amd64.list
website=http://www.ubuntu.com
ordering=1

however upon building it errors on the step

grub-mkimage -O x86_64-efi -c build/winboot/wubildr-bootstrap.cfg -m build/winboot/wubildr.tar -o build/winboot/EFI/grubx64.efi \
        loadenv part_msdos part_gpt fat ntfs ext2 ntfscomp iso9660 loopback search linux linuxefi boot minicmd cat cpuid chain halt help ls reboot \
        echo test configfile gzio normal sleep memdisk tar font gfxterm gettext true efi_gop efi_uga video_bochs video_cirrus probe efifwsetup \
        all_video gfxterm_background png gfxmenu
grub-mkimage: error: cannot open `/usr/lib/grub/x86_64-efi/linuxefi.mod': No such file or directory.

I'm running this in WSL2, which is as close as I can get to a Linux environment without having to fire up a full-blown VM just to compile wubi.exe.

What am I doing wrong?

@MathiasMagnus
Copy link

I got a little further, but now there is a crash inside pypack

PYTHONPATH=src tools/pywine -OO src/pypack/pypack --verbose --bytecompile --outputdir=build/wubi src/main.py data build/bin build/version.py build/winboot build/translations
Traceback (most recent call last):
  File "src/pypack/pypack", line 25, in <module>
    from libpypack.application import Application
  File "Z:\home\mate\Develop\wubiuefi\src\pypack\libpypack\application.py", line 24, in <module>
    from modulegraph.find_modules import find_modules
  File "Z:\home\mate\Develop\wubiuefi\src\pypack\modulegraph\find_modules.py", line 21, in <module>
    import modulegraph
  File "Z:\home\mate\Develop\wubiuefi\src\pypack\modulegraph\modulegraph.py", line 24, in <module>
    from altgraph.ObjectGraph import ObjectGraph
  File "Z:\home\mate\Develop\wubiuefi\src\pypack\altgraph\ObjectGraph.py", line 5, in <module>
    from altgraph.GraphUtil import filter_stack
  File "Z:\home\mate\Develop\wubiuefi\src\pypack\altgraph\GraphUtil.py", line 7, in <module>
    import random
  File "c:\python27\lib\random.py", line 887, in <module>
    _inst = Random()
  File "c:\python27\lib\random.py", line 97, in __init__
    self.seed(x)
  File "c:\python27\lib\random.py", line 115, in seed
    a = long(_hexlify(_urandom(2500)), 16)
WindowsError: [Error -2146893801] Windows Error 0x80090017

@mreymann
Copy link

mreymann commented May 10, 2024

@MathiasMagnus I think there is some misunderstanding here. @WWarrior64 wishes that the installer can run the latest version of Ubuntu. I don't think he claims that the installer can run the latest version of Ubuntu!
This is more of a humble request for a new release that we all long for.

@WWarrior64
Copy link
Author

@MathiasMagnus I think there is some misunderstanding here. @WWarrior64 wishes that the installer can run the latest version of Ubuntu. I don't think he claims that the installer can run the latest version of Ubuntu!

Yes that right. Sorry, I'm not very good at English, the thing that I tried to said is that it would be good the installer can run Ubuntu 24.04 Sorry for the misinterpreting

@hakuna-m hakuna-m self-assigned this Jun 2, 2024
@hakuna-m
Copy link
Owner

hakuna-m commented Jun 2, 2024

Sorry, for my late reply. I will create new releases for Wubiuefi soon.

@tarunsamal
Copy link

Thank you @hakuna-m

@mreymann
Copy link

mreymann commented Jun 2, 2024

Thank you! I love Wubiuefi!

@litmount
Copy link

litmount commented Jun 5, 2024

Sorry, for my late reply. I will create new releases for Wubiuefi soon.

Awesome! looking forward to it! thanks for your work!

@mreymann
Copy link

Will there be a new Wubi release once 24.04.1 is out?

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

No branches or pull requests

7 participants