LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2008, 07:20 PM   #16
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

Quote:
Originally Posted by steffmark View Post
When I type the first code I get the message "cannot access, no such file or directory"

When I type lsusb I get the message "Bus 001 Device 001: ID 0000:0000
Is that *ALL* the output you got?

If yes, then it hasn't found the usb-disk at all.


When you do lsmod - which drivers do you see?



Cheers,
Tink
 
Old 03-27-2008, 07:30 PM   #17
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
I think /dev/sda1 is my usb device.

it says that this device has 1GB size which is the size of the usb stick.
 
Old 03-27-2008, 07:42 PM   #18
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
If that is what you believe it to be, try the mount commands from my previous post, Your usb stick was not shown in the df -h results. See if it works.

Bob
 
Old 03-27-2008, 07:46 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'd love to see the *complete* output of fdisk -l



Cheers,
Tink
 
Old 03-27-2008, 08:00 PM   #20
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
disk /dev/ida/c0d0: 146.8 GB, 146807930880 bytes
255 heads, 32 sectors/track, 35139 cylinders
units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks ID System

/dev/ida/c0d0p1 1 25 101984 83 Linux
/dev/ida/c0d0p2 26 505 1958400 82 Linux swap / Solar
is
/dev/ida/c0d0p3 506 35139 141306720 83 Linux

Disk /dev/sda: 1008 MB, 1008730112 bytes
16 heads, 32 sectors/track, 3848 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot start end blocks ID System
/dev/sda1 1 3848 958072 6 Fat16
[root@www]#
 
Old 03-27-2008, 08:01 PM   #21
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
There is the output for FDisk -l


I really appreciate the help that Tink and Bob are providing me.

Thanks very much
 
Old 03-27-2008, 08:08 PM   #22
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Yes, it appears that /dev/sda1 is your usb flash drive (since it FAT16 partitioned). Try mounting that with the command in my previous post. Actually, as Tinkster said, the device is actuallt sda, but your files are probably on the the first partition which is /dev/sda1.

Hope this works for you.

Bob
 
Old 03-27-2008, 08:21 PM   #23
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
I typed this....mount /dev/sda1 /mnt
NO problems.

Then I typed....cd /mnt/sda1
Problem No such file or directory
 
Old 03-27-2008, 08:23 PM   #24
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Sorry, forgot to mention, if the mount command does not work, try it this way:

Code:
mount -t vfat /dev/sda1 /mnt
Not sure whether you would get an error since the file system was FAT16.

Bob
 
Old 03-27-2008, 08:27 PM   #25
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
OK, just type:

cd /mnt

them type:

ls

see if your see sda1 listed. If you do, then type:

cd sda1

then type

ls




Bob
 
Old 03-27-2008, 08:27 PM   #26
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
I just now typed this and it says that /dev/sda1 already mounted
 
Old 03-27-2008, 08:28 PM   #27
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Do I type #:
 
Old 03-27-2008, 08:31 PM   #28
steffmark
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
OK..

I now see the files on my USB stick...

Thanks a bunch to you and Tink. I really appreciate this
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrel Could not move/copy file. File not attached mrlinux2000 Linux - Software 4 05-24-2010 04:41 AM
Accessing my grandma's comuter remotely BlahBlah_X Linux - Networking 3 10-07-2007 12:31 AM
Copy File While File is Creating in Disk suhas7860 Linux - General 4 04-03-2007 09:38 AM
copy vid tape to file and burn file to DVD jim mann Linux - Software 4 01-24-2006 10:57 PM
Is arrangement of file systems will differ if we copy a file from FAT 32 to ext 3 ? anindyanuri Linux - Software 2 02-20-2005 12:39 PM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration