DamnSmallLINUX vs Slacko Puppy Linux

Warning back up your system. All care taken but no responsibility accepted.

My page about DSL hacking here is the obligatory screen shot ( click on the image below for larger size ) don't forget to get the archive in ISO 9660 FORMAT from here DamnSmallLinux.org its about 25 Meg compared with the rather bloated offerings in the operating system world ( with the possible exception of Android ) First we can prepare our SD card by putting grub on it.  This is quite easy with  one command. 

grub-install /dev/sdb

#then put the config together on the sd cards boot block this will put all our hard drive entries on too so we can use the sd card to boot from saving our hard drive from risky hackers like myself loosing their MBR next...........

update-grub /dev/sdb

then decompress the ISO with this command on a terminal command line after you have created the partition on your SD card.
dd if=dsl-4.4.10.iso of=/dev/sdb1

this will decompress the file to the SD partition we made in the previous step.  We need to make the SD cards partition into 2 parts one to receive the ISO and one to convert the file into ex2 format (or any other format that is readwritable).


As the decompression will make the partion into a iso 9660 formatted device which isn't a write-able format.  The SD card is called a Generic Multicard in Disktool terminology um you can find that tool in System/Administration 2nd link in menu for Ubuntu 10.4 running for this demo.  The name is SDB the second volume may be called something like SDB2 and the first volume on the sdb devide is SDB1 etc. A 4 gig card worked for me but you could use even a quarter that size for this project.

Ok now for another screen shot just to lighten the load of text information.
you need to run some scripts on the archive you downloaded from bottom list of files on the page here is the first to copy it to the root the scrpts are called dslfrom-iso and cloop.py they are shell and python scripts you may have to do a chmod 777 on them to make them executable by you.
( seems to work ok for the purposes of the script but you could put it anywhere but just adjust the script )

First to install it easily use the dsl-fromiso script from here and the link to the compressed image loop program cloop-decompress script from there too. Go to super user.

stephenp@ubuntu12345:~$ sudo su
[sudo] password for stephenp666:
root@ubuntu1234:/home/stephenp666# cd Downloads/
wget the DSL archive   dsl-4.4.10.iso  then make a dir for iso
mkdir /boot/iso
root@ubuntu1234:/home/stephenp666/Downloads# cp dsl-4.4.10.iso /boot/iso
root@ubuntu1234:/home/stephenp666/Downloads# ./dsl-fromiso
Usage ./dsl-fromiso: <iso-path> [<out>]
root@ubuntu1234:/home/stephenp666/Downloads# gedit /etc/grub.d/40_custom

and add the following entry we want our DSL to restore settings after each boot the file produced from the previous step is called minirt24-fromiso.gz and put in the / directory so we can add that filename to the grub2 custom menu file
our SD card is now called sda2 not sdb2 anymore because the SATA drives aren't recognized by the kernel without the sata switch ( kernel entries/switchs are called cheat codes in DSL language ) we just pass the restore=sda2 cheatcode as that gives the kernel information on where to store settings for instance xinit for desktop environment res.

menuentry " DSL-frugal-toram-mydsl-restore (sda2)"
loopback loop /dsl.iso
#root (hd1,0)
linux16 (loop)/boot/isolinux/linux24 root=/dev/sda2 toram mydsl=sda2 restore=sda2
initrd16 /minirt24-fromiso.gz

menuentry "Puppy linux sdb1" {
set root='(hd1,1)'
linux /vmlinuz 
initrd /initrd.gz

then do a quick update of the grub.cfg using the command

Much easier to install was Slacko Puppy its one of a group of linux's this one compatible with Slackware Linux
here is a shot I have installed the wxRad package for working on development in wxWidgets for Linux its a good size only around  100 meg with a browser and lots of technical goodies like cd burners and website download programs similar to my wgetwindows program for backing up websites.  The internet worked straight out of the box almost just had to put in the APN for my isp and away it went :) unlike DSL above I had to burn a DVD to get it running ( where i didn't have to with DSL using the script for running it out of a iso file but once i booted from the DVD drive it installed easily enough and got on the internet straight away they have some special download packages called pets you can get things like IDE'S or special browsers etc. 
This wins my award after trying many emergency repair kits that put you into a command line this one gives you the whole deal with internet so you can debug your system with the resources of the internet. Both Puppy and DSL had problems with the persistence files.  But when you selected no file persist option ( save changes directly to sd or hard drive then the problem went away )

how to fix Precise Puppy

Back to my main page

Stephen P,
Apr 12, 2012, 8:01 AM
Stephen P,
Apr 12, 2012, 8:01 AM