Users online right now: 116 - Login  » search  » forum index  

[Slax-Remix] v01/2.6.32-zen4 ready to download!

fanthom
wrote 4 years ago


reply
------------------------------------------------------------------------------------------------------------
WARNING: this version is now obsolete, to get slax-remix-v02 check out this thread:
http://www.slax.org/forum.php?action=view&parentID=54857
------------------------------------------------------------------------------------------------------------

Who may be interested in slax-remix?
- people who are having troubles with compilation of custom-kernel like described in this HOWTO: http://www.slax.org/forum.php?action=view&parentID=53917
- users with hardware not supported or not fully supported by kernel 2.6.27.27
- power users who wants to try/test out features of zen kernel, more info: http://zen-kernel.org/included-code

How to get it?
download from here: http://www.mediafire.com/file/hqymn3dnzyz/slax-remix-v0.1.iso
md5sum: a6728414564edc4e9f4c428ffcef6a4e

How to make live-usb version?
As normal: extract content of iso file to your usb stick and run bootinst.bat or bootinst.sh from boot folder to make it bootable.

What does it include?
5 modules only:
001-core, 002-xorg, 003-desktop, firefox and squashfs4-tools

Changes comparing to official slax-6.1.2?
- new kernel 2.6.32 with zen-4 patches, which means a lot of new drivers and features
- firefox updated to version 3.5.5 and flash to version 10.0-r32
- squashfs4-tools for converting other slax modules to new squashfs4 format
- max_loop=50 cheatcode added by default to all booting options in slax.cfg file
- 003-desktop.lzm/root/.kde/share/config/konsolerc file removed to get fully featurable konsole application

What about disadventages?
- every module downloaded form slax site must be converted to new format by using squashfs4-tools.
- drivers.lzm is not included in initrd.gz so PXE boot is not possible at the moment (can add it in next release if users will need it)

TODO list:
- create kernel dependent modules: Nvidia and Ati drivers, Virtualbox, etc (work in progress)
- script for automatic conversion between squashfs3 and squashfs4 format
- update crippled kernel sources in 006-devel to 2.6.32 (done)

------------------------------------------------------------------------------------------------------------
WARNING: it's an unofficial slax release so please report any bugs, problems or requests in this thread only.
------------------------------------------------------------------------------------------------------------
WARNING: please do not upload any modules created by squashfs4-tools on slax site cause it may confuse users of normal slax-6.1.2 and make bigger chaos in modules section
------------------------------------------------------------------------------------------------------------

DOWNLOAD SECTION
Here you can get all modules specific for slax-remix release (they wont work with normal Slax releases because of different kernel version)

006-devel package with crippled-sources v2.6.32:
http://www.mediafire.com/file/jiq5mzjmjrj/006-devel-remix-v01.lzm

Ati fglrx 9.12 driver for HD2000-HD4000 cards:
http://www.mediafire.com/file/nuyw25mxz0w/ati-fglrx-9.12-remix-v01.lzm

Nvidia drivers:
TODO

VirtualBox:
http://www.mediafire.com/file/jjmmmz5hd42/VirtualBox-312-remix-v01.lzm

Hope you'll like it!

Regards,
fanthom
 
kalla
wrote 4 years ago


reply
thank you! i will try it! will wifi wpa2 work?
 
jayflood
wrote 4 years ago


reply
Good work fanthom. Perhaps to ease the module pain a script could be made to convert modules?
 
sams
wrote 4 years ago


reply
Fanthom,
I have this working, I've just tested basic desktop functionality and it works fine.

