hakuna-m / wubiuefi

fork of Wubi (https://launchpad.net/wubi) for UEFI support and for support of recent Ubuntu releases
GNU General Public License v2.0
1.06k stars 148 forks source link

Do not crash if metalink file could not get downloaded #148

Open Mannshoch opened 5 years ago

Mannshoch commented 5 years ago

I tried to install 19.04 i386 ubuntu netboot with wubi but wubi do crash if there is no internet connection for downloading the metalink.

my wubi command: --32bit --isopath="c:\mini.iso" --skipmd5check --nobittorrent --size="3500"

Release: Wubi for Ubuntu 18.04.2 (rev 333)

hakuna-m commented 5 years ago

Netboot ISO has never been supported by Wubi(uefi). So I marked it as enhancement.

Mannshoch commented 5 years ago

Thank you. Does Ubuntu not use the same EFI on all images? I thought that replacing an existing ISO should work if I suppress the md5 check and block the Internet.

hakuna-m commented 5 years ago

Wubi(uefi) configuration for ISO files needs Ubiquity on ISO.

--skipmd5check does not suppress all file checks. If necessary files do not exist, it still fails. The section "Various distros/versions" contains an overview of necessary files. If all necessary files exist, md5sum check is an additional check to avoid using corrupted files.
--nobittorrent does not suppress all internet downloads. If you disable bittorrent downloads, Wubi(uefi) uses direct downloads.

Mannshoch commented 5 years ago

Thank you for the clarification. My situation is that I need an I386 EFI and at the end at least a 4.2 Kernel for the touchscreen display. Now I tried Cinamon from https://linuxmint.com. With the above command I only get an 1GB size for the installation.

hakuna-m commented 5 years ago

My situation is that I need an I386 EFI

As most devices with 32 bit EFI also have 64 bit CPU, a 64 bit ISO with 32 bit EFI bootloader is possible.

Wubiuefi checks the Windows EFI bootloader. If it is a 32 bit one, it installs a 32 bit EFI bootloader.If it is a 64 bit one, it installs a 64 bit EFI bootloader.

Wubiuefi also checks the architecture of the CPU. If it supports 32 bit only, it installs a 32 bit ISO.If it supports 64 bit too, it installs a 64 bit ISO. You can force a 32 bit ISO with argument --32bit.