Giter Club home page Giter Club logo

Comments (15)

mortlo avatar mortlo commented on May 24, 2024 1

Excellent!!

as an additional bit of info.. I ran the flasher from scratch once again... (after a reboot)
and apart from an error message that looked like it had failed due to my SSD, on reboot it WORK!!!

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

RPi 400, new install on 32 gb dd card, with apt updates, with external SSD sandisk.

Exactly what operating system? If it's Raspberry Pi OS, what variant is it? (Lite, Desktop, Full)

Maybe try installing the raspberrypi-kernel-headers package?

from wor-flasher.

mortlo avatar mortlo commented on May 24, 2024

I used the 'raspberry Pi Imager' on its default setting of desktop (without recommended software.)
Which variant is preferable? I can easily redo it again.

is that a simple task of "sudo apt-get raspberrypi-kernel-headers"
..I'll give that a try.

from wor-flasher.

RUHavingFun avatar RUHavingFun commented on May 24, 2024

Same issue - retrying now. Used a 64 GB SD with Raspbian 32bit standard desktop fully updated and a 128 GB SSD. Will try again after sudo apt-get install raspberrypi-kernel-headers

*** Update ***
Did not work.

from wor-flasher.

RUHavingFun avatar RUHavingFun commented on May 24, 2024

Failed to mount ISO file (/home/pi/wor-flasher-files/uupdump/22454.1000_PROFESSIONAL_ARM64_EN-US.ISO) to /home/pi/wor-flasher-files/isomount

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

Trying again after loading the ‘udf’ kernel module.
modprobe: error ..could not open moddep file.
udf not found in directory.
mount: ..unknown file system type udf.

Try this:

sudo modprobe udf

Your linux operating system ought to have that kernel module.

from wor-flasher.

RUHavingFun avatar RUHavingFun commented on May 24, 2024

sudo modprobe udf

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.10.17-v7l+/modules.dep.bin'
modprobe: FATAL: Module udf not found in directory /lib/modules/5.10.17-v7l+

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

could not open moddep file '/lib/modules/5.10.17-v7l+/modules.dep.bin'

This is a problem with your Linux operating system. Please read this forum thread and try the solutions in there.

from wor-flasher.

RUHavingFun avatar RUHavingFun commented on May 24, 2024

I will go see what that sheds light on. However, I will say that I built this 32 bit Raspbian SD card from scratch last night specifically for this process. I then did the sudo apt update && sudo apt full-upgrade. I did use the advanced menu to set the SSH and WiFi. I also used a 64 GB SD card as it kept saying my 16 GB card was not big enough to run.

Just ran:

sudo umount /boot
sudo mount /dev/mmcblk0p1 /boot
sudo apt install --reinstall raspberrypi-bootloader
sudo reboot

Now the install seems to have moved on past that error! :D Will update soon.

from wor-flasher.

RUHavingFun avatar RUHavingFun commented on May 24, 2024

That fixed it! Now it completed to the "Next Steps" window. Time to let it do that part now.

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

I will go see what that sheds light on. However, I will say that I built this 32 bit Raspbian SD card from scratch last night specifically for this process. I then did the sudo apt update && sudo apt full-upgrade. I did use the advanced menu to set the SSH and WiFi. I will do it again from scratch and not do that and check. I also used a 64 GB SD card as it kept saying my 16 GB card was not big enough to run.

I just figured out a plausible explanation for the issue you're having. You upgraded your packages (which included a kernel upgrade), but you did not reboot your Pi after the upgrades.
This, in effect prevented your Pi from finding any kernel modules. Your system was looking for modules for the currently-running kernel (5.10.17-v7l+), but that folder does not exist because the upgrade renamed it to 5.10.60-v7l+.
Rebooting your Pi should have allowed the modprobe command to succeed.

But it's good to know WoR-Flasher is working for you. Before closing this issue, I will wait for @mortlo to respond.

from wor-flasher.

mortlo avatar mortlo commented on May 24, 2024

those are exactly the same steps that I did.. too keen to see win11 working to think about rebooting - Grrr!
When youre dealing with wot seems impossible sometimes the obvious gets over looked.

..so to make sure Im understanding correctly - all I need to do is reboot..and repeat the process..??

oops - or just do whot 'RUHavingFun' stated just above.

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

those are exactly the same steps that I did.. too keen to see win11 working to think about rebooting - Grrr!
When youre dealing with wot seems impossible sometimes the obvious gets over looked.

..so to make sure Im understanding correctly - all I need to do is reboot..and repeat the process..??

What I mean is: if you installed Raspberry Pi OS on a SD card, did the apt update and upgrade like a good Linux citizen, and then tried using WoR-Flasher without first rebooting, the flashing process will fail due a mis-match in the running kernel versus the newly-installed kernel.
So as I said before, if you get this "modprobe udf" error, try rebooting your Pi and see if that fixes the wor-flasher program.

Of course, if you've already gotten Windows running on the Pi, then disregard everything I said above.

from wor-flasher.

mortlo avatar mortlo commented on May 24, 2024

yes - I understood that I should have rebooted before commencing with WoR-Flasher.
Ive applied the fix as stated by RUHavingFun, went ok and rebooted...back into the RPi system.
This is a new issue I think...due to the SSD drive perhaps. Ive had issues with getting other op sys booting from.

I consider the problem I raised as fix...so thanks to all!!
..and am still amazed win11 on a RPi is possible!!!

from wor-flasher.

Botspot avatar Botspot commented on May 24, 2024

To prevent this mystery from repeating itself, I've added these lines of code to the install-wor.sh script:

#Make sure modules for running kernel exist - otherwise a kernel upgrade occurred and the user needs to reboot. See https://github.com/Botspot/wor-flasher/issues/35
if [ ! -d /lib/modules/$(uname -r) ];then
  error "The running kernel ($(uname -r)) does not match any directory in /lib/modules.
Usually this means you have not yet rebooted since upgrading the kernel.
Try rebooting.
If this error persists, contact Botspot - the WoR-flasher developer."
fi

from wor-flasher.

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.