Can you explain the lzm format changes (ie why old modules can't be activated?) It looks like lzm2dir works fine but when I try to activate an old lzm module I get this on the console:

SQUASHFS error: Can't find a SQUASHFS superblock on loop6

I use slax a bunch but haven't followed squashfs development or zen or other technical developments.

Thanks for your work Fanthom, I think this is going to be very cool. My last job I had a handful of new servers that were too new to have slax drivers for everything, latest kernels could be a great slax addition (and slax functionality could be great way to test & show zen)
 
fanthom
wrote 4 years ago


reply
kalla wrote:
thank you! i will try it! will wifi wpa2 work?

Yes it should work, please report the status back
jayflood wrote:
Good work fanthom. Perhaps to ease the module pain a script could be made to convert modules?

Would be nice, could you write it? Also, could you gather all your scripts together in one module or something. I would include them in next release. I'm thinking about adding extra sub menu called "slax scripts" under K-menu button in 003-desktop.lzm. Would be easier to find by new slax users. Easy module activating script could be rewritten for GUI (Kdialog library). Debug script could be helpfull for tracking issues. What's the status of your wifi script? is it mature enough to be included by default in slax-remix?
sams wrote:
Can you explain the lzm format changes (ie why old modules can't be activated?)

standard linux kernel above 2.6.28 has newer squashfs4 version which is not backward compatible with 3.4 used in slax-6.1.2 (kernel 2.6.27.27). Module conversion will be a must in slax-7 so i think it's a good time to start doing it now.

Do you think we need a graphical changes in slax-remix? Bootsplash, wallpapper, ksplash, icons, themes etc?
Any suggestions? Any volunteer?
My free time is limited so any help would be appreciated.
Now i will try to make the first point from TODO list.

Regards
 
Blaze89
wrote 4 years ago


reply
A nice slax-remix ^^
fanthom, please add KDE4 (http://www.kde.org/download/#v4.3) in the next version of Slax-remix. Thanks.
 
cichlasoma
wrote 4 years ago


reply
Thanks, fanthom! :-)

fanthom wrote:
- max_loop=50 cheatcode added by default to all booting options in slax.cfg file

May I ask about the reasons for this step?
 
andre5775
wrote 4 years ago


reply
Thanks,
Good work
bräuchte noch die Ati-drivers and for my Akoya e1210 the wlan-driver rt2860

sorry for eng
 
Blaze89
wrote 4 years ago


reply
All made modules of Slax-remix does not work :(

dir2lzm
lzm2dir
txz2lzm

I have a problem that needs fixin' – can you help? squashfs4-tools?
 
jayflood
wrote 4 years ago


reply
cichlasoma wrote:
Thanks, fanthom! :-)

fanthom wrote:
- max_loop=50 cheatcode added by default to all booting options in slax.cfg file

May I ask about the reasons for this step?


Probably because when attempting to mount a module for example on a loop slax reports no available loop devices. Previous solution is to unmount something to free up a loop.

I'll make a module converter when i get some time, and research a little to see what the difference between the new and old is.
 
godzillarama
wrote 4 years ago


reply
Nice work. Is it possible to use the zen-4 kernel in Arch Linux? Thanks.
 
andre5775
wrote 4 years ago


reply
Blaze89 wrote:
All made modules of Slax-remix does not work :(

dir2lzm
lzm2dir
txz2lzm

I have a problem that needs fixin' – can you help? squashfs4-tools?




extrakt modul.lzm /root/Desktop/ (squashfs3)
/root/squashfs4-tools/mksquashfs /root/Desktop/modul /root/Desktop/modul.lzm
copy modul.lzm to usb /slax/modules/
reboot
 
fanthom
wrote 4 years ago


reply
Blaze89 wrote:
fanthom, please add KDE4 (http://www.kde.org/download/#v4.3) in the next version of Slax-remix. Thanks.

sorry but it's not possible at this stage.
@cichlasoma
without max_loop cheatcode you would be able to activate 8 modules only
andre5775 wrote:
bräuchte noch die Ati-drivers and for my Akoya e1210 the wlan-driver rt2860

I can include rt2860 in slax-remix-v02 but this driver is in the staging area of the kernel so can't guarantee that will work correctly. Ati-drivers 9.12 are making troubles but hopefully i'll be able to release them on Monday.
godzillarama wrote:
Nice work. Is it possible to use the zen-4 kernel in Arch Linux? Thanks.

Should be possible:
aur/kernel26-zen 2.6.32.2-4
@jayflood
your script is highly demanded :)
@Blaze89
every module downloaded from slax site must be converted by using squashfs4-tools. andre5775 showed you already how to do it (reboot not necessary, just double click on it).

Updated first post with Download section. i'll put there only slax-remix specific modules which are not accessible on Slax site. Virtualbox only so far but work in progress...

My main goal for now is to release 006-devel module with crippled sources v.2.6.32 cause i don't have an nvidia board and can't build up any Nvidia drives. When this is done i'll ask you for creating and verifing those modules. More info on Monday so stay tuned.

thanks for the feedback
 
cichlasoma
wrote 4 years ago


reply
jayflood wrote:
Probably because when attempting to mount a module for example on a loop slax reports no available loop devices.

On what conditions? What kind of mounting do you mean? Do you mean simple activating of a module (which mounts it as well, afaik)?
 
cichlasoma
wrote 4 years ago


reply
fanthom wrote:
@cichlasoma
without max_loop cheatcode you would be able to activate 8 modules only

May I ask why? :-) (Is it due to the new aufs version or what?)
 
fanthom
wrote 4 years ago


reply
cichlasoma wrote:
fanthom wrote:
@cichlasoma
without max_loop cheatcode you would be able to activate 8 modules only

May I ask why? :-) (Is it due to the new aufs version or what?)

my guess is that it's default value in kernel config, read here:
http://tldp.org/HOWTO/CDServer-HOWTO/addloops.html#loopdev

Update:
mknod_next_loop_dev function from liblinuxlive doesn't create new one. For investigation.
 
cichlasoma
wrote 4 years ago


reply
fanthom: Thanks!
 
fanthom
wrote 4 years ago


reply
006-devel package with crippled-sources v2.6.32 is ready for downloading:
http://www.mediafire.com/file/jiq5mzjmjrj/006-devel-remix-v01.lzm

Hopefully all is done right (VirtualBox builded correctly) so now i would like to ask a volunteer for building up nvidia drivers and creating slax module (sqfs4-tools) as briefly described in this thread by francois.e: http://www.slax.org/forum.php?action=view&parentID=32106

please also verify that this module works, upload it somewhere and share a link to it here. Mediafire.com is a good choice. please do not upload any modules created by squashfs4-tools on slax site cause it may confuse users of normal slax-6.1.2 and make bigger chaos in modules section.

thanks in advance
 
fanthom
wrote 4 years ago


reply
last contribution for now:
Ati fglrx 9.12 driver for HD2000-HD4000 cards:
http://www.mediafire.com/file/nuyw25mxz0w/ati-fglrx-9.12-remix-v01.lzm

Include XvBA support (Amd response to Nvidia vdpau technology) and Steam (Nvidia CUDA).

Have fun with it.
 
godzillarama
wrote 4 years ago


reply
Just in case anyone is curious -- I booted this Slax remix and installed Linux Live Scripts 6.3.0. I changed a couple of things (desktop wallpaper, Firefox home page), then ran the script. That part worked fine, but the ISO it created won't boot. It can't load the kernel modules. I did append the boot line with max_loop=50.

If anyone else figures out how to get this kernel to work with LLS -- if it's even possible, and it may not be -- please post your solution. Thanks.
 
beny
wrote 4 years ago


reply
hi for this change,i do not think to run linux live script LLS it is necessary to make a new system,not to fix a change, slax have save change option for do that.
 
godzillarama
wrote 4 years ago


reply
@beny I'm not really interested in changing or remixing Slax. I'm interested in using LLS on another distro entirely, but with an up-to-date kernel. I'm hoping the zen4 kernel can be that kernel. I used LLS on the zen remix of Slax as a test to see what would happen. I didn't see the point in working to install the zen4 kernel on another distro if it wasn't going to work with LLS anyway.
 
jayflood
wrote 4 years ago


reply
Would be nice, could you write it? Also, could you gather all your scripts together in one module or something. I would include them in next release. I'm thinking about adding extra sub menu called "slax scripts" under K-menu button in 003-desktop.lzm. Would be easier to find by new slax users. Easy module activating script could be rewritten for GUI (Kdialog library). Debug script could be helpfull for tracking issues. What's the status of your wifi script? is it mature enough to be included by default in slax-remix?


Good idea about a script section. I'll write a script for the modules shortly and the easy module activation for kdialog, the Slax System Info script is ready. The wifi script is not ready. Takes me too much time jumping from wireless box to lan to test it, i'm not happy with it. I am trying to get it to be thorough, searching for drivers, wpa etc and downloading if not present. I am almost finished a source code compiling script, just have test on a wide range of source codes. Supports make, qmake, automake, cmake.

I'm having an operation next week (replace a blown disc) so i may not be slouched over my computer for a few days after.
 
kaiomatico
wrote 4 years ago


reply
everything sounds perfect! i will try it out tomorrow, but i just read this so please upgrade flash in the future release (and upgrade firefox to the latest, scince 3.5.6 was out way longer than you published this thread)

http://www.gentoo.org/security/en/glsa/glsa-201001-02.xml

here you can see why flash should be updated, potentional of a DoS attack
 
jayflood
wrote 4 years ago


reply
Thanks kaiomatico

adobe-flash Vulnerable < 10.0.42.34 Not affected >= 10.0.42.34 All architectures

Sheesh .. if people stopped finding exploits then we wouldn't need to upgrade all the time!
 
jayflood
wrote 4 years ago


reply
Module conversion script is ready.

http://ibj.co.nz/main/slax/modconv

It checks that file is a module, and that squashfs4 is loaded. If not it will check for net connection and download squashfs4-tools to optional folder and activate it. It works from any path so you can save it to /usr/bin and name it whatever you like.

Usage: scriptName /path/to/module.lzm - entering only modconv will give usage.

It replaces the module with the converted one so be sure to make a backup of the original module if you want to keep it. Do you think it would be better to leave original alone and create new module with something like sq4 appended to name?

The next script will convert all modules in a given folder.
 
kaiomatico
wrote 4 years ago


reply
Hello again, i just tested your slax remix... i also downloaded your virtualbox module, made it into the modules folder and made a new iso under linux with the make_iso.sh script

everything boots fine but the first message i get greeted with in kde even before icons are loaded (but the shape of the taskbar is there yet) is "The file-protocol died unexpectly" .. well not too bad everything still works just fine i think klog is meant with that or so o_O

i like that you removed the konsole config so we have a normal terminal again :)


