24

December
2017

Slax 9.3 is here

Most of you celebrate something today, so here is a little gift for you :) I've released Slax 9.3 just few minutes ago and I have to say that I am happy with the progress we are making.

Lets recap all the changes since previous stable version:

First of all, I've added lots of firmware drivers to support various WIFI devices. It is around 40MB compressed, so Slax is a bit bigger now due to this, but I fully understand that a computer without network connection is completely useless, so this had to happen. :)

I spent some time testing Slax to boot from many different filesystems and I was able to identify some problems, which are now fixed. Most importantly this includes NTFS and ext4 support, so Slax is now capable of booting from them as well.

If you boot from a writable media, the Persistent Changes feature is enabled by default now. Note that you may need to erase your changes.dat file if it was created by beta/beta2.

Other news include:

- added pcmanfm as file manager for GUI
- added wicd as wifi network manager
- xLunch now auto updates, to see newly installed apps
- hard drives are mounted on boot and bookmarks added to pcmanfm
- keyboard layout stays persistent
- screen resolution change is reimplemented to make it work better
- syslinux updated to newest version

Download Slax 9.3 here

And since it is 24th of December: Happy whatever holidays you celebrate, based on whatever irrational beliefs you may have! :-)

User comments
naEX 2017-12-24 16:11

very nice gift :)
Thank You and nice Christmas!

pekny svatky Tome.

Bertrand Cebador 2017-12-24 18:09

Thanks for the gift !

Nice features. Is there LVM support too now ?

Even without slax is a powerfull swiss knife !

Thank you for that distro Thomas.

oyunhamuru 2017-12-24 20:53

The ISO file has no efi support. I wonder when you will add efi support. You can use rEFInd or grub for efi support.

Tomas M 2017-12-24 20:59

Regarding EFI, I do not have any device here to test. So I cannot support it unless I can test it somewhere.

William Chacon 2017-12-24 21:00

You need to update your home page to show 9.3 and iso size for both 32 and 64 links. Both links work ok for downloading the 9.3 version. Thanks for the gift. I agree with your slant on beliefs. Never heard a preacher preach about being joyful inspite of happenings. It does not matter how things are. Only matters how I am. Attitude. Wish everyone joy, love and harmony.

Phil Clow 2017-12-24 21:11

I just put slax on a usb and it works great. Wireless network also works. Is it possible to install slax as the only os on hard drive. I don't know how to do this. Is it possible to download an installer? THANKS for your great work!!!!!

Samuel Garcia 2017-12-24 22:01

Works great. Thank you for all the hard work! I appreciate the gift!

;-)

William Chacon 2017-12-24 22:03

I use a boot manager installed in first or last 8mb partition called BootitNG that allows me to boot each OS and compress image and paste partitions which I really like. Comes with Image for Linux ISO which does compress image full system backups/restores. So I am putting slax on a usb with with BootitNG in first Fat16 partition, slax in 2nd partition and other OSs other partitions and BootitNG to retake the MBR if the OS wont allow installing grub to OS partition.

Request Slax have option of installing grub to either MBR or root OS partition like other OSs.

William Chacon 2017-12-24 22:24

I may add that I have had 10 Windows and Linux systems on HD0 and could expand in additional disks or USBs with all sharing a common Fat32 Volume that I call ShareDoc with all partitioned and booted and image backups with this BootitNG manager and having a hidden image backup Partition such that each OS could see 3 partitions plus Swap volume and ShareDoc volume in Extended Partition like a standard MBR.

lucbertz 2017-12-25 01:31

Thank you for the Christmas gift. :D

Finally I'm able to connect by mean of Wi-Fi, but I had to install "rfkill" package and unblock software and hardware Wi-Fi switch by mean of the commands "rfkill unblock 0" and "rfkill unblock 1". In this way I found also Wi-Fi networks in "wicd".
Is there an automatic way to unlock Wi-Fi on startup if a wired network is not yet available?

Tomas M 2017-12-25 10:07

Ah, if I knew rfkill is needed, I would include it in Slax, it's only 30KB...
I have actually no idea why rfkill is needed for unlocking. Can't you do that using some keyboard shortcut, like Fn+something?

lucbertz 2017-12-25 11:38

With my notebook shortcuts works only for hardware switch. Software block remains locked. Probably is a Debian behavior.
Thank you to keep note of this request for 9.4 release.

Alberto Bursi 2017-12-25 12:56

Congrats on keeping Slax alive! :)

Lack of UEFI support is a bit of a bummer though. Since I think it is a very important thing, I'll post here some suggestions to make it possible.

A way to personally test the UEFI boot is using Virtualbox or VMWare's UEFI/EFI mode. Since it is the virtual "firmware" inside a Virtual Machine it does not matter that the host system is using BIOS.

You can set up a diskless VM with passthrough USB devices (or a plain iso file in its virtual DVD drive) in EFI mode to boot most UEFI-bootable operating systems.

This describes the procedure to boot a USB drive from vmware http://www.virten.net/2014/12/howto-usb-boot-a-vm-in-vmware-workstation-11/

For Virtualbox there is no info online but I do it regularly so I know.
You create a VM where you enable EFI in the System tab of the VM options, then it should boot ISO files fine if you just attach them as virtual DVDs.
To boot physical USB drives you connect the USB drive to the host, go in the USB tab of the VM options and add a filter to auto-passthrough this drive to the VM. Then start the VM and press F2 as soon as possible to enter the UEFI panel in the VM, then select "boot manager" (press return) and then "EFI USB device" (press enter again) to boot manually your USB.


Suggestion about what to use in Slax for UEFI boot:

