> On Dec 5, 2014, at 13:50, Richard Melville 
> <[email protected]> wrote:
> 
> Just a point of information: the swap script set to run at S20swap in 
> /etc/rc.d/rcS.d comes up too soon and displays an error message, but S60swap 
> works OK.
> 
> Obviously, working with USB flash media slows everything down a tad.  Maybe 
> the run order could be changed in the book; I can't see that it would effect 
> anybody else adversely.
> 
> Richard

Swap needs a device to enable swap. If you are using USB and the boot scripts, 
which the system will load real fast from an SSD (even a hard drive) where the 
rootfs is, the USB device may not be available. You will need to use rootdelay 
option in kernel to make sure the USB device settle down (just like the scsi 
system, usb operates like the scsi system without waiting for root), so that 
swap will be able to be enabled.

You have two options when using USB parittions to mount. Use rootdelay or use 
an initramfs even if your rootfs is not with the USB device. You can even put a 
delay in the swap script until the usb device becomes available.

Sincerely,

William Harrington
-- 
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

Reply via email to