but the virtualbox kernel module is not set up yet, which i think is a bit senseless to provide the module then ;) everyone can also just get like a debian module and convert it so the actual program is there but won't start until it is really optimised to that kernel, i remember that the modules from slax.org had mentioned for what version of kernel they are because they included the module,as it should be



but all in all great work! thanks for that awesome remix and i will surely use it over the normal slax! :)
 
fanthom
wrote 4 years ago


reply
godzillarama wrote:
Just in case anyone is curious -- I booted this Slax remix and installed Linux Live Scripts 6.3.0. I changed a couple of things (desktop wallpaper, Firefox home page), then ran the script. That part worked fine, but the ISO it created won't boot. It can't load the kernel modules

Check Debugging section of my HOWTO: http://www.slax.org/forum.php?action=view&parentID=53917
run with debug cheatcode and try to modprobe aufs manually.
jayflood wrote:
I'm having an operation next week (replace a blown disc) so i may not be slouched over my computer for a few days after.

Take a rest and get back to good health condition asap :)
kaiomatico wrote:
please upgrade flash in the future release (and upgrade firefox to the latest, scince 3.5.6 was out way longer than you published this thread)

module is ready, waiting for v02 release
jayflood wrote:
The next script will convert all modules in a given folder.

very good, hopefully it'll be ready before v02.
I think it's a good idea to change .lzm to for example .sq4 to avoid confusion between old sq3 and new sq4 formats. Even if Tomas 'll decide to go with different name for modules in slax-7 it'll be only a renaming thing to do.

