Raspberry Pi B+ - swap failure on boot [solved]

Brett Wynkoop freebsd-arm at wynn.com
Mon Mar 2 18:34:46 UTC 2015


On Mon, 02 Mar 2015 21:03:26 +1100
Trevor Roydhouse <trev at sentry.org> wrote:

> There is an /etc/rc.d/swap file. If I remove this file from /etc/rc.d 
> then swap works on boot (and is in fact added by /etc/rc.d/swaplate).
> If I leave /etc/rc.d/swap, swap always fails on boot.
> 

Rather than remove /etc/rc.d/swap you should use the late option in
fstab to specify you want swap added late:

md             none    swap    sw,file=/usr/swap/0,late        0       0


-Brett

-- 

wynkoop at wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
929-272-0000

Amendment I

Congress shall make no law respecting an establishment of religion, or 
prohibiting the free exercise thereof; or abridging the freedom of 
speech, or of the press; or the right of the people peaceably to
assemble, and to petition the government for a redress of grievances.



More information about the freebsd-arm mailing list