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

Problem with root file installing Ubuntu in Windows 10 on bootcamp on A Macbook #281

Open MagicalnMystery opened 3 years ago

MagicalnMystery commented 3 years ago

Hello! I’ve got a MacBook Pro mid 2012 where the macOS was erased and Windows is the main SO, so the only form of installing Linux is via Wubi, but in the moment of starting the second part of the installation an error appears that the root file wasn’t defined. It appears when installing Kubuntu and Ubuntu 20.04.2.0. What can I do? Thanks! 1AD2194F-8B1F-48A6-A252-A106A6A393F8

hakuna-m commented 3 years ago

so the only form of installing Linux is via Wubi,

Wubi(uefi) uses a customized configuration for the standard installer of Ubuntu. So if the problem is that a standard Linux installation on dedicated partitions fails, Wubi(uefi) is also often no option.

It is necessary that Linux partition tools recognizes your Windows drive/partition where you want to install Ubuntu.

Wubi(uefi) contains also a live environment. It is called "Demo mode" which is a menu entry at the beginning of the second part of installation. see here

In "Demo mode" you can check the Linux view of your partitions.....

sudo parted -l

.....and the Linux view of your current file system.....

df -h

--- and the position of the Wubi root disk......

ls -l /isodevice/ubuntu/disks/root.disk

Maybe, we can add a new device name to Wubiuefi configuration or a install script will work.

Note: "Demo mode" also provides all tools of a live environment of a standard Ubuntu including installer. But that installer does not use Wubi configuration. So you cannot use it if you want Ubuntu with Wubi configuration.