kaiomatico wrote:
but the virtualbox kernel module is not set up yet, which i think is a bit senseless to provide the module then ;)

Do you mean that Virtualbox doesn't work? I have tested it fine... hmmm... must check again.
------------------------------------------------------------------------------------------------------------
NEWS:
v01 downloaded 65 times!
currently im working on forcing slax to boot from ext4 partition and it kicks my balls so far. v02 will have more optimized kernel and few drivers from staging area (i'm not taking responsibility for damage :D)
patch provided by cheater1034 fixed loop number limitation to 8, so max_loop cheatcode will no longer be required (but still recomended). Few other changes will be also noticed.

Still waiting on nvidia drivers...

Regards,
fanthom
 
AppleWolf
wrote 4 years ago


reply

http://www.mediafire.com/


I can't open this URL, I guess, this URL was blocked by GFW of our country!

Can you send this file to my Gmail?!

jingleilv@gmail.com

Thanks

Best regards!
 
fanthom
wrote 4 years ago


reply
@AppleWolf
my upload really sucks, so maybe i'll send you v02 which should be done in few days as booting and mounting ext4 partitions is finally sorted out :D
 
cichlasoma
wrote 4 years ago


reply
fanthom wrote:
last contribution for now:
Ati fglrx 9.12 driver for HD2000-HD4000 cards:
http://www.mediafire.com/file/nuyw25mxz0w/ati-fglrx-9.12-remix-v01.lzm

Include XvBA support (Amd response to Nvidia vdpau technology) and Steam (Nvidia CUDA).

Have fun with it.

May I ask how you build lzm modules out of the ATI driver installer?
 
cichlasoma
wrote 4 years ago


reply
AppleWolf wrote:

http://www.mediafire.com/


I can't open this URL, I guess, this URL was blocked by GFW of our country!

Can you send this file to my Gmail?!

jingleilv@gmail.com

Thanks

Best regards!

I've uploaded the iso here http://ifile.it/vk7m2n3/slax-remix-v0.1.iso
 
fanthom
wrote 4 years ago


reply
cichlasoma wrote:
May I ask how you build lzm modules out of the ATI driver installer?

yes, run slax in cp2ram mode, download installer from amd site, execute it (make sure you have 006-devel-remix-v01.lzm activated) check if module was builded up correctly in /lib/modules/fglrx. Then copy all necessary files from /mnt/live/memory/changes to a folder and finally build up a module ;]
cichlasoma wrote:
I've uploaded the iso here http://ifile.it/vk7m2n3/slax-remix-v0.1.iso

thanks for that
 
cichlasoma
wrote 4 years ago


reply
fanthom wrote:
yes, run slax in cp2ram mode, download installer from amd site, execute it (make sure you have 006-devel-remix-v01.lzm activated) check if module was builded up correctly in /lib/modules/fglrx. Then copy all necessary files from /mnt/live/memory/changes to a folder and finally build up a module ;]

