maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
799 stars 135 forks source link

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

Open heuvep opened 2 years ago

heuvep commented 2 years ago

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

symbios24 commented 2 years ago

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

heuvep commented 2 years ago

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.

macmpi commented 2 years ago

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.