On 7/26/19 5:49 PM, Bruce Dubbs wrote:
On 7/26/19 4:15 PM, Baho Utot wrote:
Why is swap enabled so early in the boot process?
If you are using LFS on a raspberry pi you must do the following:
mv /etc/rc.d/rcS.d/S20swap /etc/rc.d/rcS.d/S60swap
otherwise the system comes up with no swap.
After making the change swap will come up upon boot.
Doing 'mount -a' after the system comes up will result in swap working
I don't see where it would affect other platforms as I have LFS
running on x86_64, i386 and raspberry pi {1,2,3} ( soon to be pi4).
Historically you would want to mount swap before you mount /
read-write. In today's environment, you probably don't need swap at all.
What type of error do you get when trying to mount swap on the rpi?
That said, you may have a timing issue with the HW, but I'm just
guessing.
-- Bruce
The swap doesn't come up, I am using a swapfile so I believe that root
will need to be mounted rw before swap can be enabled.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style