Thanks.
(Strange... In Slax 6.1.2, when I install the driver, my card works with right resolution. When I build Slackware modules with --buildpkg option, convert them to lzm, activate them and reboot, they take no effect. If I install the driver, made a module out of /mnt/live/memory/changes and reboot, X doesn't start. I'll have to make some "research" more... :-) )
 
jayflood
wrote 4 years ago


reply
@AppleWolf - Have you tried visiting the blocked address through google translate webpage? Sometimes you can get around blocked sites using this method.

@cichlasoma - If you give me the link to the drivers i will look to see how to make a singledriver module from it. Is it the link i posted in another thread?
 
jayflood
wrote 4 years ago


reply
Multiple module converter is now ready. You can convert every module in a directory and it's sub directories.
You can name the script whatever you like and put it in path /usr/bin


Usage: yourScript /path/to/module/folder

http://ibj.co.nz/main/slax/modconv-all

This script will check that input folder exists and has modules in it. It will then check if squashfs4-tools is activated or exists in slax optional folder. If not it will check for internet connection and then download and activate tools.

If required conditions are met it will convert all old modules into new squash4 ones and put them in a folder with the same name as your input with -converted appended to the folder name.

Next step is to make a module from all scripts and maybe a gui for some of them.
 
cichlasoma
wrote 4 years ago


reply
jayflood wrote:
@cichlasoma - If you give me the link to the drivers i will look to see how to make a singledriver module from it. Is it the link i posted in another thread?

Yes, it is. (Thank you for your offer to look at it, but I haven't invested much effort into it so far and I believe, I'd be able to solve it myself when I give it some time... Thanks again for the link to the driver, anyway... :-) )
 
fanthom
wrote 4 years ago


reply
jayflood wrote:
Multiple module converter is now ready. You can convert every module in a directory and it's sub directories.
You can name the script whatever you like and put it in path /usr/bin


Usage: yourScript /path/to/module/folder

http://ibj.co.nz/main/slax/modconv-all

This script will check that input folder exists and has modules in it. It will then check if squashfs4-tools is activated or exists in slax optional folder. If not it will check for internet connection and then download and activate tools.

If required conditions are met it will convert all old modules into new squash4 ones and put them in a folder with the same name as your input with -converted appended to the folder name.

Next step is to make a module from all scripts and maybe a gui for some of them.


Looks impressive, great job!
but my /mnt/live/mnt folder is empty, i run with cp2ram and without changes, maybe that's the reason.
I think the script should ask the user for full path where he stores all modules (it not necessarily must be slax "optional" folder) and then save value in config file - lets say .kde/share/config/jayflood. this file could be used also by "easy module activation script". So the first thing would be to check if .kde/share/config/jayflod exist, if not then ask user for path and store proper value in that file, then do the job. it's just a suggestion, what do you think?
 
jayflood
wrote 4 years ago


reply
cichlasoma

Run the downloaded driver package with the following switch:

./ati-driver-installer-9-12-x86.x86_64.run --buildpkg Slackware/Only_Module

then convert the slackware package to slax module.

You can build the drivers for many systems. Use the --listpkg switch to see the list of packages.

Thanks Fanthom, i will revise the script shortly. Your is suggestion sounds like a good way to go.
 
fanthom
wrote 4 years ago


reply
hi jayflood,
i have some free time now so i built up a kde menu for your scripts, please find them here:
http://www.mediafire.com/file/fmcyqldk5yn/jayflood.zip
put in /rootcopy and reboot.
Looks like we don't need kdialog at all, but it's up to you.
Couldnt find ssinfo tool on this forum so this file is empty, builder script also gives some errors.
Please do necessary changes (maybe add slax-usb script, remove what unneeded, etc), send this file back and i'll be releasing remix-v02, which is almost ready to go!

Regards
 
jayflood
wrote 4 years ago


reply
Thanks Fanthom,

I've modified the scripts using your suggestion of a config file. If i get some time i can redo some of them with kdialog. I'll grab that file and make my changes then re upload somewhere. ssinfo is in the modules section. I wonder if anyone else has some useful scripts too?
 
andre5775
wrote 4 years ago


reply
sorry no Engl.

Für unsere deutschsprachigen Nutzer ein paar downloads


http://www.mediafire.com/file/nnhmydiumzm/german-all-remix-v01.lzm

http://www.mediafire.com/file/zmyzucaqvjw/firefox-deutsch-3.5.5-flash-remix-v01.lzm

http://www.mediafire.com/file/jw5zmttbozd/openoffice-base-3.1.1-deutsch-remix-v01.lzm
plus Rechtschreibung und zahlreiche vorlagen

Das orginal von slax 6 für slax-remix-v01
http://www.mediafire.com/file/mmrhtgejuqt/004-kdeapps-remix-v01.lzm
 
