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.04k stars 149 forks source link

can't install ubuntu-32bit using wubiuefi #36

Open biniz2007 opened 7 years ago

biniz2007 commented 7 years ago

I have a laptop with emmc storage and micro sd card inserted. I tried to install ubuntu 32bit, iso file using wubiuefi tool but it failed to boot again just showing the grub shell right after rebooting. I don't know well about grub shell commands so I stopped here and I reboot my laptop with power key pressed. wubiuefi's version was the latest release version, 16.10.xx. Why only grub shell appeared on the screen without showing window boot manager? I already know the wubiuefi tool is unoffical.

hakuna-m commented 7 years ago

I tried to install ubuntu 32bit

Is it a laptop with a 32bit CPU or just a laptop with a 32bit UEFI? In most cases computers with a 32bit UEFI have also a 64bit CPU. So a 64bit ISO is recommended.

Why only grub shell appeared on the screen without showing window boot manager?

If your Windows is installed in UEFI mode, Wubiuefi uses UEFI menu to boot into GRUB menu. But it is only an assumption that your Windows is installed in UEFI mode.

Your Wubi log contains further information about your system.

You find the log file in the Windows temp folder. A shortcut for the Windows temp folder is %temp% . The path name for the log file is %temp%\wubi-16.10-rev319.log if you use wubi1610r319.exe. The full path name is something like C:\Users\YourWindowsName\AppData\Local\Temp\wubi-16.10-rev319.log.

hakuna-m commented 7 years ago

Some addittional information about GRUB shell. If we assume that your laptop runs GRUB in UEFI mode, there are some helpful commands:

fwsetup --> runs UEFI firmware setup exit --> runs UEFI boot menu reboot --> reboots into Windows if the default settings are unchanged

insmod fat
search -s -f -n /EFI/Microsoft/Boot/bootmgfw.efi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot

--> boots into Windows in UEFI mode

insmod ntfs
search -s -f -n /ubuntu/winboot/wubildr.cfg
configfile  /ubuntu/winboot/wubildr.cfg

--> boots into GRUB menu for Wubi

For diagnosis purpose, it is also helpful to display all known disks ls and settings set

biniz2007 commented 7 years ago

I just upload the log file. please check it.

wubi-16.10-rev319.log.txt

hakuna-m commented 7 years ago

Thanks.

As I assumed in my previous posts, your laptop has a 64 bit CPU

DEBUG WindowsBackend: arch=amd64

but a 32 bit UEFI:

DEBUG WindowsBackend: efi_arch=ia32

So the recommended version is a 64 bit ISO. There was an existing 32 bit ISO:

DEBUG Distro: checking Ubuntu ISO D:\OS\ubuntu-16.10-desktop-i386.iso

But finally, Wubiuefi downloaded a 64 bit ISO:

DEBUG btdownloader: downloading http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent > D:\ubuntu\install\ubuntu-16.10-desktop-amd64.iso

and used the 64 bit version for installing:

INFO Distro: Found a valid iso for Ubuntu: D:\ubuntu\install\ubuntu-16.10-desktop-amd64.iso

So it is not an issue because of using a 32 bit ISO instead of a 64 bit ISO. Your CPU x5-Z8300

DEBUG WindowsBackend: processor_name=Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz

is one of the Cherry Trail family. Some Cherry Trail devices are already successfully tested by kapper1224 (see here)

So I assume that the GRUB issue has something to do with your removable D: drive

DEBUG WindowsBackend: drive=Drive(D: removable 23123.8203125 mb free ntfs)

where you installed Ubuntu. Probably, it is the micro SD card. As far as I know, support is still under development (see here)

Did you get some error messages before grub shell appeared ? Does

insmod ntfs
search -s -f -n /ubuntu/winboot/wubildr.cfg
configfile  /ubuntu/winboot/wubildr.cfg

work ?