SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to create a Slackware Linux Live bootable DVD/USB.
I've tried two kernels. The first I hand patched for aufs and probably messed things up. The usb distro would load up until it tried to mount the first fs branch (bin.sbo) and then freeze. Later I found better aufs patches for the 3.10 tree, this time it doesn't even see the linux live files and just drops me into an initrd environment shell.
There's a number of related aufs patches. Should any be left out specifically for linux live scripts to work?
Also, there's a number of aufs kernel configuration options. Should any of those specifically be included or left out for a linux live distro? (I'm specifically wondering about aufs for loop, aufs for fuse, aufs for initrd). Do I need to alter the max number of branches?
Except that I want to use my own kernel. Their faq is rather vague. If anyone knows of a better solution, that would be great too. I have successfully done this before with older linux live scripts and unionfs.
What do you want to achieve? A remaster for personal use or a distro for sharing?
If a remaster, why wont a different bootloader work and forget AUFS?
If a distro there are many questions, probably all too off topic for this forum.
I will oblige somewhat.
Here is what I use in my .config;
Code:
CONFIG_AUFS_FS=m
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
CONFIG_AUFS_HNOTIFY=y
CONFIG_AUFS_HFSNOTIFY=y
# CONFIG_AUFS_EXPORT is not set
# CONFIG_AUFS_RDU is not set
# CONFIG_AUFS_PROC_MAP is not set
# CONFIG_AUFS_SP_IATTR is not set
# CONFIG_AUFS_SHWH is not set
CONFIG_AUFS_BR_RAMFS=y
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
CONFIG_AUFS_BR_HFSPLUS=y
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set
Possibly CONFIG_AUFS_EXPORT=y could be a good one to add. You'd be mad to add more than 127 branches except for experimentation IMHO. I only ever use 6.
Of course this all depends on initrd support AND compiling the generic linux patched with the patches from Junjiro Okajima (they apply cleanly as tested on 3.10.5), not his patched linux which makes AUFS builtin. I do have scripts for this however I will not publish them here as it is far too off topic.
Are you mounting directories or squashfs?
Ask questions on the AUFS mailing list, Junjiro is usually responsive to genuine problems.
Of course you compiled aufs-utils against the kernel headers for userspace too didn't you?
Regards.
Last edited by 01micko; 08-22-2013 at 08:01 AM.
Reason: Added info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.