LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-12-2010, 04:45 PM   #76
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336

lol
its cool
Yes, you must use Ritchie's modified LLS which uses squashfs 4.0 vs original LLS' squashfs 3.4

with 4.0, it builds the cd faster and somewhat smaller
I included it in /root

heres the thread with Ritchie's LLS
note that mine is even more modified than his
http://www.slax.org/forum.php?action...parentID=59545

the original LLS only did aufs/squashfs as module

I edited lls/initrd/initrd_create as so

line #142-154

Code:
#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...
 
Old 07-13-2010, 02:35 AM   #77
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
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).

Last edited by golfer7; 07-13-2010 at 03:38 AM.
 
Old 07-13-2010, 07:19 AM   #78
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
well
you mean different compared to original lls or whats different from ritchie's?

yeah, actually a whole lot has changed
from original lls
if you read Ritchie's post at Slax forum
it explains it all

http://www.slax.org/forum.php?action...parentID=59545

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.
 
Old 07-13-2010, 03:49 PM   #79
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Kernel panic

Quote:
Originally Posted by linus72 View Post
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.
 
Old 07-13-2010, 05:39 PM   #80
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
OK
please tell me the exact procedure you used?
did you install the .txz or installed stuff manually?

what system is your host system? Slackware?
EDIT: are you doing this in a VM?

Last edited by linus72; 07-13-2010 at 05:56 PM.
 
Old 07-14-2010, 03:01 PM   #81
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
OK
please tell me the exact procedure you used?
did you install the .txz or installed stuff manually?

what system is your host system? Slackware?
EDIT: are you doing this in a VM?
I installed the .txz.
Iīm trying to remaster my Slackware 13.1 system, which I have installed to hard disk. (No VM).
 
Old 07-14-2010, 03:14 PM   #82
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
MMM
it works flawlessly in all of mine
as I said acroos 3 computers ...

and you do
cd into linux-live folder or open terminal there
then do
./build

right?
any errors during build?
does /tmp/live-live.log say anything?

did you try decompressing the .txz and manually installing everything?
 
Old 07-15-2010, 12:22 PM   #83
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
MMM
and you do
cd into linux-live folder or open terminal there
then do
./build

right?
any errors during build?
does /tmp/live-live.log say anything?

did you try decompressing the .txz and manually installing everything?
Yes, I do it as I always do. (Run ./build etc).
No errors and no clue in linux-live.log.
I have not (yet) tried a manually install.
 
Old 07-15-2010, 03:13 PM   #84
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
OK
lets try and deduce if its the kernel or lls , etc

you can try using this kernel from superb-mini-server(was slack-mini-server)
http://sms.it-ccs.com/isos/SMS-Curre...plash_kernels/

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
 
Old 07-17-2010, 05:57 AM   #85
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
OK
lets try and deduce if its the kernel or lls , etc

you can try using this kernel from superb-mini-server(was slack-mini-server)
http://sms.it-ccs.com/isos/SMS-Curre...plash_kernels/

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.
 
Old 07-17-2010, 07:22 AM   #86
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
why did it double post?
Mod please remove one thx

hey golfer7
so, your in Sweden?

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?

also, I installed the maverick meerkat daily build yesterday
and made a test cd of it
http://cdimage.ubuntu.com/daily-live/current/

it comes with 2.6.35-7 and it upgraded too 2.6.35-8 after install
when I made livecd of it

anyway, ubuntu puts some things in /lib/modules/ubuntu including the aufs module dont know why they put stuff there...?

check this out too; keep your ubuntu builds up to date
http://ansi.interblc.com/2010/02/06/...2-with-ubuntu/

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

so, I guess I goota write howto now...

Last edited by linus72; 07-17-2010 at 07:24 AM.
 
Old 07-17-2010, 07:23 AM   #87
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
hey golfer7
so, your in Sweden?

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?

also, I installed the maverick meerkat daily build yesterday
and made a test cd of it
http://cdimage.ubuntu.com/daily-live/current/

it comes with 2.6.35-7 and it upgraded too 2.6.35-8 after install
when I made livecd of it

anyway, ubuntu puts some things in /lib/modules/ubuntu including the aufs module dont know why they put stuff there...?

check this out too; keep your ubuntu builds up to date
http://ansi.interblc.com/2010/02/06/...2-with-ubuntu/

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

so, I guess I goota write howto now...
 
Old 07-17-2010, 08:44 AM   #88
golfer7
Member
 
Registered: Jun 2010
Posts: 53

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
hey golfer7
so, your in Sweden?

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...

Thanks again for all your work.
 
Old 07-17-2010, 08:58 AM   #89
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
hey golfer7
dang it that must be nice having all those 6-foot tall blond swede babes around huh?!
lol
(sigh...)

OH,
I meant I was gonna try to implement the 2.6.35-8 kernel
dont know how successful that might be....
heres meerkats source
https://launchpad.net/ubuntu/maveric...35/2.6.35-8.13

strangely aufs is in linux-source-2.6.35/ubuntu ?

today I'm jammin the heavy metal and messin with stuff...you know

heres the kernel I used in newest slackware iso; 2.6.34-ZENs32, modules, source, firmware,
all the slax stuff and /root/lls
http://multidistro.com/Kernels/zen1-...olfer7.tar.bz2

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...

I just booted off of zens32 kernel and did

Code:
zcat /proc/config.gz > .config
make oldconfig
and then fixed it up
and did make menuconfig....

I usually use Alien's kernel instructions
http://alien.slackbook.org/dokuwiki/...kernelbuilding

Last edited by linus72; 07-17-2010 at 09:39 AM.
 
Old 07-17-2010, 06:26 PM   #90
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Well
here's the good, the bad, and the ugly

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
 
  


Reply

Tags
remaster, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LiveCD/USB kits for ARCH x86/x86_64 now ready! linus72 Arch 2 07-30-2010 06:16 PM
Install slackware on a USB drive without creating an USB livecd Barx Slackware 4 06-28-2010 02:31 PM
[SOLVED] Emacs built with wrong ARCH (Slackware-Current) piratesmack Slackware 8 05-07-2010 12:20 AM
make a .img file for custom liveCD, dd?? (Also, how to make your system very small) 1veedo Linux - Newbie 6 05-07-2006 06:52 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration