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: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Mount USB memory key< Next Oldest | Next Newest >
ritsuser Offline





Group: Members
Posts: 2
Joined: Jan. 2004
Posted: Jan. 19 2004,14:28 QUOTE

Hi,
Just installed DSL for the first time. I'd like to mount my USB key but have no idea how to do that. Any help is appreciated.

Thanks.
Back to top
Profile PM 
nosebleed Offline





Group: Members
Posts: 7
Joined: Jan. 2004
Posted: Jan. 20 2004,00:21 QUOTE

This Post has information that worked for me to get my Sandisk cruzer mini working.  

Try this,

mkdir /mnt/usbdrive
mount /dev/sda1 /mnt/usbdrive

cd /mnt/usbdrive
ls

do that as root and see if you can see the contents of the thumb drive, then if that works see the above post about adding an fstab entry for it.
Back to top
Profile PM 
ritsuser Offline





Group: Members
Posts: 2
Joined: Jan. 2004
Posted: Jan. 20 2004,16:19 QUOTE

Thanks for that. It works for mounting the USB memory stick.

As for the bit about adding an entry to fstab...not sure if I'll be able to do that.

I mis-spoke when I said I had "installed" DSL. In fact, I'm running it from a CD. Any idea how I can read and modify the ISO image to add the entry to fstab?
Back to top
Profile PM 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Jan. 24 2004,16:49 QUOTE

That's a good question for us users of the LiveCD.
The usb drive is in /etc/fstab, but you have to get it mounted
to work with it.
First, I formatted my usb drive with:
#mkfs.ext2 /dev/sda1 (be root, per below:}
To save to it or restore from it, I mount the usb stick with:
#mount /dev/sda1 -t ext2 /mnt/usbdrive
You have to be root to do that, in a terminal do this:
#sudo su (then you are root in that terminal for as long as it's open)  
Then I copied filetool.lst from /home/damnsmall to the usb drive:
#cd /home/damnsmall
#ls -a
The filetool.lst should be in the list
Then:
#cp filetool.lst /mnt/usbdrive
Now the fun begins. Open filetool.lst for editing with "vi":
#cd /mnt/usbdrive
#ls -a
#vi filetool.lst
You have to modify the filetool.lst on the
usbdrive to include everything you want backed up. (and restored, when you do Menu > File Restoration > Restore
(One side note here: Whatever you have running in DSL is what gets packed up in the backup.tar.gz file on the Memory Stick, according to what you have specified in the filetool.lst on the Stick itself)
I have mine working for MozillaFirebird like so:
------------------
.fluxbox
.xtdesktop
/home/damnsmall/.xinitrc
/home/damnsmall/.bash_profile
/opt/xsetup
/opt/ppp
/opt/wvdial.conf
/ramdisk/opt/MozillaFirebird
.phoenix
web.html
web_files
---------------
My wvdial.conf works, MozillaFirebird works, but the
following entrries don't as I start in X-windows (run level 5)
as per the default DSL on livecd.
-------
/home/damnsmall/.xinitrc
/home/damnsmall/.bash_profile
------
those two I am still working with,  I believe they work if I
exit Fluxbox, and return with "startx"
As far as the web.html and web_files are concerned, I just
went to:
http://www.geocities.com/rapidweather/web.html
and had MozillaFirebird save that web page locally. It's stored
on the usbdrive, and I use it as the "home page" for Moz. It comes up when Moz is started, before I connect to the Internet with #wvdial &
One additional problem, the XF86Config for DSL does not have mouse setups, that is taken care of when DSL boots. So, when you exit Fluxbox, and return to the GUI with "startx", you do not get the mouse to work.
Everyone with suggestions and comments please lets us hear from you!
I'll get back in here with updates if I find out more. :;):


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
Rapidweather
Unregistered






Posted: Jan. 24 2004,21:50 QUOTE

I had this in the above post, and it's not entirely correct:
-----
One additional problem, the XF86Config for DSL does not have mouse setups, that is taken care of when DSL boots. So, when you exit Fluxbox, and return to the GUI with "startx", you do not get the mouse to work.
----
That happened to me one time, or so I thought, but once you are booted up in
DSL, and have restored, etc. and then exit Fluxbox via the menu, you should still have your mouse working when you come back with "startx".  :D
Back to top
5 replies since Jan. 19 2004,14:28 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Mount USB memory key

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