berryboot icon indicating copy to clipboard operation
berryboot copied to clipboard

Failed to start dphys-swapfile.service on rpi3b after installing with berryboot

Open heuvep opened this issue 4 years ago • 3 comments

Hello,

I can not start the swap file service and it gives a error at booting.

Failed to start dphys-swapfilew - etup, mount.umount , and delte swap file. This does not help. It only happens when installing by berryboot

heuvep avatar Aug 26 '21 12:08 heuvep

This is a common issue with bb,swap file is not working

symbios24 avatar Sep 09 '21 20:09 symbios24

And what is the solution for it?Verzonden vanaf mijn Galaxy -------- Oorspronkelijk bericht --------Van: symbios24 @.> Datum: 09-09-2021 22:59 (GMT+01:00) Aan: maxnet/berryboot @.> Cc: heuvep @.>, Author @.> Onderwerp: Re: [maxnet/berryboot] Failed to start dphys-swapfile.service on rpi3b after installing with berryboot (#721) This is a common issue with bb,swap file is not working

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

heuvep avatar Sep 09 '21 21:09 heuvep

Your swapfile needs to be directly accessible in RW space, and system should reference it outside of the overlay: so a solution is to have it reside in /data within berryboot layout. You need to modify the script that creates & activate swap accordingly.

Now, Pi3 may probably not need swap at all, and you would save your SD not using it: just disable that service.

macmpi avatar Sep 10 '21 14:09 macmpi