LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware Linux Live DVD? (https://www.linuxquestions.org/questions/slackware-14/slackware-linux-live-dvd-4175473724/)

jon lee 08-17-2013 11:36 AM

Slackware Linux Live DVD?
 
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?

Thanks!

mrapathy 08-18-2013 03:04 AM

whats wrong with Slax? http://www.slax.org/

jon lee 08-18-2013 07:24 AM

I've personalized my slackware install into a multimedia/audio/studio oriented distro. Slax is too generic for what I'm wanting.

http://i102.photobucket.com/albums/m...psab3dddf9.png

http://i102.photobucket.com/albums/m...psfb8da0a9.png

http://i102.photobucket.com/albums/m...psedc7ca89.png

Raveriux 08-18-2013 11:39 AM

Quote:

Originally Posted by jon lee (Post 5011332)
I've personalized my slackware install into a multimedia/audio/studio oriented distro. Slax is too generic for what I'm wanting.

http://i102.photobucket.com/albums/m...psab3dddf9.png

http://i102.photobucket.com/albums/m...psfb8da0a9.png

http://i102.photobucket.com/albums/m...psedc7ca89.png

I think for some people will be interesting what are your custom software to make Slackware a multimedia/audio/studio distro.

yenn 08-18-2013 12:25 PM

Quote:

Originally Posted by jon lee (Post 5011332)
I've personalized my slackware install into a multimedia/audio/studio oriented distro. Slax is too generic for what I'm wanting.

So are you building something like Slackermedia, just pre-build ISO?

cwizardone 08-18-2013 12:44 PM

Quote:

Originally Posted by Raveriux (Post 5011424)
I think for some people will be interesting what are your custom software to make Slackware a multimedia/audio/studio distro.

+1.

ReaperX7 08-18-2013 04:08 PM

If you do multimedia studio setup, look into JACK at slackbuilds.org as a low-level audio server. You won't be disappointed.

jon lee 08-18-2013 04:51 PM

Quote:

Originally Posted by yenn (Post 5011451)
So are you building something like Slackermedia, just pre-build ISO?

Yes, using this:
http://www.linux-live.org/

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.

BrZ 08-18-2013 07:16 PM

Any feedback about Tux2live and Slackware?
Quote:

Tux2live is toolkit to build your Linux live environment from what you installed in hard disk and it's easy to customize and configure.

jon lee 08-18-2013 07:35 PM

Quote:

Originally Posted by BrZ (Post 5011617)
Any feedback about Tux2live and Slackware?

Thanks, I'll check it out if it comes back up.
Quote:

It's not just you! http://www.tux2live.org looks down from here.
Remastersys is too ubuntu (installer) oriented for us to use. I couldn't find source for the pclinuxos version.

surio 08-19-2013 01:13 AM

Just adding to @mrapathy's list

1. slax,
2. SalixOS,
3. Porteus

not necessarily in any order works beautifully as Slackware extensions :)

jostber 08-20-2013 06:22 AM

Porteus looks like something could work nicely here:

http://www.porteus.org/info/features.html

surio 08-21-2013 11:14 PM

Quote:

Originally Posted by jon lee (Post 5011628)

Remastersys is too ubuntu (installer) oriented for us to use. I couldn't find source for the pclinuxos version.

Plain remastersys is available on Sourceforge from here, if you are looking for it.

01micko 08-22-2013 07:40 AM

Hello jon lee

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.

tdos20 08-22-2013 08:29 AM

http://www.studioware.org/ might aso be useful for the multimedia things

jon lee 08-22-2013 10:02 AM

Quote:

Originally Posted by 01micko (Post 5013769)
Hello jon lee

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.

That looks about how I had it setup too. So I don't know why the linux live scripts wouldn't work. As far as the second part, yes/no/maybe (make headers_install on the kernel.. and as far as that goes I recompile module tools and iptables to match the kernel as well). You know I did compile aufs-util to match the 3.10.2 kernel (the first kernel I tried, but not the 3.10.5- you think that might be it really?) I configured the kernel ramdisk to use xz compression but that shouldn't be it because it did find the init environment. Maybe I need to look at the squashfs options closer (which linux live also uses). Here in a few a days I plan to make another attempt. I'll try and find the patches you mentioned. I'll compile aufs-util to match it as well. thanks.

jon lee 08-23-2013 02:23 AM

Thanks everyone for your help- and especially Micko. I followed your aufs kernel config to the tee and also recompiled aufs-util and it worked. I am posting this from my homemade slackware live usb key. Check out the mount and kernel version!

http://i102.photobucket.com/albums/m...psb04eb173.png

It took a lot of work to get to this point, so I'm pretty excited.
I'm willing to share if anyone knows where I can upload a 2.7G .iso file to be hosted.
I specifically removed libflashplayer.so and java sdk (needed to compile xbmc) before making the live distro because of licensing. Everything else should have readily available source (and actually I saved my source as well).

Thanks again!

01micko 08-23-2013 04:49 AM

jon lee

Glad to be of some help.

Drop me an email : 01micko AT gmail DOT com (re hosting)

surio 08-25-2013 09:14 AM

Quote:

Originally Posted by jon lee (Post 5014289)
Thanks everyone for your help- and especially Micko. I followed your aufs kernel config to the tee and also recompiled aufs-util and it worked. I am posting this from my homemade slackware live usb key. Check out the mount and kernel version!

Thanks again!


Well done! And good work on being persistent. Some of us are easily pleased with off-the-shelf offerings. ;)


All times are GMT -5. The time now is 11:34 PM.