USB booting :: Run from USB stick and save settings



Thanks, cbagger!

Undcon: Thanks too for your description of how to do a frugal install though I'm not sure what frugal is yet. Guess I need to do some more reading!

I found the that the autobackup on shutdown fails if the usb key is mounted, I got around this by adding a command to unmount it to the /opt/powerdown.sh (add it before the backup !)

something like

umount /mnt/sda

then the backup works,

I'm still having troubles with only root being able to save to sda when mounted, I can use EmelFM as a superuser but it's a pain not being able to save from firefox to the usbkey, I'm running a frugal USB HD install (as setup from the menu).

I didn't get on with the 2 partitions which worked fine in DSL / Linux but XP refused to mount the second partition.

I guess the way around that would be to manually do a usb install with 2 partitions and make the first the biggest and the second which XP won't mount big enough just for DSL but that's only a thought!  :D

I think the latest version of DSL will let you save files to your pendrive without being the "root" or SuperUser

From the changelog notes:

18. Enhanced "frugal" installs giving dsl user write access to /cdrom

Quote (cbagger01 @ Aug. 08 2005,12:37)
I think the latest version of DSL will let you save files to your pendrive without being the "root" or SuperUser

That's my experience too.

So Frugal install is just a normal install of DSL to whereever?

damianiw: where's autobackup? I didn't see that option. Using 1.4 from the pendrive (using toram option, too).

Quote (xorg @ Aug. 09 2005,11:26)
Quote (cbagger01 @ Aug. 08 2005,12:37)
I think the latest version of DSL will let you save files to your pendrive without being the "root" or SuperUser

That's my experience too.

So Frugal install is just a normal install of DSL to whereever?

damianiw: where's autobackup? I didn't see that option. Using 1.4 from the pendrive (using toram option, too).

DSL Automatically backups up to the place it restored from or where you have specified if you backed up from the DSL Control Pannel, this is called in the /opt/powerdown.sh script which I have modified to look like below:

Code Sample
#!/bin/sh
# Put system command to perform upon system shutdown
# For example the following line is used to automate system backups
echo Unmounting Drives Specified in powerdown.sh
echo
umount /mnt/sda1
umount /mnt/hda1
echo

cleanMyDSL.sh
if [ -s /opt/.backup_device ]; then filetool.sh backup noprompt; fi


The last line calls the backup, so I just umount anything I may have mounted that I may use for a backup.

Re 1.3 improved frugal, this still seems to have the same problem for me, I'll make anoter pendrive install run with frugal and let you know if I need to be root to save to it still incase any extensions I've added are conflicting or similar

Next Page...
original here.