USB booting :: basic DSL with SSH



up: anyone can help?
Quote
Do I have to add /etc/shadow to .filetool.lst?
Yes

USB partitions are typically in the form of sdXx.  For example: sda2
A way to see which one in DSL would be to run
ls /mnt/sd*

There's plenty of threads on this already should you need any more info.

I did it! :D
This is the step-by-step procedure:

1. boot with:
Code Sample
dsl ssh secure


2. from terminal, mount the USB drive as rw:
Code Sample
$ sudo mount -o remount,rw /cdrom

Note: since DSL is developed as a livecd, boot device is mounted in /cdrom, so also USB drive (usually /dev/sda1);

3. with an editor, open /opt/bootlocal.sh:
Code Sample
$ sudo nano /opt/bootlocal.sh

and add /etc/init.d/ssh start to it;

4. with an editor, open /home/dsl/.filetool.lst:
Code Sample
$ sudo nano /home/dsl/.filetool.lst

and add /etc/shadow to it;

5. run Backup/Restore (from DSL Control Panel or with right click, System, Backup/Restore) and choose sda1 (without /dev/!) as backup device.

Thanks to ^thehatsrule^ and to te guys at Debianizzati.org.


original here.