Git Product home page Git Product logo

Comments (12)

rrobinson-np avatar rrobinson-np commented on July 26, 2024

For reference, I just want to build the project because I want to try updating isolist.ini to accommodate installation of Ubuntu 23.04. 22.04.x will not install for me. 20.04.x installs fine and I was able to update to 22.04.4, but when I updated to 22.04.10 while on my way to 23.04, my grub configuration got corrupted and nothing I tried could get me back into my Wubi/Ubuntu installation. Everything ended with Grub saying "Failed to open \EFI\ubuntu[][][]S[] - Invalid Parameter. Similarly, whenever I directly install 22.04.x from wubiuefi, Grub is not able to find Ubuntu. Only 20.04 has worked so far.

from wubiuefi.

hakuna-m avatar hakuna-m commented on July 26, 2024

make tools/check_wine sh: 1: tools/check_wine: not found make: *** [Makefile:131: check_wine] Error 127

Wubi development requires basic development tools. e.g. If you run make, it is necessary that "make" is installed.

To install "make" only:
sudo apt install make

To install basic development tools including "make"
sudo apt install build-essentials

But I am not sure that it solves your GRUB issue.

Probably, you need a menu entry for Wubiuefi to run the UEFI GRUB for Wubi and not the standard UEFI GRUB for Ubuntu.

If you want run the UEFI GRUB for Wubi, you need a menu entry for \EFI\ubuntu\wubildr\shimx64.efi

see https://github.com/hakuna-m/wubiuefi/wiki/FAQ#where-is-my-ubuntu-entry-in-windows-boot-manager-for-uefi-

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

Hi Hakuna,
I have already done all of the things you listed. Make is installed and I also tried the wubi shimx64.efi, it did not work.

from wubiuefi.

hakuna-m avatar hakuna-m commented on July 26, 2024

I have already done all of the things you listed.

I checked your error message again. I assume that there are 3 lines and "not found" and "make" are not in the same line.

tools/check_wine
sh: 1: tools/check_wine: not found
make: *** [Makefile:131: check_wine] Error 127

The error is in the first line of the file tools/check_wine

The first line of tools/check_wine contains
#!/bin/sh

.i.e /bin/sh is not found

/bin/sh is part of the package dash

sudo apt install dash

But I am wondering why that package has not been installed in your system !? It is an essential standard package in every Ubuntu installation.

I also tried the wubi shimx64.efi, it did not work.

If you don't need Secure Boot, try to use \EFI\ubuntu\wubildr\grub64.efi from UEFI boot menu.

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

I checked, dash is installed already. I still get the same error.

I already tried grubx64.efi with secure boot disabled too.

from wubiuefi.

hakuna-m avatar hakuna-m commented on July 26, 2024

I checked, dash is installed already. I still get the same error.

Does the file in the first line /bin/sh exist ?

ls -l /bin/sh

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

Yes it does.

from wubiuefi.

hakuna-m avatar hakuna-m commented on July 26, 2024

I got also the error message:

tools/check_wine
sh: 1: tools/check_wine: not found
make: *** [Makefile:131: check_wine] Error 127

But I got it by changing the first line of tools/check_wine to #!/bin/shsh
/bin/shsh does not exist. If I change it back to #!/bin/sh, it works.

Is your error message exactly the same as the error message above ? There are a lot of similar errors with different meanings.

e.g. I got that one.....

tools/check_wine
tools/check_wine: 12: install_wine: not found
make: *** [Makefile:131: check_wine] Error 127

... by deleting tools/install_wine

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

image
This was from a fresh clone of wubiuefi, master branch, on a fresh install of Ubuntu on WSL.
Here's ls of wubiuefi/tools:
image
tools/check_wine:
image
ls -l of wubiuefi:
image
ls -l of wubiuefi/tools:
image

from wubiuefi.

jdev082 avatar jdev082 commented on July 26, 2024

Try setting the text on the top to /bin/bash. I've had scripts fail from using /bin/sh

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

image
It appears that this is where the error occurs in the make flow. I added that echo line to confirm.
image
Changing check_wine to use /bin/bash instead of /bin/sh would not be effective in this case, since for some reason the terminal is unable to find the check_wine file in the first place

from wubiuefi.

rrobinson-np avatar rrobinson-np commented on July 26, 2024

I figured out what the problem was.
I had been cloning the repository in Windows using GitHub for desktop, so the files were being written using DOS line terminators, which bash/sh are interpreting as characters, making it unable to interpret bash scripts correctly.
I cloned the repository using git in WSL and am now able to get farther along in building the project. I think this issue can be closed.

from wubiuefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.