Comments (18)
I tried it again earlier today and I was successful. Thanks for the help.
from wor-flasher.
Sorry, I haven't got a chance to try it again, school just started for me, so I've been busy. I'll get back to you either later today or tomorrow morning.
from wor-flasher.
Very interesting issue. My script was supposed to install those packages, so the fact that it's not is strange.
from wor-flasher.
This appears to be some sort of bug in the install_packages
function, though I have not been able to reproduce it.
from wor-flasher.
@aaron-is-the-best2114, could you try something for me?
First of all, thank you for the thorough information you've provided. Most people do not provide as much debug information as you have, and it makes things more difficult on me/us.
If you installed the packages the error output recommended, please uninstall them for this test. Then let's see how your system handles the install_packages
function. Please run this in a terminal:
source ~/wor-flasher/install-wor.sh source
install_packages 'yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget udftools'
If ANY of the above packages are not already installed, the install_packages
function should install them automatically. If that does not happen, then I need to understand why.
from wor-flasher.
I will try that as soon as possible, Thanks for the help. I'll let you know if it works.
from wor-flasher.
@Botspot It's still saying one of the packages are not installed.
Any Ideas?
from wor-flasher.
@Botspot It's still saying one of the packages are not installed.
Any Ideas?
Which package is it?
from wor-flasher.
It doesn't specify what package is not installed.
This script you gave me gave me no errors whatsoever.
Here's what it says when I tried to install windows again:
Generating Windows image with uupdump
One of required applications is not installed.
The following applications need to be installed to use this script:
- aria2c
- cabextract
- wimlib-imagex
- chntpw
- genisoimage or mkisofs
If you use Debian or Ubuntu you can install these using:
sudo apt-get install aria2 cabextract wimtools chntpw genisoimage
If you use Arch Linux you can install these using:
sudo pacman -S aria2 cabextract wimlib chntpw cdrtools
uup_download_linux.sh failed, most likely due to unreliable Internet.
Trying again in 1 minute. (Attempt 1 of 4)
from wor-flasher.
I've adapted some code from the script to a debugging version that you can run in a terminal.
dependencies='yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget udftools'
install_list=''
PREIFS="$IFS"
IFS=' '
for package in $dependencies ;do
if ! dpkg -s "$package" 2>/dev/null | grep -q 'Status: install ok installed' ;then
echo "Package $package is uninstalled."
#if the currently-checked package is not installed, add it to the list of packages to install
if [ -z "$install_list" ];then
install_list="$package"
else
install_list="$install_list $package"
fi
else
echo "Package $package is already installed."
fi
done
IFS="$PREIFS"
echo "Finished install_list: $install_list"
sudo apt install --dry-run yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget udftools
Please paste all of the above code into a terminal and reply with the full output.
from wor-flasher.
Here is the output:
from wor-flasher.
Thank you for running those debug commands.
Based on them I have figured out that it's not a package issue at all - it's an issue with the chntpw
command.
To prove my point, run this:
chntpw
If my theory is right, that command will not work.
And yet, chntpw
is installed. Your output.txt says: "chntpw is already the newest version (1.0-1.1).
"
Someone else had this same issue on TwisterOS. The chntpw
command is installed to /usr/sbin
- an uncommon directory to store commands.
On default Raspberry Pi OS, this isn't an issue. The /usr/sbin
directory is included in the $PATH
variable, meaning that when you run a command it will look in that folder. On TwisterOS however, it appears to not be including the /usr/sbin
directory in the $PATH
variable.
Let's check this on your system. Please run this command and reply with the output:
echo $PATH
from wor-flasher.
I've just added some new lines to the script to automatically add /usr/sbin
to your PATH variable before running uup_download_linux.sh
. Let me know if this ended up fixing your problem.
from wor-flasher.
So I tried it again and at first it actually started to work, but after about 2 minutes into installing windows it signed me out of the Pi to the login screen. So when I logged back in I got this pop-up error:
So I tried it again and my screen went black as if it was logging me out as before and this time it auto logged me back in this time and I got the same pop-up error.
Here is the echo $PATH results:
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
from wor-flasher.
So I tried it again and at first it actually started to work
Great! With this change, WoR-flasher now works on TwisterOS. Thanks for the help with that.
So I tried it again and at first it actually started to work, but after about 2 minutes into installing windows it signed me out of the Pi to the login screen. So when I logged back in I got this pop-up error:
So I tried it again and my screen went black as if it was logging me out as before and this time it auto logged me back in this time and I got the same pop-up error.
This is not an issue with WoR-flasher, this is an issue with your setup and how it behaves under heavy load.
Is your Pi overclocked? If it is, turn all overclocking off and then reboot.
What power supply are you using? How often do you see the yellow lightning-bolt in the corner?
Do you have any cooling fans connected to your GPIO pins? If so, remove them.
Do you monitor the Pi's USB ports? If a USB-connected device consumes too much power, the Pi's USB ports will shut off. In some circumstances, this shutting-off action will crash your system.
from wor-flasher.
Any updates, @aaron-is-the-best2114?
from wor-flasher.
from wor-flasher.
I tried it again earlier today and I was successful. Thanks for the help.
Excellent! Enjoy Windows 10!
from wor-flasher.
Related Issues (20)
- DELETED, SORRY, I DONT KNOW HOW TO DELETE ISSUES Xd HOT 1
- Worflasher won't install windows 11, it says failed to make GPT partition table (on raspberry pi) HOT 5
- pi3 No boot HOT 3
- Successfully downloaded ESD image, but it appears to be corrupted. Please run this script again. HOT 3
- Successfully downloaded ESD image, but it appears to be corrupted. Please run this script again. HOT 1
- is it possible to install win 11 to pi 5? HOT 2
- BlInitializeLibrary Failed / Synchronous Exception HOT 1
- Failed to create FAT partition on /dev/sdb1 HOT 3
- Error applying the WIN image to B: HOT 2
- PE-based installer integrity check failed HOT 15
- Unable to put windows on sd card. Getting an error message HOT 3
- Canβt boot after the windows 11 flashed on the EMMC version of RPI4 HOT 1
- PE-based installer integrity chek failed HOT 1
- file permissions issue preventing download HOT 12
- PE-based installer integrity check failed HOT 12
- windows 11 on raspberry pi 5: NO wifi or wiried connection HOT 10
- Add Pi Zero support HOT 1
- possible NVME issues (unconfirmed) HOT 8
- No boot on rp5 HOT 4
- Installing from USB to NVMe HOT 2
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 wor-flasher.