Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2018, 01:34:37 PM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
302461 Posts in 294253 Topics by 300 Members
Latest Member: milton
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 ... 3 4 [5] 6 7 ... 10
 41 
 on: October 30, 2017, 04:42:39 PM 
Started by John - Last post by antiftermam
This is pretty cool. I dont use Linux often, but when I do, this will be of use.


c wat i did thar? lol, wasnt until I read it back that it made me think of that...

 42 
 on: October 30, 2017, 01:02:52 PM 
Started by david-thing - Last post by antiftermam
We need your feedback as a member of YNKF, what is uncomfortable about the forum gate? Or what would you like to have? Any suggestions are welcome.

 43 
 on: October 27, 2017, 09:17:37 PM 
Started by freezy - Last post by antiftermam
THanks. And where can I find it on Android? The link is only about Windows, Linux and Mac.

 44 
 on: October 27, 2017, 07:05:41 PM 
Started by vturbo - Last post by antiftermam
That was a great idea for the web designer. I am always wondering before how did they do it on the mouse.

 45 
 on: October 27, 2017, 01:23:06 PM 
Started by Sandy-bridge - Last post by antiftermam
There are two different ways to install the mbc.  Look in the how-to section on evom and you can find the write up there.

 46 
 on: October 27, 2017, 04:31:12 AM 
Started by borgward1 - Last post by antiftermam
I just reformatted and reinstalled Windows on my Windows partition and now the Linux boot loader doesnt show up anymore. I have Linux installed on one of my partitions which DOS cant read. Is there anyway I can get back that grub boot loader to show up again?

 47 
 on: October 26, 2017, 10:04:42 PM 
Started by Benny - Last post by antiftermam
Repair Kali Boot after installing a new OS ex: Windows

    hello guys thanks for instructing through the boot-process repair, I wasnt unable to repair my boot for a long-time, and because I have a kali using my USB for boot, it doesnt come with grub, so to fix the boot process it should be like:
    apt-get install grub
    mount /dev/sda3 /mnt
    mount --bind /dev /mnt/dev
    mount --bind /dev/pts /mnt/dev/pts
    mount --bind /proc /mnt/proc
    mount --bind /sys /mnt/sys
    chroot /mnt
    grub-install /dev/sda
    update-grub

    and now reboot, thats it,
    Thanks again.
    P.S is there a way without using apt-get install grub?

 48 
 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??

Thanks.

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

 50 
 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:

Code:
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:

Code:
SOURCE="$1"

With this:

Code:
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="$1"
  to
  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".

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