(TUTORIAL) How to Make LiveCD/USB from installed Slackware 13/current or Arch system!
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
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.
#rcopy $ROOT/$LMK/kernel/fs/aufs $INITRD_TREE
#rcopy $ROOT/$LMK/kernel/fs/squashfs $INITRD_TREE
## Use the above if you have aufs & squashfs set as (M) modules
## Use the below if you have aufs & squashfs set as (y) or "built-in" to kernel
if [ -d $ROOT/$LMK/kernel/fs/aufs ]; then
rcopy $ROOT/$LMK/kernel/fs/aufs $INITRD_TREE
fi
if [ -d $ROOT/$LMK/kernel/fs/squashfs ]; then
rcopy $ROOT/$LMK/kernel/fs/squashfs $INITRD_TREE
fi
if you read the whole thread at Slax forum you'll see its a continuing concept...
lol
the original LLS only did aufs/squashfs as module
I edited lls/initrd/initrd_create as so
line #142-154
You didnīt change anything else? Only initrd_create?
And I did compile "my own" kernel. That should not matter since I only changed the name of the kernel to 2.6.34-exton-slack. I e I used make oldconfig. (Used your .config).
I also changed a couple things in Ritchies new one
namely initrd_create and
edited linuxrc and added at line 228,
Code:
mkdir -p $UNION/media
as originally lls doesn't create this folder
and thus pcmanfm would'nt mount drives etc without /media folder..
So, what happened so far?
did you read the readme thing?
For reference; since I started nFluxOS, I now have 6 Slackware installs including 1 x86_64, 6 arch installs including 1 x86_64,
and I haven't had one fail to boot as a liveusb, etc
you shouldn't have to do makeoldconfig as the .config in the linux-2.6.34 folder is exactly the same as the one in /boot
did you change anything in the kernel?
it has gobs of stuff in there huh?
I think if you just boot off the original kernel and run the build script it'll work fine
However, there's a couple scripts that need to be there for a livecd
namely /etc/rc.d/rc.slax for boot cheatcodes
and also /usr/bin/xconf and /etc/X11/gui.conf
so, tell me whats up?
make sure you change the aufs setting in kernel from max branches/loops 511 to 127, as it'l boot a little faster.
did you change anything in the kernel?
I think if you just boot off the original kernel and run the build script it'll work fine
However, there's a couple scripts that need to be there for a livecd
namely /etc/rc.d/rc.slax for boot cheatcodes
and also /usr/bin/xconf and /etc/X11/gui.conf
so, tell me whats up?
make sure you change the aufs setting in kernel from max branches/loops 511 to 127, as it'l boot a little faster.
I did not change anything in the kernel.
My remaster using your LLS with "my" compiled kernel wonīt boot. Kernel panic - not syncing: no init found is what I get.
Trying my remaster using your LLS with your original kernel give me the same result - kernel panic.
get the livecd one, you gotta use Ritchies linux-live-6.3.0_x86 with this one too
and edit /etc/rc.modules after installing and uncomment what you want, processor, thermal, video, etc
get the livecd one, you gotta use Ritchies linux-live-6.3.0_x86 with this one too and edit /etc/rc.modules after installing and uncomment what you want, processor, thermal, video, etc
I already have a kernel 2.6.33.3, which works. I have got it from you and I used it to make my version of nFlux, which I call exFlux. Please look here: http://linux.exton.net/node/487
What I want now is a working kernel 2.6.34.1 or 2.6.35 with aufs and squashfs as modules or built in.
well, I'm working on the kernel how-to thing now...
I dont know why it wont work for you but I suspect something went wrong when I did makepkg on it or something..
so, I'm gonna tar everything up straight from the slackkware version I just uploaded http://multidistro.com/NFLUXNEW/SQ4/slack.html
I'm gonna archive the kernel, modules, firmware, and the lls folder and you can download them
i'll include the kernel source too
it wont be a package, just tarred up
cool?
my point being that you may be able to use ubuntu's new kernel
I know a way to create livecd from installed system by using livecd/usb, copying livecd/usb kernel, modules, and lls to host system and run lls
doesn't matter what kernel installed system has
well, I'm working on the kernel how-to thing now...
I dont know why it wont work for you but I suspect something went wrong when I did makepkg on it or something..
so, I'm gonna tar everything up straight from the slackkware version I just uploaded http://multidistro.com/NFLUXNEW/SQ4/slack.html
I'm gonna archive the kernel, modules, firmware, and the lls folder and you can download them
i'll include the kernel source too
it wont be a package, just tarred up
cool?
my point being that you may be able to use ubuntu's new kernel
I know a way to create livecd from installed system by using livecd/usb, copying livecd/usb kernel, modules, and lls to host system and run lls
doesn't matter what kernel installed system has
well, I'm working on the kernel how-to thing now...
I'm gonna archive the kernel, modules, firmware, and the lls folder and you can download them. i'll include the kernel source too
it wont be a package, just tarred up
cool?
so, I guess I goota write howto now...
Yes, I live in Sweden.
So your new "livecd" kernel for Slackware 13.1 will be 2.6.35.8 then? Very cool in that case.
In the meantime I have made a new remaster of Slackwrae 13.1 with Gnome 2.30.2 using kernel 2.6.33.3. I will replace that kernel with your new kernel 2.6.35.8 asap. That will be something...
Now, you gotta manually make symlinks for vmlinuz, config, System.map
rc.modules and rc.M
ln -s vmlinuz vmlinuz-2.6.34-ZENs32
etc, etc
you know right?
and choose either rc.M-live or rc.M-std, rc.M-live just boots a little faster...
cd /etc/rc.d
ln -s rc.M-live rc.M
so, make the symlinks for vmlinuz,config,system.map, /etc/rc.d/rc.modules, /etc/rc.d/rc.M
and thats it I think...
EDIT: compiling meerkats source now on my -current slack setup...
I made aufs as built-in so that will get around the ubuntu folder issue I think...
the good:
kernel 2.6.35-rc5 compiled after I had to unselect some of the ubuntu stuff in menuconfig
and I successfully booted off the kernel and all seemed ok
the bad:
I ran lls build successfully; however, when trying to boot it said the modules(bin.lzm,etc.lzm, etc) were corrupt, etc
and some other erros...
the ugly:
the errors mean that Meerkat's using a higher squashfs than in Ritchie's LLS which uses 4.0 or 4.1
so, maybe theres a way to build the higher squashfs or wait...
I gotta check something
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.