hakuna-m/wubiuefi

Not Showing Ubuntu After Reboot

Opened this issue · 9 comments

I successfully installed Ubuntu using Wubi, but doesn't redirect to Ubuntu or shows Ubuntu in the bootloader after reboot. I'm using UEFI.

this is the log
wubi-22.04-rev345.log

Update: It does show on the boot management, but goes back to windows after selecting on ubuntu

09-27 22:40 DEBUG WindowsBackend: drive=Drive(S: hd 54507.609375 mb free ntfs)

09-27 22:42 DEBUG WinuiInstallationPage: target_drive=S:

Is the selected drive S: a removable drive ?

09-27 22:40 DEBUG WindowsBackend: drive=Drive(S: hd 54507.609375 mb free ntfs)

09-27 22:42 DEBUG WinuiInstallationPage: target_drive=S:

Is the selected drive S: a removable drive ?

Correct.

Maybe, sometimes a removable drive does also work.

But it is often an issue that Wubiuefi always installs the boot loader on the hidden EFI boot partition that Windows uses. The EFI boot partition with Windows Boot Manger for UEFI is the right place for installations on internal disks but booting from internal disk with switching to an external removable storage is not or badly supported.

A possible solution is to create an EFI partition on removable storage device and to boot directly from that device. But as Wubiuefi configuration for Ubuntu does not create EFI or other partitions, Wubiuefi configuration does not support that.

If you want that configuration, try to install a standard installation of Ubuntu with creating partitions: https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview

If you want Wubiuefi configuration, you can try another drive.

What do you mean by another drive? Like a different partition type?

e.g. drive C:

09-27 23:12 DEBUG  WindowsBackend: system_drive=Drive(F: hd 14044.609375 mb free ntfs)
09-27 23:12 DEBUG  WindowsBackend: drive=Drive(C: hd 34306.3476562 mb free ntfs)
09-27 23:12 DEBUG  WindowsBackend: drive=Drive(D: cd 0.0 mb free )
09-27 23:12 DEBUG  WindowsBackend: drive=Drive(F: hd 14044.609375 mb free ntfs)
09-27 23:12 DEBUG  WindowsBackend: drive=Drive(G: hd 60.7607421875 mb free fat32)
09-27 23:12 DEBUG  WindowsBackend: drive=Drive(S: hd 50853.3125 mb free ntfs)

But it depends where drive C: is located.

If you open Windows Disk Management, you see the all disks and the containing partitions (hidden partitions and visible Windows drives like C:, D; and so on)

If drive C: is on disk with the EFI partition which Windows uses, it should be easier.

see for help: https://learn.microsoft.com/en-us/windows-server/storage/disk-management/overview-of-disk-management

It should also work if I create a partition with EFI for S:, right

right

For Wubiuefi the answer is "no", because Wubiuefi configuration does not use additional EFI partitions.

For an installation of Ubuntu without Wubiuefi, it is a possible option.