LukeShortCloud / winesapOS

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

Tried to build winesapOS #859

Closed GuestSneezeOSDev closed 1 month ago

GuestSneezeOSDev commented 1 month ago

Describe the bug or feature A clear and concise description of what the bug or feature is.

Issue Type

To Reproduce Steps to reproduce the behavior:

  1. sudo journalctl -u reflector -f
  2. git clone https://github.com/lukeshortcloud/winesapos.git
  3. cd winesapos/scripts/
  4. export WINESAPOS_DISTRO=arch
  5. . ./env/winesapos-env-minimal.sh (output no such file or directory)
  6. sudo bash ./winesapos-install.sh

Expected behavior I was expecting it to install and/or build winesapOS but it gave me an error I will put a screenshot

Screenshots

Screenshot 2024-07-21 213618

System information (please complete the following information):

Additional context Add any other context about the problem here.

LukeShortCloud commented 1 month ago

You don't need to run reflector, winesapos-install.sh does that automatically.

For the no such file or directory error, maybe there was a typo? The full path (including the git repository) is winesapos/scripts/env/winesapos-env-minimal.sh. You can find the exact location from your directory by running:

find . -name winesapos-env-minimal.sh

I'll have to add better/more documentation about changing the device as that is a common option to change. You're right, you need to configure the installer to use sda (or sdb) instead of the default of vda. You may also need to configure the installer to allow running on baremetal. Set these two environment variables before running the installer.

export WINESAPOS_DEVICE=sda
export WINESAPOS_BUILD_IN_VM_ONLY=false

When you run sudo, you need to use sudo -E instead for the environment variables to get passed through.

sudo -E bash ./winesapos-install.sh

Does that help? Let me know if you get further!

GuestSneezeOSDev commented 1 month ago

Thanks i will test it immediately, I was using this to build GuestSneezeOS10_beta_prerelease image, I was using the minimal image because GuestSneezeOS is meant to be a Lightweight Linux/Unix Based Distribution, This Does not work it keeps on saying Warning Partition(s) on /dev/sda are being used Ignore/Cancel

GuestSneezeOSDev commented 1 month ago

i will use the Live Image of Arch Linux on my flash drive/dev/sdb