For something like Slax I think you can just stay simple and avoid EFI bootloaders at all.
Basic EFI booting is as easy as creating a FAT32 partition, giving it flags "boot" and "esp", then placing a kernel+initramfs as EFI/BOOT/bootx64.efi (EFI and BOOT are folders, bootx64.efi is the name it should have, UEFI tries to boot files with that name by default). The kernel must be compiled with the "EFI stub loader" option for this to work.

You will just have to integrate the kernel command line and initramfs in the kernel at compile time or use something similar to this script to generate the file you need out of a normal kernel and initramfs. https://github.com/haraldh/mkrescue-uefi

Ueli Meier 2017-12-25 13:05

I Like slax and want to give it a try.
For me it is a steep Learning curve.
I want to use it for educational games for kids.
Just used
apt install gcompris
to download the program but it does not start.
If i type gcompris it says command not found.

Andrew Pratt 2017-12-25 13:51

Thank you Tomas for all your work. I have used Slax for many years and at one time it was my only operating system. I really like live portable systems so you are not dependent on the reliability of one machine and the ability to always recover your system. I switched back to an installed system with Slackware a few years ago and then later to Debian for the convenience of it's package management. Now that Slax is Debian based and gives you easy access to so many applications I will probably go back to using Slax.

Tomas M 2017-12-25 14:09

@Ueli Meier
For some reason the games are in /usr/games, which is not in PATH. You have to run it using absolute path, like /usr/games/gcompris

@Alberto Bursi
If I understand you correctly, EFI boot requires additional boot partition on the USB drive? If this is the case then Slax can never support EFI - I cannot tell the users to make their boot partitions on their USB disks, the target users are not able to do that.

Ueli Meier 2017-12-25 16:15

Ok I see it is working like that.
How can I integrate it in the menu?

Sick Rosos 2017-12-25 17:33

thank you so much for this!
we enjoyed our Christmas eve singing karaoke online from an old laptop with no hard drive using SLAX..

Merry Christmas to you Sir!
You're the best!!

Alberto Bursi 2017-12-25 18:21

> If I understand you correctly, EFI boot requires additional boot partition on the USB drive? If this is the case then Slax can never support EFI - I cannot tell the users to make their boot partitions on their USB disks, the target users are not able to do that.

Now that you raise this point.. Slax can get away without that.

Slax can be installed in a FAT32 partition, and a UEFI bootloader partition is just a FAT32 partition with a special flag that signals the UEFI firmware to look into it.

So you can just add the right flags to the same/only FAT32 partition to make it UEFI-bootable.

Only notable issue of doing this is that if you try to reformat it later, windows will bring up a warning popup telling you that "this is a system partition, deleting might break your system" or something like this, which can be safely ignored.

Changing partition flags does not require reformatting and can be done by using a bat or shell file like you use for installing syslinux.

The catch here is that you can't use the drive letter to identify the drive in the installation script, as the very dumb windows diskpart tool you will use does not understand drive letters.
The easier way is to get the user to choose his usb drive by looking at its size, and write the "drive number" for diskpart.

