PDA

View Full Version : mounting a usb thumb drive



nlehrer
09-20-2006, 07:05 PM
if i am running the live system and i wanted to save something i thought i could save it to a usb drive. how do i mount the usb drive?

thanks.

markpreston
09-20-2006, 08:22 PM
Hi nlehrer,
To copy a file to a usb stick whilst running Knoppix live. From the command line, for a file you have created called newfile1 in the knoppix home directory, you should run something like this:

knoppix@ttyp1[knoppix]$ ls
Desktop newfile1 tmp
knoppix@ttyp1[knoppix]$ su
root@ttyp1[knoppix]# mkdir /media/usbstore
root@ttyp1[knoppix]# mount -o uid=knoppix -t vfat /dev/sda1 /media/usbstore
root@ttyp1[knoppix]# exit
exit
knoppix@ttyp1[knoppix]$ cp newfile1 /media/usbstore/newfile1
knoppix@ttyp1[knoppix]$

To copy to a floppy disk.
knoppix@ttyp1[knoppix]$ cp newfile1 /media/floppy/newfile1

Below is a set of links that should help.
Let us know how you get on and what eventually successfully solves your problems.

http://www.knoppix.net/forum/viewtopic.php?t=20992

http://www.knoppix.net/forum/viewtopic.php?t=19514

http://www.knoppix.net/forum/viewtopic.php?t=19085

http://www.knoppix.net/forum/viewtopic.php?t=16383

http://www.knoppix.net/forum/viewtopic.php?t=15869

http://www.knoppix.net/forum/viewtopic.php?t=15893

http://www.knoppix.net/forum/viewtopic.php?t=15498

Regards,
Mark