Slax author's Blog (RSS)
20
October2019
Another update for Slax 10.1 testing version
I've updated the download link to include third ISO image with Slax 10 + desktop + some apps.
https://sharegorilla.com/q/nPfxS2Z
Unfortunately leafpad is no longer a part of Debian so I had to exclude it. Furthermore, it looks like all packages are growing in size, so I will need to find new ways to delete unneeded stuff.
User comments
Tomas,
Sorry for the delay in trying 10.1. Wow, not much in comments so far!
Anyway, I have two kind of odd issues. The first is not much of a problem, just odd. When I boot from a USB drive, there is a delay of 1 minute 37 seconds during a boot script while it is trying to get a DHCP address. This is on a laptop with no network cable (wifi only). This did not happen with 9.x. But what is really odd is that when I boot from CD this delay does not happen. I have downloaded the full 10.1 ISO (the big one) twice and the md5sums were the same both times. I've formatted the USB key and installed on different keys with the same behavior. I can't figure out why there would be a difference booting from a key vs. a CD. But other than this, everything works fine so it's hard to believe I have some corruption that only results in this one difference. Have you tried to boot your PC from a flash drive with the network cable unhooked? Do you get this delay?
The other problem is more frustrating. I went to rebuild my frequent bundles for version 10 using the apt2sb chroot script you provided in the Google group. On some bundles, it hangs on umounting the union. From the bottom of the script:
umount $UNION/proc
umount $UNION/dev
rm $CHANGES/doit
rmdir $CHANGES/* 2>/dev/null
savechanges /"$INSTALL".sb $CHANGES
umount $UNION
umount $TMP
rmdir $TMP
The script works through the savechanges line, then hangs at umount $UNION. I can copy the created bundle from / to my hard disk, but of course this leaves the hung umount command and a lot of memory tied up. This happens consistently for some bundles, such as firefox-esr, mencoder, and deluge. But other bundles such as heirloom-mailx, lynx, bc, and patch do not hang like this.
Thanks again for your work. I have just started using 10 in full, and will post back if I run into anything else.
Pat
not connected via USB tethering from android device. that's connected on slax 9
@parrothead, thank you very much for testing.
I noticed that there is a sr0.mount service hardcoded, could it be possible that your computer's boot is delayed due to an unsuccessfull attempt to mount the sr device (cd/dvd disc) while you are actually booting from USB drive so the CDROM tray is empty?
Regarding the second issue, maybe the union mount is busy and that causes it to be unmountable, I am not sure. Please try to modify all the umounts to include -l parametr (lazy unmount) so it unmounts $UNION/dev and $UNION/proc and frees the $UNION mountpoint. Also you can check dmesg to see if there are any messages regarding the freezed umount.
@Tomas - I'll test more this weekend and probably post in the google group to avoid cluttering this space up. But I did put a pause in the bundle script before the umount already and then did testing from another window and couldn't find anything with lsof or fuser. Figured it might have been some modules running some software on "install" but couldn't find any. Anyway, I'll continue to test and report back.
In the meantime, man pages please. :) Or is there a package to install? Figure each package has their own.
Pat
Man pages are included, but blocked by apparmor. Please add this boot parameter to enable man pages: apparmor=0
Make a distribution based on arch Linux or as it was on slackware. And it will be easier and faster. Debian is terribly slow when installing and assembling packages, as if it hung.
@Tomas - Thanks for the tip on the man pages - it would have taken me a long time to figure that out! :)
On the delay on booting, it was definitely the DHCP thing. The boot aused with something like "Trying to obtain DHCP address", and a counter up to 1:37 when it finally went on to the next step. I think I read somewhere (but
can't find it right now) that there was a bug where this was supposed to be skipped if you didn't have a cable plugged in but the code sometimes mis-detected this condition. I still don't know why it's different when booting
from USB vs CD-ROM. Maybe something with udev or my specific hardware? Anyway, I was able to fix it with a rootcopy/usr/lib/systemd/system/dhclient.service file, where I added a TimeoutSec=30 to the [Service] section. Now it counts up to 37 seconds (not sure why the extra 7 seconds). I was afraid to cut the timeout too short in case this same code is used for wifi later on, when it does take a few seconds to get an IP.
On the umount of the UNION in the apt2sb script, I think I'm hitting some kernel or aufs bug, or both. I tried changing all the umounts to -l, -f, and -lf and nothing really worked. The hang of the umount was always on the umount of the union, and always on the same packages, like firefox-esr. The closest I could get was changing that one to:
umount -fl $UNION &
to throw it into the background, followed by a sleep 2 to give it time to work. The command would hang but would seem to do the umount okay. Looking at the output of mount or /proc/mounts did not show it mounted, and the rest of the script completed okay. I thought this would be good enough but after building several modules like this, the system would become unstable and hang. Pressing the caps lock key would not toggle the light. I eventually came up with a workaround, though, using unionfs vs. aufs. I changed these lines:
mount -t aufs -o xino=$TMP/.xino,trunc_xino,br=$CHANGES aufs $UNION
# I don't use chromium so filter it out.
\ls -1d $BUNDLES[0-1]* | grep -v chromium | while read MOD; do
mount -o remount,add:1:$BUNDLES/$(basename $MOD)=ro aufs $UNION
done
to:
LOWERS=$(\ls -1dr $BUNDLES[0-1]* | grep -v chromium | tr '\n' ':')
LOWERS=${LOWERS/%:/}
rm -rf $TMP/xino ; mkdir $TMP/xino
mount -t overlay -o lowerdir=$LOWERS,upperdir=$CHANGES,workdir=$TMP/xino overlay $UNION
This allowed me rebuild all my modules without problems. Note that the order of the base bundles is reversed from the aufs version with the ls -1dr. Without the -r, the bundles were building okay but were including hundreds of unnecessary packages. I'm not familiar with the apt/dpkg databases but my assumption is there was a conflict between identical files within the base modules and with the order wrong in the union, the wrong file(s) "win" making the package system think packages which are
really installed are missing. But with the order correct, the bundles get produced as expected, and the same size as produced with the aufs version, just no hangs and no other parameters needed on the umounts. Also, I've not noticed any other problems with aufs - slax activate and slax deactivate have all continued to work as expected. It was the umounts in this special script. Version 10 has been very stable otherwise.
I will wait a few days to make sure I don't have any problem with these newly rebuilt modules and then post the updated script to the groups site.
Thanks,
Pat
Thanks @Thomas for the great work and unique distribution.
I've created a module in which I delete a file (in particular /lib/systemd/system/dhclient.service but I think that the behaviour regards every file).
If I reboot and select "persistent changes" option the file is correctly deleted
but...
If I reboot and select "copy to ram" option the file is uncorrectly(in my expectations) present
So I'm asking: is this a bug, is this desired, or is this unavoidable? I have checked and the behavior is the same also in 9.9.1.
Is there a way for me to change this behaviour and allow deletions also in "Copy to RAM" mode?
Thanks,
Hello, Mr. Thomas!
I probably found the https://www.linux-live.org site a week ago by looking for a custom linux ISO image solution. Slax was sent on this site. Surprise!
I am annoyed to integrate the software I need in an ISO image. Of course, it is best to run in live mode instead of installing it on your hard drive. Because I only use linux when I work, and I only use linux as much as possible.
Surprisingly, the slax completed almost all my thoughts in a very small volume. This is the Linux distribution I have been looking for that can be customized.
For almost a week, I have completed almost all possible customizations for slax9. There are also many ideas that have failed. Not all software may be installed and running. It doesn't matter, it can be enough to meet the needs.
Later I took the time to read your blog and site and I found the beta version of slax10.
Another big surprise! Slax10 is based on Debian10. This software source contains a lot of software that is not available in slax9. I am a Chinese user and hope to install some linuxdeepin software.
I tried to install the mate-gnome desktop environment on the core slax10 version. It seems that I can't start it directly. Later I tried to install deepin-terminal successfully. But other deepin software has almost failed. It is clearly installed in the command line terminal. However, there is no icon to start. It is similar to the performance of many software in slax9 after installation.
However, I have learned how to add icons myself. A `.desktop` file is placed in `/usr/share/application/` according to a certain configuration.
By the way, I use slax9 at night, it feels too bright, I have learned how to adjust the screen brightness by the command line `xrandr --output $(xrandr | grep " connected" | cut -f1 -d " ") - -brightness 0.7`.
Two questions about the hairline when testing slax10:
1. At startup, waiting for a service for more than 1 minute and 30 seconds `/dev/sr0`, and finally failed.
2, I tried to install `chromium` through the icon, the installation seems to be no abnormal completion, but can not start. The VLC works fine after installation. In the case of retaining persistent data, I tried to restart the system and `chromium` still could not be started. I think slax9 is also based on debian. Maybe you can use the sb package directly. After copying it, it still doesn't work.
Thank you very much for the great project you created! I am learning more about slax. For example, about the features of fluxbox, such as how to use and set shortcuts, how to take screenshots, how to input Chinese and Japanese.
To your best wishes! I hope this project is getting better and better, I hope you are happy every day!
Leehom Chen.
Hello, Mr. Thomas!
我大概是一周å‰ï¼Œé€šè¿‡å¯»æ‰¾å®šåˆ¶è‡ªå·±çš„linux ISOé•œåƒè§£å†³æ–¹æ¡ˆæ‰¾åˆ°äº† https://www.linux-live.org 站点。在这个站点上å‘线了slax。惊喜万分ï¼
我苦æ¼äºŽå°†è‡ªå·±æ‰€éœ€çš„软件都集æˆåœ¨ä¸€ä¸ªISOé•œåƒä¸ã€‚当然最好能够通过liveçš„æ–¹å¼è¿è¡Œè€Œéžå®‰è£…到硬盘上æ‰èƒ½è¿è¡Œã€‚å› ä¸ºæˆ‘åªåœ¨å·¥ä½œçš„时候æ‰ä½¿ç”¨linux,也尽å¯èƒ½çš„åªæ˜¯ç”¨linux。
惊奇的是,slax以æžå°çš„体积完æˆäº†æˆ‘å‡ ä¹Žæ‰€æœ‰çš„æƒ³æ³•ã€‚è¿™å°±æ˜¯æˆ‘ä¸€ç›´å¯»æ‰¾çš„å¯ä»¥å®Œæˆå®šåˆ¶åŒ–çš„linuxå‘行版。
大约一周以æ¥ï¼Œæˆ‘完æˆäº†slax9çš„å‡ ä¹Žæ‰€æœ‰å¯èƒ½çš„定制。也有很多想法失败了。å¯èƒ½å¹¶éžæ‰€æœ‰è½¯ä»¶éƒ½èƒ½å®‰è£…并æ£å¸¸è¿è¡Œã€‚这没关系,能满足需è¦å°±å¥½ã€‚
åŽæ¥æˆ‘一花时间阅读您的åšå®¢å’Œç«™ç‚¹ï¼Œæˆ‘å‘现了slax10的测试版。
åˆæ˜¯ä¸€ä¸ªå¤§æƒŠå–œï¼slax10基于Debian10,这个软件æºä¸åŒ…å«äº†å¾ˆå¤šslax9所没有的软件。我是ä¸æ–‡ç”¨æˆ·ï¼Œå¸Œæœ›å¯ä»¥å®‰è£…一些linuxdeepin的软件。
我å°è¯•åœ¨æ ¸å¿ƒçš„slax10版本上安装了mate-gnome æ¡Œé¢çŽ¯å¢ƒï¼Œä¼¼ä¹Žæ— 法直接å¯åŠ¨ï¼ŒåŽæ¥æˆ‘åˆå°è¯•äº†å®‰è£… deepin-terminal æˆåŠŸäº†ã€‚但是其它deepinè½¯ä»¶å‡ ä¹Žéƒ½å¤±è´¥äº†ã€‚æ˜Žæ˜Žéƒ½åœ¨å‘½ä»¤è¡Œç»ˆç«¯ä¸å®‰è£…æˆåŠŸäº†ã€‚å¯æ˜¯æ²¡æœ‰å¯åŠ¨çš„å›¾æ ‡ã€‚è·Ÿslax9ä¸å¾ˆå¤šè½¯ä»¶å®‰è£…åŽçš„表现类似。
ä¸è¿‡ï¼Œæˆ‘å·²ç»å¦ä¼šå¦‚ä½•è‡ªå·±æ·»åŠ å›¾æ ‡äº†ã€‚ä¸€ä¸ª `.desktop`文件按照一定的é…置放到`/usr/share/application/`ä¸ã€‚
顺带一æ的是,我晚上使用slax9,感觉太亮了,我已ç»å¦ä¼šäº†å¦‚何通过命令行去调节å±å¹•äº®åº¦`xrandr --output $(xrandr | grep " connected" | cut -f1 -d " ") --brightness 0.7`。
测试slax10的的时候å‘线的两个问题:
1ã€å¯åŠ¨çš„时候,在ç‰å¾…一个æœåŠ¡è¶…过1分30秒`/dev/sr0`,最åŽå¤±è´¥äº†ã€‚
2ã€æˆ‘å°è¯•é€šè¿‡å›¾æ ‡å®‰è£…`chromium`,安装似乎没有异常的完æˆäº†ï¼Œä½†æ˜¯å¯åŠ¨ä¸äº†ã€‚VLC安装åŽå¯æ£å¸¸å·¥ä½œã€‚ä¿ç•™æŒä¹…化数æ®çš„情况下,我å°è¯•é‡å¯ç³»ç»Ÿï¼Œ`chromium`ä¾ç„¶æ— 法å¯åŠ¨ã€‚我想slax9也是基于debian,也许å¯ä»¥å°†sb包直接拿æ¥ç”¨ï¼Œæ‹·è´è¿‡æ¥åŽï¼Œä¾ç„¶æ— 法æ£å¸¸å·¥ä½œã€‚
éžå¸¸æ„Ÿè°¢æ‚¨åˆ›å»ºçš„伟大项目ï¼æˆ‘æ£åœ¨å¦ä¹ 更多有关slax的知识。比如有关fluxbox的功能特性,比如如何使用和设置快æ·é”®ï¼Œå¦‚何截图,如何输入ä¸æ–‡å’Œæ—¥è¯ç‰ã€‚
致以您最美好的ç¥ç¦ï¼å¸Œæœ›è¿™ä¸ªé¡¹ç›®è¶Šæ¥è¶Šå¥½ï¼Œå¸Œæœ›æ‚¨æ¯å¤©å¼€å¿ƒå¹¸ç¦ï¼
Leehom Chen.
I'm happy to read that deepin-terminal is working on Slax :) It was my favorite tool on Deepin.
cheers
@parrothead
Same DHCP delay for me from iso in VirtualBox. But it's odd, because if I choose Copy to RAM, then there is no delay to orbitain adress from DHCP.
Hallo.
First of all thanks as always for the good job.
I've tried the iso.
1) the init script which mounts /dev/sr0 waits for 1.30 minutes and fails. Due to this X doesn't start properly.
My solution has been first attach an usb cdrom , but after putting a comment in the system script which mounts /dev/sr0 because I have no cdrom attached in my laptop (today nobody uses cdroms anymore I think).
However in previous slax version all works well.
2) Launching web browser chromium is installed, but it doesn't work. Installing it manually and launching chromium --no-sandbox it starts
3) Logging off or trying to shutdown doesn't work . The desktop remains with background image freezed
I hope helping you to improve slax.
Have a good day
thank you for your work Tomas i like very slax i have moved to fvwm because some understable problems with fluxcow
now i search how to avoid the mounting of my hard disk partitions i have changed fstab but it is erased it is surely in systemd ... i am searching i am old fashion user systemd is quite new for me
i am ashamed because of my ignorance around systemd i have modified /etc/fstab and remount all in gpm init , i hope i will found a another solution asap
Não desista. Descobri o slax ah alguns minutos e essa distribuição é basicamente tudo que estava procurando. Uma distribuição limpa e sem desperdÃcios capaz de rodar em praticamente qualquer hardware pelo pendrive. Ótimo trabalho!!!