DSL Ideas and Suggestions :: from iso to usb install script



You don't need to burn a new cdrom and rerun the install to usb pendrive.
To update an already installed and working usb pendrive you only need to copy one file.

1. boot from existing DSL cdrom.
2. use mount.app and mount pendrive (usually sda1)
3. open a root xterm ( Xshells->root access)
4. df -h /ramdisk  ( to be sure you have enough space, 50MB, to hold the downloaded new version of DSL
5. wget http://ibiblio.org/pub/Linux/distribtions/damnsmall/current/current
6. mount current /mnt/test -o loop
7. cp -u /mnt/test/KNOPPIX/KNOPPIX /mnt/sda1/knoppix/knoppix
8. overwrite y
9. sync  (wait for prompt to return)
10. reboot to your new version of DSL on pendrive.

Having enough space on /ramdisk shouldn't be a problem.
I just did "df -h /ramdisk and got:
/ramdisk      Size 192.1 M     Used 41.7 M   Available 150.4 M Use 22%.
---
As a side note, I found that the USB boot floppy would search your
hard drives for a /KNOPPIX and on mine it found one on /mnt/hdb5
and tried to use that instead of the one on the pen drive. So I had to
try the DSL pen drive on a laptop with only /dev/hda1 on it with no
/KNOPPIX. It didn't fully boot, it was late and I didn't get all the error
messages, etc. written down. I'm using a small 64 MB pen, and use the
usb boot floppy with it. I'm still hunting around for a machine to try it on.
---
:D

Bookmark!!

original here.