AppleWolf
wrote 4 years ago


reply
cichlasoma wrote:
AppleWolf wrote:

http://www.mediafire.com/


I can't open this URL, I guess, this URL was blocked by GFW of our country!

Can you send this file to my Gmail?!

jingleilv@gmail.com

Thanks

Best regards!

I've uploaded the iso here http://ifile.it/vk7m2n3/slax-remix-v0.1.iso


Thank you! cichlasoma

I just begin to donwload ths file.....

AH............

I wish test this slax kernel and system of this remixed version, because, I have complited my own version of new kernel 2.6.32.2 with zen 4 patch.

About the loop device limit, I have set to the 256 (0-255) of the patch files.
And I changed some code of liblinuxlive script, So lzm package can easy use for new lzma format.
And I try to reconfiguration the kernel .config file, and now, my intel graphics card drivers (can be use for slax 6.2.0 and 6.1.2 version) can be use for new kernel, did not change any thing, just make the old lzma format to new lzma format.

Now! My system is very good.

But!!
I still wish analyse this remix version, because, fanthom just like a teacher for me, I wish lean more from my teacher to make it better. :)

Thanks fanthom :)

Thanks cichlasoma :)
 
fanthom
wrote 4 years ago


reply
andre5775 wrote:
Für unsere deutschsprachigen Nutzer ein paar downloads

thanks for this, remix-v02 is almost ready, it shouldn't harm your uploads when released. rt2860 driver is included in it - as requested.

AppleWolf wrote:
About the loop device limit, I have set to the 256 (0-255) of the patch files.
And I changed some code of liblinuxlive script, So lzm package can easy use for new lzma format.

loop device limit is fixed in v02. could you share your exerience with liblinuxlive script? i also like learning and maybe will change something before final release.

Regards
 
francois.e
wrote 4 years ago


reply
Let me say too that your project is most interesting. I am eager to see what much more people will get out of it.
 
jayflood
wrote 4 years ago


reply
Packaged all scripts into a tarball.

unpack - unpacks tar.bz2, tar.gz and .zip files using unpack source.tar.gz

act - activate single or multiple modules (rewritten with config file

moconv - convert module from squasfs3 to squashfs4

bulk-modconv - convert folder full of modules from squashfs3 to squashfs4

slax2usb - install slax on USB

ssinfo - slax system info tool. Run the script and info is placed on desktop

http://ibj.co.nz/main/slax/jscripts.tar.gz
 
fanthom
wrote 4 years ago


reply
@jayflood

just 3 words:

"You Are Big"

i'll pack them up to the 003-desktop and remix-v02 will be in the air!
 
andre5775
wrote 4 years ago


reply
Good News :)
 
jayflood
wrote 4 years ago


reply
Here is a Kdialog gui for the module tools.

It contains the module (single and multiple) activation, and single or multiple module conversion from squashfs3 to squashfs4. It will search for squashfs tools and if not found will download (after searching for a net connection)

http://ibj.co.nz/main/slax/mod-tools.sh

Waiting eagerly for your release. I'll be off for my op in three days so will get into it when i return.
 
fanthom
wrote 4 years ago


reply
too late jay!
i have just uploaded new version. now i'm downloading it back to make sure that md5sum is correct. i think that all fixes for your scripts can be made as an extra slax module installed over 003-desktop.
So far i have made few changes in them (hope you wont get mad :D) here's changelog:

1) bulk-modconv
a) OPT="/mnt/$LIVE/slax/optional"
changed to
OPT=$(grep -A1 "[modfolder]" $CONFIG | tail -1)
otherwise it wont use config file

b) convert()
{
for mod in $(find $INPUT -type f -name *.lzm | head -1); do
MODNAME=$(echo $mod | awk -F/ '{print $NF}');
mkdir -p $WRK;
lzm2dir $mod $WRK;
/root/squashfs4-tools/mksquashfs $WRK $WRK2/$MODNAME;
rm -f $mod;
rm -rf $WRK;
done
}

changed to

convert()
{
for mod in $(find $INPUT -type f -name *.lzm | head -1); do
MODNAME=$(echo $mod | awk -F/ '{print $NF}');
MODNAME=${MODNAME/.lzm/}
mkdir -p $WRK;
lzm2dir $mod $WRK;
/root/squashfs4-tools/mksquashfs $WRK $WRK2/$MODNAME-remix.lzm;
mv $mod $mod.old
rm -rf $WRK;
done
}

otherwise original file will be deleted, added -remix.lzm to every file after conversion

similar changes in modconv script

2) unpack script
a) added info how to use it

3) other scripts
a)small other changes

thanks for your work!
 
jayflood
wrote 4 years ago


