Wow, finally got it to work
. Had quite a lot of trouble too, but that's very likely because I'm using Jaunty with a self-compiled kernel (2.6.34). Things I ran into:
Code:
sudo apt-get install live-initramfs squashfs-tools
This broke apt for me (at least I think that's what started it). Running "sudo dpkg --configure -a", resulted in:
The fix, after some Googling, appeared to be to edit the file
"/usr/share/initramfs-tools/hooks/live", and change the line "copy_exec /usr/bin/udevinfo" into "copy_exec /sbin/udevadm".
When trying to boot into RAM, I was dropped into busybox, with:
Regular Jaunty creates Squashfs filesystem version 3.1. I tried installing the squashfs-tools from Karmic instead and recreated the squashfs image (version 4). That took care of it, but now a new error appeared:
When looking in the live.log, there was a complaint about a missing "wc" command (for busybox). This was fixed by adding a line "copy_exec /usr/bin/wc /bin" to the "/usr/share/initramfs-tools/hooks/live" file. After rebooting, the aufs error still appeared, so I tried installing squashfs-tools from Lucid and going through the process again, but still no luck.
So, back to Google, and it became clear that aufs-support isn't part of the mainline kernel; you'll need to patch it first (standard ubuntu kernels are already patched). So, compiled a kernel with aufs patches applied (it took several times because of kernel version conflicts), compiled the module, added module to /etc/modules (did forget to do that initially), and after going through the howto again, everything actually booted! Yay!
I must say, the speed difference is very noticable. I'm talking about application startup-time, something as simple as scrolling in firefox, etc. Very impressive. Boot time increased though (as expected).
I have a few more things to write (some recommendations as well), but I *really* should go to sleep now. Anyway, thanks again for the howto, I learned a lot.
Bookmarks