Comments (12)
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.
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
from wubiuefi.
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.
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.
I checked, dash is installed already. I still get the same error.
I already tried grubx64.efi with secure boot disabled too.
from wubiuefi.
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.
Yes it does.
from wubiuefi.
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.
This was from a fresh clone of wubiuefi, master branch, on a fresh install of Ubuntu on WSL.
Here's ls of wubiuefi/tools:
tools/check_wine:
ls -l of wubiuefi:
ls -l of wubiuefi/tools:
from wubiuefi.
Try setting the text on the top to /bin/bash. I've had scripts fail from using /bin/sh
from wubiuefi.
It appears that this is where the error occurs in the make flow. I added that echo line to confirm.
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.
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)
- Installation fails claiming that the file is in use by another process HOT 2
- Grub config's not present HOT 1
- Ubuntu disappeared from Grub menu HOT 1
- wubi no longer opens after using wubi-uninstall HOT 1
- Support for 22.04.2 HOT 4
- Won't show boot options after first system restart on Macbook HOT 1
- When selecting Reboot now after installing ubuntu I get a BitLocker Recovery screen windows 10 HOT 1
- Release upgrade from 20.04 to 22.04 possible without issues? HOT 7
- wubi22041r345 isolist.ini redirect error HOT 7
- Laptop: Installation OK, Bootloader shows "Kunbuntu" but then I get Windows only HOT 6
- upgrade from 18.04 to 20.04 HOT 5
- Kubuntu 23.10 update-grub fatal error HOT 3
- Upgrading from 23.04 to 23.10 with only liquorix kernel - grub problems HOT 10
- https://github.com/hakuna-m/wubiuefi/issues/310# HOT 6
- Update Wubiefi installer to the latest version 23.10 HOT 1
- "Error: device name already exists" at boot HOT 2
- Issue with Keyboard and Mouse Not Working after Kernel Update HOT 1
- Update Wubiuefi installer to the latest version 24.04 LTS (Noble Numbat) HOT 11
- Everytime it finished downloading the ISO file, it yelled error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wubiuefi.