USB booting :: Run from USB stick and save settings
Been trying to figure this out on my own but figure maybe I'm doing something that can't be done.
I've installed DSL 1.4 to a 256 MB USB stick and it boots fine. However, I want to be able to save my settings. Can I boot from the stick *and* save to it? Do I use the normal backup/restore in DSL panel to do this?
Thanks!
I assume you have read some of the documentation about installing to usb ??
if not here is a quick HowTo - this is for my CF-cards mounted on CF->IDE adapters (USB instructions may be different)
part I
boot from CD with option "DSL 2" to boot minimal without GUI (press F2 during start for other options)
use "Cfdisk" to make 2 partitions
1 60Mb bootable type 82
1 *Mb type 82
Write partition table
Reboot using "shutdown -r now" (if not your new partitiontable wont be available)
part II
boot from CD with option "DSL 2"
format partitions by:
mke2fs /dev/hda1 (choose your drives)
mke2fs /dev/hda2 (choose your drives)
Reboot using "shutdown -r now" (if not your newly formatted drives may not work, but its probably unneccesary)
part III (or continue of part II)
(start with "DSL 2" again unless u didnt rebooted above)
start script /usr/sbin/frugal_instal.sh (follow instructions or use similar to mine)
target for image = hda1 (choose your drives)
install from = Live cd
home = hda2 opt= hda2 lang=se (choose your language and drive)
default restore partition = hda2 (choose your drives)
use different partition for DSL = yes, hda2
Format =Y
Confirm =Y
reboot and hopefully you will have a working frugal install that boots from your USBpendrive and saves opions to 2nd partition you have created
at least this works for me...
to automate enabling my NIC i use ndiswrapper and i enterred this to bootlocal.se located in /opt/
#!/bin/bash
# put other system startup command here
loadkeys se-latin1
/opt/myndis.sh
ifconfig wlan0 ip XXX.XXX.XXX.XXX
route add default gw XXXX.XXX.XXX.XXX
echo nameserver XXX.XX.XXX.XXX > /etc/resolv.conf
echo nameserver XXX.XXX.XXX.XXX >> /etc/resolv.conf
and myndis.sh:
/usr/local/bin/ndiswrapper.sh /opt/realtek/wg311t13.inf wlan0 ESSID
this is as i need ndiswrapper to load drivers for windows- if not my wlan wont work
If you did the normal "USB pendrive install" either USBHDD or USBZIP, then you should be able to save your settings.
I use USBHDD and I use the Backup/Restore function and I use "sda1" as my backup device.
Thanks guys.
The way I installed was using the menu option that to which cbagger01 refers. Now I'm wondering if I have to have two partitions for it to work. Do you have two partitions, cbagger?
It's not a big deal for me to repartition but do I need to do so?
Thanks.
No, you don't need two partitions for a USBHDD pendrive.
Just choose "Backup/Restore" and enter "sda1" for the name of your backup location.
Next Page...
original here.