Mount USB memory key


Forum: Other Help Topics
Topic: Mount USB memory key
started by: ritsuser

Posted by ritsuser on Jan. 19 2004,14:28
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.

Posted by nosebleed on Jan. 20 2004,00:21
< 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.

Posted by ritsuser on Jan. 20 2004,16:19
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?

Posted by Rapidweather on Jan. 24 2004,16:49
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. :;):

Posted by Rapidweather on Jan. 24 2004,21:50
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

Posted by roberts on Jan. 25 2004,01:18
I didn't realize that this thread is going on in two places, here and laptops.

Please do not format your usb devices as ext2. You will break the automated boot time restore capability. And thus not be able to use the saved X setup. See the thread under Laptops for the reasons.

The backup and restore are made to work with the usb device out of the box. No formatting required.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.