from windows (administrator privileges required of course), this is the "interactive" way that works only with direct input:
diskpart
list disk (this will print a list of disks available and their sizes, you will probably need to ask the user to identify his USB drive by its size and write the disk number. The drive C is always drive 0 because it's the first the system sees, so you can avoid messing up its partitions by just not accepting "0" as an answer)
select disk X (X=the number of the drive you want to work on)
select partition 0 (if there is a single partition like with 99.9% of the drives out there, then it's always the partition 0, no user input required here)
set id=ef override (the "ef" is the hexadecimal code to flag this partition as EFI system partition, if the drive is using MBR partition scheme, the "override" argument forces a dismount of the partition to perform the operation)

from linux you can use fdisk with t option to change the type code from within the script.

And then you place the kernel+initramfs in the path I said above (as that's where UEFI expects default bootloaders to be), or install your UEFI bootloader of choice in that folder.

If the usb drive is using GPT partition scheme (hard drives larger than 2TB do, due to sound technical reasons), this will need to be adjusted because flags in GPT are different. I somehow doubt this is going to be a major issue for USB flash drives any time soon, but it is something you should know nontheless.

so for a GPT drive you have "set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b override" instead of "set id=ef override" (and also in fdisk you will have to write that id string instead of just "ef")

What you actually write in the .bat file will differ a bit from the commands for "interactive use" above because diskpart does not accept commands from scripts unless it is called with /s and is given a text file containing the commands it should execute.

So the first part, to get the script write the list of disks so the user can choose becomes:
diskpart /s firstpart.txt

and in the "firstpart.txt" you write "list partitions"

Executing that in a cmd.exe opened as admin will print:

Microsoft DiskPart version 10.0.16299.15

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-THOEUQ1

Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 50 GB 0 B
Disk 1 Online 931 GB 2048 KB
Disk 2 Online 3828 MB 960 KB

You can see that Disk 0 (always C) is 50 GB, there is another 1TB drive, and Disk 2 is a 4GB flash drive.
This is what the user will see and there you will ask him here what is the drive number he wants to make UEFI bootable.

Then you read the user input and have your script generate another text file I'll call "secondpart.txt" containing (X= number written by user):
select disk X
select partition 0
set id=ef override

and then you call
diskpart /s secondpart.txt
to have the dumb tool do the last part of the work.

As said above, the "set id=ef override" will force a dismount of the partition (temporarily), so it's better to do this partition flag change as the last thing in your script.

I've just tested what I wrote on a Windows 10 system (and linux to check that the partition is indeed using the same id of the existing UEFI system partition on my PC). The partition ids I gave you are listed in fdisk's "known partition types", and also here https://technet.microsoft.com/en-us/library/cc753840(v=ws.11).aspx

Using fdisk to change partition type is much easier (again assuming a USB drive with a single partition).
fdisk /dev/sdX
t
ef
w

which becomes as a non-interactive one-liner you can use in a script:

do ( echo t ; echo ef; echo w ; ) | fdisk /dev/sdX

Tomas M 2017-12-25 19:34

@Alberto Bursi
Thank you very much for detailed description.
I will try using virtualbox to see if I can make it work somehow.

linuxfan 2017-12-25 21:14

Tried it out in virtualbox. Looks great! Promising mini-distro based on Debian.

If you don't mind my correcting, it should be "happy with the progress we are making" or "happy with where we are headed".. (the other combination "happy with where we are making" sounds funny, though :))!

Merry Christmas, everyone!

speed 2017-12-25 22:10

Sorry I am a beginner.
Normaly I download the iso file and save it with the boot program from linux mind on my usb stick but this is not possible with slax 9.3. (perhaps boot.bat)
Please help me. Sorry for my bad english.

José Luis Vergara Blanco (TASAIRES) 2017-12-25 23:52

Merry Christmas and Happy New Year, 2018
I am from Spain! and use Linux (not habit to me, on Diary Use) but for me, is better option to Windows OS, ... On my long test life, i tested Linux on many time, and HELP ME, live CD boot Desktop dor Emergency, and Clean Boot and Ready tools for Normal use!
My Favorites Distros, is Debian, and from that i use, Knoppix, and (Custom old OS from SLAX OS, in my old PC for Game Plataform to Live Cd)
From you OLD SLAX, since many year made any changes, to TODAY! i follow with Hope, and Wait better with news versions!
Like you Proyects, and try be one #Follower to That and Others Futures Works--- ;-)
Hi from Spain!! #Beautiful #Work

Kai 2017-12-26 05:42

Hi Tomas, seems that you're unfamiliar with EFI, however since you are using debian, you should simply follow these steps:
1) apt install syslinx syslinux-efi
2) create "efi/" directory structure beside of "slax/", and copy files needed:
$SLAX_ROOT_PATH/efi
└── boot
 ├── bootx64.efi <── /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi
 ├── syslinux.cfg <── $SLAX_ROOT_PATH/slax/boot/syslinux.cfg
 ├── ldlinux.e64 <── /usr/lib/syslinux/modules/efi64/*
 ├── vesamenu.c32
 ├── syslinux.c32
 ├── chain.c32
 ├── ...
3) change a little bit to new copied syslinux.cfg:
1c1
< UI /slax/boot/vesamenu.c32
---
> UI /efi/boot/vesamenu.c32

Try it out.
Normally, nothing to be done to the partition flag.

Tomas M 2017-12-26 08:48

@Kai
bootx64.efi <── /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi
... why do you rename syslinux.efi to bootx64.efi ?

康凯 2017-12-26 10:00

bootx64.efi is the default name for 64bit UEFI firmware, other names have to be regiestered by using efibootmgr, obviously not an option for a liveusb.

cuisinomane Mtl 2017-12-26 12:02

Hi, seems I am getting when booting Slax off usb, Give root password for maintenance. What am I doing wrong? What is the root password? Can I bypass that? Thanks for your help !

Ahmad Saleh 2017-12-26 16:04

Excellent, will you add like cpuminer or cgminer modules? I think it is a great idea

Samuel Garcia 2017-12-26 23:06

At the console login prompt, how would I get rid of these messages in the greeting?
"Your login name: root"
"Password: toor"

Is there a configuration file or script I can edit?

thanks!

William Chacon 2017-12-26 23:10

Subject: adding modules. Your default website does not display a link or how to add modules (google search said www.slax.org/en/modules.php). Neither does Pacman nor Chromium allow access to the modules folder that is in Slax partition outside of the root system (boot, root and modules folders on display). Must use a OS that allows this access to both install or add modules to Slax which Puppy is yes and Ubuntu kinds are no. Slax needs access to its own partition via Pacman and Chromium for which to copy/paste/download. I used Puppy to copy, paste, execute bootinst.bat file and then added firefox and gnome desktop/menu/player/libraries/ that showed up on gnome search into the empty partition modules folder (not root modules folder) then rebooted system. Tried several times with persistent changes option then fresh start and copy to ram boot options and saw the modules displayed during boot but each time the only change was a non working gnome player icon on the screen. No gnome/ no changed menu/ no firefox/ no changes. Slax website said modules would activate on boot-up. Probably adobe-flash-plugin not activated as well.

Also Slax screen has no icon or menu for shutting down other than right clicking the mouse (if someone thinks of trying right clicking) and some computers do not have right clicking such as laptops. That is why I installed the gnome desktop module for.

Also plugging in a USB stick/drive after booting do not show up in Pacman nor are mounted.

I am not a computer nerd so not familiar with apt-get commands nor package listings. Have always used synaptic package manager which then needs repository listings to function. Your modules listing appeared adequate but how to activate their changes to your base system is the question as well as solving the above comments.

Igor 2017-12-27 11:46

I'm currently making a system based on SLAX 9.3 for people and not for system programmers
Only the kernel remains unchanged

01-core93.sb

ITS main characteristics

sb module
apt
glib 2.24
KDE 3.5.10
Smplayer 17.12
Mplayer 2016
Firefox 25
KPP
Kplayer
Kate
Kwrite
gsmartcontrol
gparted
gt 4.8.7
abiword

Right Button Menu
- activation of sb module
- deactivation of sb module
- extract the sb module to dir
- Extract to deb to dir
- extract rpm to dir
- dir to sb

Through the will I will be ready
Its size iso ~ 400 megabytes
I'll post it here for downloading here
expect

Igor 2017-12-27 12:21

SLAX 9.3 +KDE 3.5.10 for people
https://ibb.co/ixqMhG
https://ibb.co/fuEvbb

lucbertz 2017-12-27 23:09

Igor, it seems you have done a huge work!
Why an obsolete Firefox release? Is KDE 3.5.10 still up to date? A migration to Trinity Debian repository wasn't simpler?
Anyway I will not try it, because I'm focused to more recent software and simpler desktop environment.
On the other end I'm interested in the "how to" of your work. Can you share it?

Pavel W 2017-12-28 19:51

To Igor
Please send an image thanks!

William Chacon to Igor 2017-12-28 21:19

Likewise to Igor. Can you provide a link to an ISO image of your above work? I like your right click menu options, but a more updated firefox 57. I like the module concept. Is the KDE 3.5.10 called Trinity?

lucbertz 2017-12-28 21:36

TDE Trinity a Desktop Environment is a project which continues old branches of KDE for people not satisfied by KDE 4.
It should be the natural evolution of old school Slax desktop.

Kai 2017-12-29 04:35

Hi @Tomas
Please, give an boot option for auto-mounting, for some reasons this step may fail, and it (emergency mode) prevents system booting into GUI, however it seems unable to be changed outside of initramfs.

Tomas M 2017-12-29 09:58

@Kai
there is already such option, remove automount from the boot command line

Half Gray 2017-12-29 18:02

Strange, with my hardware automount (ntfs, hd1,0), still not mounting... and "standard" wired pppoe still not work... need next bugfix release? :) Sorry maybe i am just a win-x admin...
For compensation here is menu.lst from grub4dos 0.4.5
title slax
root (hd0,0)
kernel /slax/boot/vmlinuz vga=normal rw slax.flags=perch,xmode from=/slax
initrd /slax/boot/initrfs.img

Marcos Paiva 2017-12-29 22:30

Hello, Tomas. First of all I would like to thank you for the excellent work you have been doing with Slax, I believe that I and many others are grateful for your work. I wanted to apologize for future writing mistakes in my English, since it is not my native language. Well, I noticed that in the post you said "if you boot from a writable media, the persistent changes feature is enabled by default now", I start my Slax in "copy to ram" mode is this feature also enabled? Well I work with documents that can not be saved in any way on my pendrive. I need to turn it off, it will return to the default as it was downloaded from the site. Is it enabled by default in this mode too? If so, is there any way to disable it? I'll be grateful for the help.

William Chacon 2017-12-30 04:12

Thank you for the Slax 9.3 and previous work. I abandon the slax modules, applied apt-get install synaptic and installed the LXDE desktop and other aps with synaptic. Must have LXDM desktop manager as default then LXDE takes control as default with menu, task bar, shutdown icon and etc.

Tip for you all
My USB stick is set up with 8mb partition manager in sda1 controlling the copy/paste/imaging and booting how many OSs I choose, Slax in sda2, a backup partition in sda3, then a fat32 volume named ShareDoc for sharing files with Windows or other OSs. Use gparted to partition a USB whatever to include a fat32 sharing partition or volume and a slax partiton to boot gives great flexibility.

Igor 2017-12-30 06:47

https://ibb.co/dujrnG
https://ibb.co/mg1t1b

Ueli Meier 2017-12-30 08:10

Kai 2017-12-26 05:42

Hi Tomas, seems that you're unfamiliar with EFI, however since you are using debian, you should simply follow these steps:
1) apt install syslinx syslinux-efi
2) create "efi/" directory structure beside of "slax/", and copy files needed:
$SLAX_ROOT_PATH/efi
└── boot
 ├── bootx64.efi <── /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi
 ├── syslinux.cfg <── $SLAX_ROOT_PATH/slax/boot/syslinux.cfg
 ├── ldlinux.e64 <── /usr/lib/syslinux/modules/efi64/*
 ├── vesamenu.c32
 ├── syslinux.c32
 ├── chain.c32
 ├── ...
3) change a little bit to new copied syslinux.cfg:
1c1
< UI /slax/boot/vesamenu.c32
---
> UI /efi/boot/vesamenu.c32

Try it out.
Normally, nothing to be done to the partition flag.

Hi I tried this one.

On step 1. iget the following error.

root@slax:~# apt install syslinx syslinux-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package syslinx
root@slax:~#

Kai 2017-12-30 09:56

To correct my mistake...

> apt install syslinux syslinux-efi

"u" was missing

Tomas M 2017-12-30 10:08

@Marcos Paiva
persistent changes are not automatically enabled in Copy To Ram mode... because the Copy To Ram mode is intended for copying Slax tom RAM in order to be able to unplug the USB device, and activating persistent changes would not allow that since the USB device would be in use. User can manually specify toram and perch parameters, using both features at the same time, but then he is responsible for understanding that unplugging the device will cause data loss.

naEX 2017-12-30 10:17

hello, this is only theoretical question, but it is possible add to slax complete new desktop environment like present KDE or another (and save in changes.dat)?

Igor 2017-12-30 11:06

Manual
and full-complect-for-install-slax93.7z
10 Meg

http://peredayka.com/download/408dafb836accef5721cff850e652686.html

Ueli Meier 2017-12-30 13:48

Thank Kai

Did that just now.

But in my Syslinux folder there are no subfolders.
There are only three files.
altmbr.bin
gptmbr.bin
mbr.bin

William Chacon to naEX and others 2017-12-30 16:26

Read my comment above tells you how for LXDE which is simpler. After you apt install synaptic, then run synaptic to install KDE/etc and its desktop manager which apt command skips. Note offers Firefox-ESR extended service release English. From the repositories learned got Debian 9 Stretch LTS as Slax base supported until 2020-22 --- Wonderful Thomas M.

Kai 2017-12-30 16:36

@Ueli Meier
Try
apt install syslinux-common
manually, no idea about the version differences...

Guido Valle 2017-12-30 18:14

I used slax 7 with satisfaction on my old netbook. Now I'd like to use your new version on my tablet with a cpu atom x5 z8350. Could you explain how to install a desktop environment? I am a linux beginner. I need a friendlier GUI!

Thanks for your work

Guido Valle 2017-12-30 18:17

I already had an answer by reading the comments above! Thanks anyway!

Ueli Meier 2017-12-30 19:27

Kai 2017-12-30 16:36

@Ueli Meier
Try
apt install syslinux-common
manually, no idea about the version differences...

Thanks this helped. Now I could find all the files.
But unfortunatly efi booting does not work on my Macbook Pro neither on a Windows 10 netbook.

However I can boot the Macbook with normal booting.
Just also wonder about what is the difference between 32bit efy and 64bit efy Does that depend on the kind of Slax version you have or do you have to choose according to the computer?

Ueli Meier 2017-12-30 19:29

Kai 2017-12-30 16:36

@Ueli Meier
Try
apt install syslinux-common
manually, no idea about the version differences...

Thanks this helped. Now I could find all the files.
But unfortunatly efi booting does not work on my Macbook Pro neither on a Windows 10 netbook.

However I can boot the Macbook with normal booting.
Just also wonder about what is the difference between 32bit efi and 64bit efi Does that depend on the kind of Slax version you have or do you have to choose according to the computer?

Igor 2017-12-31 18:20

Slax 93 + KDE 3.5.10

Right Button Menu
https://ibb.co/fuPtKw
https://ibb.co/iggjRb

William Chacon to Thomas or others 2018-01-01 09:03

Anyone know how to give guest (me) permission to write in a Fat32 partitioned USB stick or hard drive whether mounted at boot or after boot instead of requiring login as root? It is not wise to surf the internet and download as root. That is why other OSs have guest/user logins (including LXDE login screen) for normal operations such as downloading movies or programs to USB media. Slax defaults logins as root with no user names/passwords/permissions capability.

Luciano Seibel 2018-01-01 19:00

Happy new year!!! Great gift! I just dont got my wifi and wired network on beta, but now ... writing this comment from my old laptop!!! (Aspire 5050-4598 AMD Turion 64 2.2 ghz 1gb ram 120gb hd ATI Radeon Xpress 1100 video card. I have no words for your job Tomas... hope learn more about distro building to help with the slax community.

Pan Fistaszek 2018-01-01 21:30

i have a problem, after i boot my slax i got black screen anyone help?

Michael Mendes 2018-01-02 06:26

Pan Fistaszek:
Type if asked password: toor
And after that: startx

That happened to me too.

My net manager is not working(GUI)

K. Radzikowski 2018-01-02 14:07

Dear Tomas. I have a device in the HP Pavilion laptop - Broadcom Corporation BCM4312 802.11b / g LP-PHY [14e4: 4315] (rev 01). Unfortunately, slax does not have drivers for it. The solution from https://community.linuxmint.com/tutorial/view/796 did not help. I get a message that the firmware is not available in the repositories :( Could you help?

an531 2018-01-02 17:51

Hi Tomas,

I'm relatively new to Linux, so I'm sorry if this is a noob issue, but on my system Slax 9.3.0 x64 goes into emergency mode (with the default, persistent changes feature) and won't load GUI. It requests root password or something like that. How do I fix this? The old Slax 7.0.8 loads just fine.

You suggested somewhere in this comment section to "remove automount from the boot command line"... How do I do this?

Many thanks and happy new year.

Tomas M 2018-01-02 18:13

@K. Radzikowski
I don't really know

@an531
See the "cheatcodes" section here http://www.slax.org/en/starting.php
Remove "automount" from the boot command line.

Nikolin Nikolov 2018-01-02 19:21

@K. Radzikowski

Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

this is from my laptop

i create for Slax 9.3 x64
http://dox.abv.bg/files/fdw?eid=144250681

download and put in /slax/modules

K. Radzikowski 2018-01-03 06:38

@Nikolin Nikolov

Thank you for the initiative. Unfortunately, your download link is not active. Please, verify it. I am waiting with great excitement. Thank you Nikolin!

Anil Rajapure 2018-01-03 09:15

Slax Team, friends, need help.

Trying to get slax (x64) working from SD card (2gb capacity.)

-Downloaded the x64 iso.
-Extracted slax folder and copied to sd card
SD card is formated as fat32.
-Booted through tiny core usb and mounted sd card
-Went to slax\boot directory and ran bootinst.sh - it says all okay
-Now trying to boot through sd card - cant even see sd card as bootable option.

How to get slax from sd card working? Please note, I can boot from sd card, if i install pupply linux on it. No problems. Just not able to get slax working from sd card.

Any step-by-step guide to get this working? Regards, Anil

Nikolin Nikolov 2018-01-03 12:49

@K. Radzikowski

file is 'b43.sb'

https://drive.google.com/file/d/1sJ_1Y_jRe9VOs72M3yI0G_vVbfkTBCNZ/view?usp=sharing

K. Radzikowski 2018-01-03 14:53

@Nikolin Nikolov

Thank you with an interest in the problem. However, the b43 module did not solve it, WifFi is still dead :(

JoeyA 2018-01-03 20:48

Hello
I thought I would try slax so I downloaded 9.3 64 bit and put it on a USB flash drive
I then opened up the files on the drive and read the readme. So then I ran the bat file as mentioned and a funny thing happened. I can no longer boot to my PC (Win 10) I have to restart it many times (pressing F8) to finally get to my MB's boot menu and select windows boot manager then hope it starts. Also Slax would not run at all, at least from the flash drive. I kept on coming to a line that said something about being in emergency mode and press ctrl+d to continue or try again.
I finally have some time today so I am going to try and repair my UEFI boot trouble.

Luciano Seibel 2018-01-04 01:43

Slax 9.3.0 ready and booting from hd. After various noob mistkes :)
My way: boot with gparted because my hd was nothing recognized from slax boot and then not booting normaly (probaly something with persistent recognition). Reformating hd as ext4 (I made an swap part too but I think this is not useful on slax right?). Boot with slax usb stick in copy to ram option). Mount /dev/sdb as /mnt/usb and /dev/sda1 as /mnt/hd. cp -r /mnt/usb/slax /mnt/hd and go to /mnt/hd/slax/boot then ./bootinst.sh. confirm message that will overwrite the partition table. That is it!!! Booting from hd. Tks Tomas for the great job with the network drivers and apps.

François Lavoie 2018-01-04 04:57

I would like to change the fstab. Though I have achieved to keep permanent changes to /root/.fluxbox/autostart at reboot, the changes to fstab do not last. I would like to mount partition of my hdd, which is usually is very easy with the UUID definition.

Thanks.

Abhi Aditya 2018-01-04 07:54

Hello Tomas,

I am using Slax after quite a long time since 2011. But I am missing some popular modules, like- vlc and gparted. how to build .sb module in Slax 9.3?

Also I can't activate new modules. I put them in /slax/Modules folder, but can't see them in Xlaunch (apps menu) after booting from my USB drive (it's NTFS)

François Lavoie 2018-01-04 15:36

apt-get install --yes --no-install-recommends package1 package2 package-x #to install the desired .deb package and libraries
savechanges /run/initramfs/memory/data/slax/xx-package-name.sb #to save slax bundle, save change folder has to be emptied beforehand and afterwards

Abhi Aditya 2018-01-04 18:59

My USB drive is bootable in windows PC. but can't boot it into my macbook air. I tried by formatting it into FAT32 and make it bootable by using bootinst.bat using a windows pc. still not bootable in macbook. When I boot macbook and press Option button to show drives, it only showing my mac partition, but not USB device. can anybody say how to make slax bootable for Macbook? I tried UnetBootin and it failed.

kaze 2018-01-06 02:42

@Tomas M

Will you release a patched kernel for the Meltdown bug? (4.9.65-3+deb9u2).

Tomas M 2018-01-06 21:26

Nope. There is no reason for releasing a patched kernel. I will wait for next Debian release to update Slax.

Igor 2018-01-07 14:34

I propose to try core Slax 93 + gui KDE 3.5.10 (kdelibs3-3.5.10-25.el6.i686.rpm - 09/2012)
- MPlayer 1.2.1-4.8.2 37540 -2016
- SMPlayer Version: 17.12.0 (revision 8844) 2017
- Xorg 1.19.2
- gsmartcontrol
- gparted 0.19
- firefox 45

The size zip of 500 megabytes
If you remove Smplayer, Mplayer, KDEaplication and Firefox, then there will be 350 megabytes
----------
Right Button Menu operations

.rpm --> Dir
.deb --> Dir
.xzm --> Dir
.sb --> Dir
.cpio --> Dir
.lzm --> Dir
Dir --> .sb
mount 0---0 .iso .sb .xzm .squfs
squashfuse 0---0 .sb .xzm .squfs
-path copy
-name copy
-activate .sb
-activate konsole .sb
-deactivate .sb
-deactivate konsole .sb
-ldd $aplication | grep not found
-make module.sb from any dir or file
-------------------
Web Browsers Installed
-w3m
- Diilo
- Dplus
- firefox 45
working but Not Installed
- Opera 45
- Palemoon 27
- Arora
--------------
Save changes

1.Save all changes in this session on the module /root/Desktop/333/life-slax93-$date.sb
/root/Desktop/Side/clear-save/live-save.sh
2. Save changes of the one dir or file by Right Button Menu (- make modul.sb from Any place Dir or file)
making module in /root/Desktop/sss
/root/Desktop/sss/q-nameDIR.mod.sb

https://ibb.co/b5LCnG

everything is ready for 99%
I'll post the reference here in 2 days

ErSoul 2018-01-07 21:30

Hello, is there a guide to add custom applications bundles?

And what would it be faster or efficient: to use an app bundle, or install it with apt and wait for it to be loaded from the "changes" mountpoint?

William Chacon to Igor 2018-01-08 00:04

Nice right click options hopefully includes copy and paste options. I like Firefox 57 with its downloading-videos-add-on's and Chromium with its language translating feature. Forget other web browsers. I like the Slax basic applications and apt command ability with Debian Stretch base support so I can have flash, avidemux, brasero, audacious, audacity, smplayer or vlc and abiword or libre-office and etc. Thomas deserves much praise. Your module ideas look nice. I like the feature of keeping firefox updated by replacing firefox module made via many sources.

Igor 2018-01-08 05:25

The disadvantages of apt
When I installed all the applications that I needed changes.dat grew to 1 Gigabyte
After the trash, the module was reduced to 200 megabytes.
In each session, apt re-installs the libraries that have already been installed.
Each time the browser profile is saved 40 megabytes and other settings again.
Therefore, any application takes 100-200 megs and can actually occupy 10 megabytes
Often (almost always) when you have already installed applications, they do not start and require reinstallation.
Often you need a library that is not in apt and its name does not match the name of the package. You still need to go to the browser and look for the .rpm .deb package. Then unpack it and make a module. And not everyone can use this command in konsole.
The apt output is good for one session and only as a test.
Therefore, I suggest KDE 3.5.10 for advanced users who know what they want and not for blondes with blue eyes that can click the buttons install and OK.

Abhi Aditya 2018-01-08 08:20

Finally I found a work around to boot Slax into Macbook (mine is Macbook Air Mid-2013 model). This is what I did:
1) download Universal USB installer
2) create bootable USB using it from Slax iso using a Windows PC.
3) Need to format USB drive at FAT32 beforehand with Universal USB installer's in-built formatting option.
4) Press Option button while rebooting Macbook.
5) USB drive will show as Windows partition
6) Select it and boot from it, Slax will boot
7) Edit boot flag in Persistent Changes boot option, remove automount from Boot flag.
8) Slax will boot in GUI mode.


I hope this will help people who want to run Slax in their Macbook.

Kai 2018-01-08 11:31

Steps suggested to build your own modules:

1 Prepare an img file for temporary files storage, if you do not give slax an ext4 partition.
This is to avoid continuously expanding changes.dat, which grows very fast. On the other hand, fat32 does not handle the symbols and permissions.

> dd if=/dev/zero of=$PATH_OF_IMG_FILE bs=1M count=2048

we've created a 2GB image, then format it
> mkfs.ext4 -F $PATH_OF_IMG_FILE

mount it
> mkdir /media/ext
> mount $PATH_OF_IMG_FILE /media/ext

Do mount once on each fresh reboot.

2 After a fresh reboot, apt installs what you want.

3 Copy & Clean

> mkdir -p /media/ext/modules/YOUR_MOD_NAME
> cp -aR /run/initramfs/memory/changes/* /media/ext/modules/YOUR_MOD_NAME

remove unecessary
> cd /media/ext/modules/YOUR_MOD_NAME
> rm -rf boot/ dev/ media/ mnt/ proc/ run/ sys/ tmp/ var/tmp var/cache var/log
> rm -rf var/lib/apt/ var/lib/dhcp/ var/lib/systemd/
> rm -rf etc/fstab etc/resolv.conf etc/ld.so.cache

Select carefully if you want to shrink it in advance.
Never remove var/lib/dpkg/status & var/lib/dpkg/info/, apt needs them as meta database, or it may install package files repeatedly.

4 Make module

> mksquashfs /media/ext/modules/YOUR_MOD_NAME /media/ext/modules/PREFIX-YOUR_MOD_NAME.sb

put it into slax
> mv /media/ext/modules/PREFIX-YOUR_MOD_NAME.sb /run/initramfs/memory/data/slax/

5 Reboot(fresh start) to test it.


If you are creating more than one modules, e.g. 05-xxx 06-xxx 07-xxx, the sequence is noteworthy.
Prefix is used to keep loading order, since some packages may change the same files, the latter overwrites the previous.
Thus if you want to modify 05-xxx, better to re-produce 06-xxx and 07-xxx based on the new.

Similarly if you are unhappy to use fluxbox and are willing to install xfce4, as a start, you need to remove all original modules after 02-xorg.sb.

crypt0c 2018-01-08 19:57

what if I want to make changes and have them persist, but then load to RAM ... it seems that the version loaded into RAM doesn't contain any of my changes.

thanks in advance

lucbertz 2018-01-09 00:50

I can say to have found a fast and simple way to get the old school slax look and feel.
I removed desktop, chromium and apps modules and rebooted slax 9.3.
Then I ran "apt-cdrom add -m" after Q4OS 2.4 installation disk mount as /media/cdrom.
After "apt-get update" and "apt-get install tde*" I did a savechanges and I obtained a 110 MB desktop module with Trinity Desktop Environment.

Igor 2018-01-09 08:56

I propose
slax93-gui-x32 GRUB4DOS version not iso
For install to Usb flash or hdd fat patition.
Can work with SD card.
My target was to create a user-friendly easy to understand constructor based on the modern core
And as it seems to me it was possible.
It can be used as a beginner so advanced user.
Making modules will be easy and simple.

Read readme.txt !!!

after login:
xconf !!!! # otherwise there will be a Black Screen
startx

After you will see this
https://ibb.co/cTJuK6

Verified on a 2003 laptop HP COPAQ P4 RAM 512mg.
Everything started from the first time without any settings (video, sound, 3G modem).
Works without bugs.
apt also works.

slax93-gui-x32.zip size 500 Mb.
https://ru.files.fm/u/u9hjyv39

I'm sure you'll like it.

Igor 2018-01-09 10:32

lucbertz
please give desktop module with Trinity Desktop.

Igor 2018-01-09 11:12

Slax93-gui-x32 GRUB4DOS version 500 Mb.
https://filecloud.me/b78kls12aa34.html

lucbertz 2018-01-09 13:22

slax + q4os tde + xpq4

A screenshot:
https://drive.google.com/open?id=1qO95rf5-H5SC-YD0OaW78G7xMUAffMhh

The 32 bit iso file:
https://drive.google.com/open?id=15MQZ0kljpXc3ayTM7U1UVJSPS5WOrkRR

lucbertz 2018-01-09 13:47

Notes:
04-tde.sb module is entirely derived from Q4OS installation disk

05-wintheme.sb module is derived from xpq4 project and contains customizations to resemble win7. It contains non-free stuff.

All the rest is from slax.

Igor 2018-01-09 17:49

lucbertz many thanks for TDE.
I checked everything works
Where were you before? :)

lucbertz 2018-01-09 18:54

I had only a simple idea and fastly put togheter two great projects.
All the hard work has been done by Tomas, TDE people and Q4OS people.

I've been impressed all this stuff can fit in 300 MB iso file.

Anyway I found shutdown is not working properly. It only closes X.

Stephen Wassell 2018-01-10 12:58

I've been trying to rebuild the SLAX ISO with an updated kernel containing the Meltdown fix (4.9.65-3+deb9u2).

Running "apt update", "apt upgrade" on a running SLAX installs the new kernel, and if I copy /boot/vmlinuz-4.9.0-5-686-pae to /slax/boot/vmlinuz on the ISO it boots up and extracts initrfs.img.

However the original initrfs.img contains the old kernel modules so startup doesn't get any further. The initrd.img-4.9.0-5-686-pae created when updating the kernel is no good either because it doesn't contain aufs or the SLAX init script.

How can I build a new initrfs.img which SLAX can boot with - is there a script to do it somewhere?

Thanks!

Igor 2018-01-10 23:29

Another way to start TDE
Download q4os-2.4-i686pae.r3.iso:

http://sourceforge.mirrorservice.org/q/q4/q4os/stable/q4os-2.4-i686pae.r3.iso

Extract the filesystem.squashfs file from it and rename:

mv filesystem.squashfs filesystem.squashfs.sb

Start Slax 9.3 (we do not delete anything from it)
then activate the module

slax activate filesystem.squashfs.sb

logout
startx

We get TDE with the Slax 9.3 kernel
The filesystem.squashfs.sb module can be shortened to remove unnecessary.

lucbertz 2018-01-11 00:44

Fantastic!

Igor 2018-01-11 05:32

Сontinuation

The same method I managed to run

Slax 9.3+Lubuntu ----- lxle_16_04_2_32.iso

Most likely you can run Ubuntu and others DE, but I have not tried it.
The main thing here is that 01-core.sb Slax 9.3 is launched first and then activation filesystem.squashfs.sb

Thus we obtain
Slax 9.3 + Q4OS 2.4 TDE
Slax 9.3 + lxle_16_04_2_32 LXDE

William Chacon 2018-01-11 09:57

To Igor: Much thanks Igor because I really prefer LXDE environment and am downloading lubuntu iso now. I presume being able to use copy to ram OS, open pcmanfm to view lubuntu iso files, copy a filesystem.squashfs file into /slax main folder (not boot, changes or modules folders and rename it per above .sb file type, then activate it by run: slax activate ______ . ______ .sb (simply rename with .sb and run it). Also is there login means so to login as root or guest?

To Lucbertz: Thanks much for the TDE iso link. Had to swap bootinst.bat and .sh files with Tomas Slax 9.3 files and add extlinux.32 missing file to install boot loader as your iso would not execute. Found no means to mount a usb or other partitions and no means to login as root. Had to Cntrl Shift Delete keys to shutdown. Other than that, your iso functioned perfectly. Opened superuser terminal and apt install ____ .

lucbertz 2018-01-11 11:53

In fact slax can be used as the base for a plenty of squashfs live files of other debian based distributions.
I'd like to use it wit Devuan or Antix, but I think I should start from Linux Live Kit to make them work without systemd.

TDE module can be extracted from the iso and used in any Slax situation. I found wifi doesn't work. It finds networks, but it is not able to connect.

Stephen Wassell 2018-01-11 17:21

Rebuilding initrfs.img - solved it! The Linux Live kit (https://www.linux-live.org) contains the Slax build script. Running that on an updated Debian 9.3 system creates the right boot files.

Igor 2018-01-11 17:42

I will explain the strategy:
leave one Slax module 01-core.sb
Start Slax login:
root
toor
slax activate filesystem.squashfs.sb
startx

So we kill the kernel in the filesystem.squashfs
and it remains a shell.
If these systems are the same, then it should turn out.
Or try this method

00-filesystem.squashfs.sb
01-core.sb

To be the first one to activate 00-filesystem.squashfs.sb and close it 01-core.sb
At Q4OS 2.4 and SLAX 9.3 kernels are absolutely identical.
It turns out to be an absolutely stable system.
I've been trying to add SLAX modules to Q4OS 3 months ago
but I did not succeed.

lucbertz 2018-01-11 19:48

Linux Live Kit almost works with Devuan; I will try it also with AntiX core.
Then I will directly use TDE repository to get desktop environment.
I think this is the cleanest way to build a slax distro for ancient machines.
Regarding lubuntu, I will try to apply Linux Live Kit on Ubuntu Server edition and then to generate modules for lubuntu-desktop.

Schronk Tamás 2018-01-12 13:05

Hi!

How can i add entry to the xlunch menu?

I have installed VS Code from deb package and i have /etc/share/applications entry but it doesn't help.

Maybe can i refressh xlunch manually?

Thanks!

Michal 2018-01-13 00:46

Hello, I had a problem with booting Slax 9.3.0 with PXE, which ended with a "Could not locate slax data" error message. The problem disappears when I change two lines in the download_data_pxe() function:

<echo "* Downloading PXE file list"
---
>echo "* Downloading PXE file list" >&2

<echo "* Downloading files from the list"
---
>echo "* Downloading files from the list" >&2

Is this solution correct?

Tomas M 2018-01-13 08:30

@Schronk Tamás
In order to add an entry to xlunch menu, you need to create appropriate .desktop file for your applicatin in /usr/share/applications. You need also to make sure the icon file exists in /usr/share/icons/hicolor/ ... Current Slax has a bug that it does not search for icons in /usr/share/pixmaps so for that reason some Debian applications are not visible in xlunch automatically because Slax thinks there is no icon. You can fix that by copying the icon from pixmaps to some of hicolor subdirectories.

@Michal
Current Slax does not support PXE so you're on your own. However, su pressing the error messages by >&2 does not fix the issue, only hides some error messages. So this won't help anything.

UlasInan 2018-01-14 19:10

Hello. First of all, thanks a lot for free Slax 9.3 operating system. Secondly, I have a problem about Slax 9.3 operating system. This problem is that Slax 9.3 operating system uses only 200 MB Ram of my computer, on account of this, programs which were installed on that operating system run very slowly. Could you increase usage of memory of that operating system by modifying it, please? Best Regards.

Stephen Wassell 2018-01-15 10:55

UlasInan - how much memory does your machine have installed? The OS will take up a few hundred MB of memory but it should leave the rest free.

UlasInan 2018-01-15 11:44

Stephen Wassell - Thanks for your reply. My computer has Intel Core i7 Cpu,16 GB Ram and also a Wi-Fi connection with 24 Mbps, furthermore programs, such as Chromium, which were installed on Slax 9.3 run too slowly. How can I speed up that operating system?

Stephen Wassell 2018-01-16 09:37

Maybe this will help... https://www.linuxatemyram.com/