Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2017, 11:34:05 AM

Login with username, password and session length
The new DSL forums are now open.
302360 Posts in 294244 Topics by 296 Members
Latest Member: Adisanut
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

+  Damn Small Linux (DSL) Forums
|-+  Recent Posts
Pages: 1 2 [3] 4 5 ... 10
 on: October 26, 2017, 06:22:02 PM 
Started by Sxs6vHg9Qzdm - Last post by antiftermam
Good morning. I have a new computer in my office ubuntu 11, but I cant find Libreoffice Base... Is there a way to reinstall LibO... or do something??


 on: October 26, 2017, 12:00:57 PM 
Started by Dave-D - Last post by antiftermam
They could always tear down the walmart and sams buildings in White Settlement and put the drive in theather back there...It would look better then a bunch of empty buildings...

 on: October 22, 2017, 11:09:04 AM 
Started by CNK - Last post by CNK
Users of HDD installs, or who leave their computers running for very long periods, may have encountered error messages requesting them to "Please mount optional dir and try again" after attempting to load a MyDSL extension, or when sutting down their PC.

A simple solution to this problem is to replace the "/tmp/mydsl.map" file, which normally lists all loaded UCI extensions, with a template one containing 63 lines of the text "free". Such a file is attached with this post and can be set to automatically replace "/tmp/mydsl.map" on every boot by including a command such as the following in the "/opt/bootlocal.sh" script:

cp /home/dsl/mydsl.map.start /tmp/mydsl.map

The problem that the above partially solves is with the MyDSL UCI package system, which relies on unloading all loaded UCI packages on shutdown. The system fails to contend with packages loaded from a directory other than /home/dsl/, and also where packages have been renamed, moved, or were loacated on a filesystem that has been unmounted.

A better solution to the problem with packages loaded from outside "/home/dsl/" is to replace line 10 of "/etc/init.d/mountci", which reads:


With this:

SOURCE=`readlink -f "$1"`

A copy of "/etc/init.d/mountci" from DSL V. 4.4.10 with this modification already performed is also attached.

The replacement of "/tmp/mydsl.map" on each boot should still be performed to account for the other instances where the extensions system may get confused.

The following are some notes describing observations regarding the MyDSL UCI extension system, and more detail of the problem at hand:

*"Please mount optional dir and try again" prompt comes from "/etc/init.d/mountci", which is called from
 "/usr/local/bin/exitcheck.sh", which is called by "/usr/bin/dslexit" (exit
 window program).

*The error window is displayed by a call to the script "/usr/bin/popup.lua",
 but only if the $DISPLAY shell variable is of non-zero length.

*The call to "/etc/init.d/mountci" from "/usr/local/bin/exitcheck.sh" seems
 to be due to the presence of entries in the "/tmp/mydsl.map" file added when
 uci extensions are loaded.

*Removing, or creating an empty, "/tmp/mydsl.map" does not solve the problem.
 The UCI system works by looking line-by-line through "/tmp/mydsl.map" before
 loading an extension, and noting the first line number where it finds the word
 "free". It then mounts the .uci extension at the /dev/cloop device associated
 with that line number. So if line 5 was the first to read "free", the new
 extension would be mounted at "/dev/cloop5". It also replaces the "free" text
 on line 5 with the name of the extension loaded eg. "extension.uci".

*The problem with using only the extension name is that this means that the
 extension has to be in the current directory when the command to unmount the
 extension is executed. If it is in a different directory, as may happen when
 the "/usr/local/bin/exitcheck.sh" script attempts to unload all extensions on
 shutdown, the command will fail.
 -This has been solved by changing line 10 of "/etc/init.d/mountci" from:
  SOURCE=`readlink -f "$1"`
  Now the full directory path is always written to the "/tmp/mydsl.map", and
  "/usr/local/bin/exitcheck.sh" therefore succeeds in unmounting all loaded
  UCI extensions and marking their lines in "/tmp/mydsl.map" as "free".

*As no UCI extensions could be loaded when the OS restarts, it would be possible
 to add a command to copy a file with 63 "free" lines to "/tmp/mydsl.map" to
 "/opt/bootlocal.sh", therefore ensuring that everything starts afresh, even
 after a crash or power failure.

*A problem was noticed with "/usr/local/bin/exitcheck.sh" failing to edit the
 "/opt/.dfmext" file, this was (sort of) solved by doing a "sudo chmod a+rw /opt/.dfmext".

 on: October 19, 2017, 09:17:29 PM 
Started by Dantoys - Last post by CNK
I haven't tried it, but you will probably have some trouble getting VirtualBox installed. As far as I can see there's no MyDSL extension, and there was no package for Debian Woody (the version of Debian with which DSL is compatible).

This means that you'll have to build it from source, and the dependency list  (https://www.virtualbox.org/wiki/Linux%20build%20instructions) indicates that this will require first compiling a number of dependencies which are also not already available for DSL. QT 4 is likely to be difficult for one thing.

Whether it is possible or not will depend on whether one of the dependencies requires a later kernel than the 2.4.31 release used in DSL. If so, your only option might be to try to find an earlier version of VirtualBox that works with earlier releases of the problem dependency.

 on: October 19, 2017, 07:30:39 PM 
Started by Dantoys - Last post by Dantoys
 I am interested in installing DSL as my Host, and then running other Guest systems in VirtualBox..

Probably looking at 3 to 5 Windows systems and a MAC and a few Test Linux Distros.

it is a laptop i5, HD4000 Gpu, 8GB Ram.

Has anyone ever tried to do this? Problems? Suggestions?



 on: October 13, 2017, 10:32:51 PM 
Started by trpted - Last post by CNK
I'm afraid DSL would be on life support at best, but indeed it isn't likely to be moving away from 32bit support for one thing.

 on: October 12, 2017, 08:02:13 PM 
Started by trpted - Last post by trpted
The current issue of Distro Watch Weekly has some topics including if 32-bit prematurely obsoleted or not.


Since I can not offer any money or time to assist you at this time, thank you for keeping 32 bit alive.

 on: September 29, 2017, 02:18:33 PM 
Started by ufaforwork - Last post by ufaforwork
The original intent of DSL was to fit on a credit card sized CD.  There are now credit card DVDs that hold at least 330MB. http://en.wikipedia.org/wiki/DVD_card

Perhaps DSL can continue with the 50MB CD card limit while DSL-N can fork to a DSL-DVD with a 330MB limit (and being only 95MB currently, there's plenty of room for expansion).
เล่นคาสิโนบนมือถือ (http://www.ufa88.com/เล่นคาสิโนบนมือถือ)

 on: September 16, 2017, 04:20:11 AM 
Started by jcdq - Last post by jcdq
Thank you, CNK! I  will try!    Smiley

 on: September 15, 2017, 11:59:30 PM 
Started by jcdq - Last post by CNK
There doesn't look to be an extension for it in the MyDSL respository. I'm not sure whether DSL-N was compatible with a version of Debian, but if so you can install the package for that Debian release from the Debian package archive. Otherwise you'll have to compile from the sorce code on the project's website (http://siag.nu/).

Pages: 1 2 [3] 4 5 ... 10
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc