[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Live swap not working




I'm running a custom sid build (3.12.1-686-pae) and using the latest live-boot and live-initramfs-tools from experimental.

With "swap" on cmdline an existing swap partition is not autoconfigured. This is a problem on a low-ram machine.

Here's a snip from the boot log, in case it's relevant:

+ grep -q swap /proc/filesystems
+ modprobe swap
modprobe: module swap not found in modules.dep
+ grep -q swap /proc/filesystems
+ uname -r
+ kmodule=/root/lib/modules/3.12-1-686-pae/swap/swap.ko
+ [ -e /root/lib/modules/3.12-1-686-pae/swap/swap.ko ]
+ return 1
+ [ -n  ]
+ return 1

The correct entry does gets written to /etc/fstab.d/swap

I already know "mount" doesn't process fstab.d .. what I don't know is if the problem is something I missed, the live scripts or something elsewhere in my system.

As a temporary fix I made another initrd with 3020-swapon edited to write the entry to /etc/fstab

David


Reply to: