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.07k stars 152 forks source link

After installing Ubuntu subsystem in Win10 the Wubi Ubuntu-20.04 installed as first boot gets stuck at initramfs #294

Open dieter-erich opened 3 years ago

dieter-erich commented 3 years ago

Hi, I have WIN10 and Ubuntu-20.04 as (Wubi) in a double boot installation. It worked well until I installed the Linux subsystem in Windows. When then booting the laptop into the Wubi-Ubuntu it now gets stuck with "initramfs" being the last message. Usually it helped to run chkdsk /r /f /x on C: under Windows but I did it twice without avail. When entering 'exit' in initramfs the messages seem to indicate that it does not find the root directory. Booting into the 'repair' option in the boot menu does not help. I am sure that is only needs a little adjustment but I have no idea what to do. I should mention that my wubi is in fact wubi2 because I originally had two parallel versions. Thanks a lot for hints!

dieter-erich commented 3 years ago

The problems above went away after running a Win 10 update (which apparently updated the Linux subsystem) and booting a number of times into Windows and Ubuntu. In some instances via power off. I did nothing else and have no clue what happened. Anyhow, at least for now the problem is solved.

hakuna-m commented 3 years ago

Maybe, Windows was hibernated. see https://github.com/hakuna-m/wubiuefi/issues/29#issuecomment-263599871

Wubiuefi disables that Windows feature by default but of course it is possible that e.g. Windows updates or system changes enable hibernation option.

dieter-erich commented 3 years ago

Thanks hakuna-m! I found out that the Windows update I had done prior to appearance of this issue led to the following message (translated from German): "Important security and functionality updates are missing on your system". So far all attempts at fixing this problem were in vain. As soon as I find a fix I'll report.