LukeShortCloud / winesapOS

winesapOS - Game with Linux anywhere, no installation required!
GNU General Public License v3.0
871 stars 31 forks source link

Fully support Ventoy #836

Open LukeShortCloud opened 2 months ago

LukeShortCloud commented 2 months ago

There has been a lot of demand for this over the years and still is.

https://twitter.com/LukeShortCloud/status/1799196532182241461

As of right now, we only provide documentation on how to install Ventoy support. We may need to provide a new release image specifically for Ventoy users.

https://github.com/LukeShortCloud/winesapOS/tree/4.0.0?tab=readme-ov-file#ventoy

GuestSneezeOSDev commented 1 month ago

creating a live image (Related https://github.com/LukeShortCloud/winesapOS/issues/370) may help

LukeShortCloud commented 1 month ago

The latest version of Ventoy may finally support winesapOS as-is. I need to test it. You're absolutely right, though, a live image would work with Ventoy as that's what it was originally designed to work with.

GuestSneezeOSDev commented 2 weeks ago

I could extract the IMG and Convert it to a functional ISO

LukeShortCloud commented 1 week ago

I did a quick test with winesapOS 4.1.0-beta.1 and the latest Ventoy 1.0.99. The GRUB boot menu appears but it cannot boot into any of the selected kernels. It shows the generic cannot find new_root error.

Their documentation still states that we need to run a special script as part of the build. This would be the easiest, most stable, and best supprted approach. I'll have to make a new Ventoy image type based on the minimal image.

LukeShortCloud commented 1 week ago

I made a proof-of-concept script to install Ventoy support:

export VENTOY_VER="1.0.35"
wget https://github.com/ventoy/vtoyboot/releases/download/v${VENTOY_VER}/vtoyboot-${VENTOY_VER}.iso
sudo mount vtoyboot-${VENTOY_VER}.iso /mnt
sudo mkdir /vtoyboot
sudo tar -xvf /mnt/vtoyboot-${VENTOY_VER}.tar.gz -C /vtoyboot
cd /vtoyboot/vtoyboot-${VENTOY_VER}/
sudo ./vtoyboot.sh
cd /
sudo rm -r -f /vtoyboot
sudo umount /mnt

I tested it with the latest winesapOS build (basically winesapOS 4.1.0-rc1) but it still has a new_root not found error when booting.