reply
Beautiful, nice work. I had changed the deletion of original modules in the gui version. I will make it into a module instead.

Let us know when you have an address for the remix-v02. :)
 
fanthom
wrote 4 years ago


reply
jayflood wrote:
Let us know when you have an address for the remix-v02. :)


it's on the top of this page already :)

Final download statistics on slax-remix-v01:

module-----------------------------downloaded x times
slax-remix-v01-----------------------------105
006-devel-remix-v01.lzm---------------14
ati-fglrx-9.12-remix-v01.lzm-----------10
VirtualBox-312-remix-v01.lzm---------12

Please switch to newer version as this one is now abandoned.

Regards
 
AppleWolf
wrote 4 years ago


reply
fanthom wrote:
andre5775 wrote:
Für unsere deutschsprachigen Nutzer ein paar downloads

thanks for this, remix-v02 is almost ready, it shouldn't harm your uploads when released. rt2860 driver is included in it - as requested.

AppleWolf wrote:
About the loop device limit, I have set to the 256 (0-255) of the patch files.
And I changed some code of liblinuxlive script, So lzm package can easy use for new lzma format.

loop device limit is fixed in v02. could you share your exerience with liblinuxlive script? i also like learning and maybe will change something before final release.

Regards


Hi fanthom

I just change the scripts of liblinuxlive there's code:


create_module()
{
debug_log "create_module" "$*"
rm -f "$2" # overwrite, never append to existing file
mksquashfs "$1" "$2" $3 $4 $5 $6 $7 $8 $9>/dev/null
if [ $? -ne 0 ]; then return 1; fi
chmod a-wx "$2" # remove execute and write attrib
chmod a+r "$2" # add read for everyone
}


:) after the mksquashfs command lines changed, the lzm module can use easy like slax 6.1.2.
 
fanthom
wrote 4 years ago


reply
AppleWolf wrote:
I just change the scripts of liblinuxlive there's code:


create_module()
{
debug_log "create_module" "$*"
rm -f "$2" # overwrite, never append to existing file
mksquashfs "$1" "$2" $3 $4 $5 $6 $7 $8 $9>/dev/null
if [ $? -ne 0 ]; then return 1; fi
chmod a-wx "$2" # remove execute and write attrib
chmod a+r "$2" # add read for everyone
}


:) after the mksquashfs command lines changed, the lzm module can use easy like slax 6.1.2.

i believe that it's all about removing -lzmadic switch as my squashfs4-tools doesn't have that option (i need to find why).
Second thing is the -block_size, now i see why slax-remix modules are bigger in size. Default option for mksquashfs is 128k and Tomas used 256k. Slax-remix is built with the default value - that explains why remix is more "responsive". After reading Ivshti post about Slax and initng:
http://www.slax.org/forum.php?action=view&parentID=54705
i have done few benchmarks with slax-remix-v01, here's the result (Slax runs in Vbox):

squashfs -b 65536 (64kb) - iso size 146.7 - boot time 53 sek
squashfs default (128kb) - iso size 139.0 MB - boot time 55 sek
squashfs -b 1048576 (1024kb) - iso size 128.4 MB - boot time 64 sek

as you can see best compression ratio is with 1MB block_size, unfortunately boot time has increased to 64 sec.
difference between 64kb and 128kb: only 2 secs longer boot time and nearly 8MB less in iso size.
I think that i will stay with default value in next remix releases. Module size will be little bit bigger comparing to squashfs3x but system is more responsive, especially on older machines.

Thanks for pointing me there AppleWolf
Regards,
fanthom

UPDATE:
Squashfs4 has even better compresion when used with same block_size comparing to squashfs3x.

Compressing 005-koffice module with squashfs3:

bash-3.1# mksquashfs squashfs-root/ 005-koffice-old.lzm
Parallel mksquashfs: Using 2 processors
Creating little endian 3.1 filesystem on 005-koffice-old.lzm, block size 131072.
lzmadic 131072
[==========================================================================
===========================================================================
==================================/] 3091/3091 100%
Exportable Little endian filesystem, data block size 131072, compressed data, compressed metadata, compressed fragments, duplicates are removed
lzmadic 131072
Filesystem size 18065.28 Kbytes (17.64 Mbytes)
28.32% of uncompressed filesystem size (63791.79 Kbytes)
Inode table size 25341 bytes (24.75 Kbytes)
23.92% of uncompressed inode table size (105958 bytes)
Directory table size 28338 bytes (27.67 Kbytes)
40.25% of uncompressed directory table size (70398 bytes)
Number of duplicate files found 80
Number of inodes 3258
Number of files 2759
Number of fragments 160
Number of symbolic links 154
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 345
Number of uids 1
root (0)
Number of gids 0

Compresing 005-koffice with squashfs4:

