Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Run from USB stick and save settings< Next Oldest | Next Newest >
xorg Offline





Group: Members
Posts: 8
Joined: Aug. 2005
Posted: Aug. 06 2005,07:38 QUOTE

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!


--------------
Jason

Linux blog: http://real-linux-geek.blogspot.com
Peterborough Linux User Group: http://plugintolinux.ca
Back to top
Profile PM WEB 
UndCon Offline





Group: Members
Posts: 22
Joined: June 2005
Posted: Aug. 06 2005,10:04 QUOTE

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


--------------
Diskless systems at http://undcon.no-ip.com
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 06 2005,15:47 QUOTE

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.
Back to top
Profile PM 
xorg Offline





Group: Members
Posts: 8
Joined: Aug. 2005
Posted: Aug. 07 2005,09:27 QUOTE

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.


--------------
Jason

Linux blog: http://real-linux-geek.blogspot.com
Peterborough Linux User Group: http://plugintolinux.ca
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 08 2005,02:39 QUOTE

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.
Back to top
Profile PM 
18 replies since Aug. 06 2005,07:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Run from USB stick and save settings

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code