Giter Site home page Giter Site logo

Comments (6)

KapriQ avatar KapriQ commented on July 18, 2024 1

Gonna try it. And let you know the results. Thx bro.

from dietpi.

terminet85 avatar terminet85 commented on July 18, 2024 1

Check if vmtouch is holding the dietpi.txt

ps aux | grep vmtouch

lsof -c vmtouch

If there is match stop vmtouch

systemctl stop vmtouch.service

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Probably there was a concurrent cron job execution.

Oh, I see we need to unmount the temporary rootfs mount on failure. Please run umount /tmp/dietpi-rpi-firmware-migration/rootfs && rm -R /tmp/dietpi-rpi-firmware-migration before retrying the script.

If it fails again please check e.g. via htop which other process runs and accesses files in /boot.

from dietpi.

KapriQ avatar KapriQ commented on July 18, 2024

root@pi:~# umount /tmp/dietpi-rpi-firmware-migration/rootfs && rm -R /tmp/dietpi-rpi-firmware-migration umount: /tmp/dietpi-rpi-firmware-migration/rootfs: no mount point specified.
After i run script, the same issue: umount: /boot: target is busy.

So I have tried to add -l to umount. And now it is running. "umount -l ...."

...
Script FINISHED. Gonna try to put SD Card to Pi5- ... ALL DONE! Wroking ...

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

It generally makes sense to check which process actually accesses /boot, before breaking something potentially unintended πŸ˜‰. Usually nothing but our scripts and APT commands should access this mount point.

However, whatever it was should continue as before after a reboot.

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Oh right, we used vmtouch a long time ago when removing the /boot tmpfs. I'll have a look whether we can identify our build/config and in case remove it. Something like:

[[ -f '/etc/default/vmtouch' ]] && grep -q dietpi /etc/default/vmtouch && G_AGP vmtouch

from dietpi.

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.