bash-3.1# ./mksquashfs squashfs-root/ 005-koffice-remix.lzm
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on 005-koffice-remix.lzm, block size 131072.
[==========================================================================
===========================================================================
==================================\] 3091/3091 100%
Exportable Squashfs 4.0 filesystem, lzma compressed, data block size 131072
compressed data, compressed metadata, compressed fragments
duplicates are removed
Filesystem size 18028.58 Kbytes (17.61 Mbytes)
28.26% of uncompressed filesystem size (63804.80 Kbytes)
Inode table size 25012 bytes (24.43 Kbytes)
23.10% of uncompressed inode table size (108294 bytes)
Directory table size 28765 bytes (28.09 Kbytes)
35.33% of uncompressed directory table size (81413 bytes)
Number of duplicate files found 80
Number of inodes 3258
Number of files 2759
Number of fragments 160
Number of symbolic links 154
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 345
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)

Please have a look at filesystem size on both examples.
 
cheater1034
wrote 4 years ago


reply
The long overdue zen5 was released - it has a bounty of things that should be fix/be better, like:
loop-aes revert, updated aufs (it's all fixed up now, new aufs as of 1-2 days), 32.4, etc.

.31-zen11 also released, I know this is using 2.6.32 but it seems like there have been a bunch of problems with 2.6.32 upstream like it's just one of those releases, so some have been sticking to 2.6.31 - I keep it equally up to date as the latest stable, in this case 2.6.32 - so it's got the same things and same aufs/btrfs/tuxonice/bfs revisions - and latest 2.6.31 upstream kernel (now 2.6.31.12). Hopefully most of the 2.6.32 problems are fixed in 2.6.32.4 anyway :)

*edit*
sry, didnt realize there was slax-02 thread :O
 
fanthom
wrote 4 years ago


reply
remix-v03 will definitely be based on latest zen patch, for now i can't say when it's gonna be released as the changelog for v03 is not so big yet.

thanks again for your work.
 
Bicephale
wrote 4 years ago


reply
Is this project a precursor of 'Slax v7' but with a lighter DeskTop?
 
Need to look up pw
wrote 4 years ago


reply
I anxiously await 03 w/latest zen and wifi fw integrated. Slax remix is cool.
 
fanthom
wrote 4 years ago


reply
Bicephale wrote:
Is this project a precursor of 'Slax v7' but with a lighter DeskTop?


Something like that. We still don't know the plans of Tomas for slax-7. Will it be released in 2 versions (KDE-3x, KDE-4x) or maybe 4 (additional 32-bit, 64-bit variants)?. In case of abandoning KDE-3x line slax-remix can hopefully fill the gap. In case of releasing 4 versions... hmm.. there might be no place for remix at all and project will be shut down.
The good news is that lzma compression for squashfs4 finally entered the "linux-next" stage. It means that Slax-7 is coming closer :D

Need to look up pw wrote:
I anxiously await 03 w/latest zen and wifi fw integrated. Slax remix is cool.

good to hear

BTW: I need to ask all of you for one thing: please let this thread fall down. Slax-remix-v01 is obsolete but i see that people are still downloading it:
120 downloads as per today.

Please put any comments in remix-v02 thread instead.

Regards,

fanthom
 
Grobsch
wrote 4 years ago


reply
Hi, I'm having a lot of problems to build my own livecd.

First of all I prepare the kernel (2.6.32.3) and used the latest linuxlive, but for some reason modprobe does not work, so I recompiled the kernel with everything inside its image without use modules. After solve this issue, I found another problem, when the FSTAB is prepared rootfs is remounted as read-only, I need to insert a line do remount it again as read-write. And the last problem, pivot_root does not work at all. After pivot_root I got no commands, no bash, nothing to continue.

BTw, the new Squashfs-tools will use anothe option to compress using LZMA, I've just built the package from gti repository, The command is: mksquashfs $1 $2 -b 256k -comp lzma.
 
Bicephale
wrote 4 years ago


reply
I see, 4th link 1st post:

http://www.slax.org/forum.php?action=view&parentID=54857
 
Grobsch
wrote 4 years ago


reply
BTW, I use the .config from slackware with really few changes, other configs didn't work for me. Everything is working well, but after 2.6.28 I never could build a livecd without issues.
 
Grobsch
wrote 4 years ago


reply
So, I've compiled another kernel and.. nothing... I decided to try Slax Remix kernel, I uncompressed Remix Core, copied the kernel modules and kernel image, later I booted my system using the kernel from Slax Remix v02. Everything went well. After this I rebuilt the initrd using Linuxlive 6.3.0 and prepare to boot... Nothing again, same errors. It's something I'm making wrong when building the initrd using linuxlive... Tomorrow I'll try again.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH