LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-21-2010, 03:29 AM   #1
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Rep: Reputation: 0
Can't transfer files or directories


I have installed external hard drive to my computer running
Ubuntu 9.10 took a while to format it,but I just can not transfer
files or directories,any help would be appreciated.
Thanks Frank
 
Old 05-21-2010, 03:37 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Does it have a entry in /etc/fstab? If so what does it look like? How did you mount it?

How are you trying to transfer files? What happens when you do that?
 
Old 05-22-2010, 02:45 AM   #3
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Hard drive mounted on desktop /dev/sbd1/
when I double click on it, it will come up
with "Folder Browser"with subfolders
Catalod,Internal,Lost+founde,Pending
if I try to save something to /dev/sbd1
It will come up with the following message
unable to savemessage please check your file
name and try again later.
Thanks Frank
 
Old 05-22-2010, 04:21 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
What does the mount command show when it is mounted? What happens if you try to create a file on it with a simple name like test.txt?
 
Old 05-22-2010, 02:00 PM   #5
fuubar2003
Member
 
Registered: May 2004
Location: Orlando, Florida
Distribution: SLES10/11, RH4/5 svrs, Fedora, Debian/Ubuntu/Mint; FreeBSD/OpenBSD
Posts: 63

Rep: Reputation: 26
Can you paste the exact error you receive because the error you posted cannot be correct. Are you able to copy a file via commandline? Can you create a new file on the new volume via:
# touch testfile
 
Old 05-23-2010, 06:21 AM   #6
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Hard drive mounted on desktop /dev/sbd1/
when I double click on it, it will come up
with "Folder Browser"with subfolders
Catalod,Internal,Lost+founde,Pending
if I try to save something to /dev/sbd1
It will come up with the following message
unable to savemessage please check your file
name and try again later.
Thanks Frank
This is the message comes up when I try to save a file
media/_dev_sdb1_/search-html_files/MyListsIFrame.html could not be saved,
because an unknown error occurred.
Try saving to a different location.
 
Old 05-23-2010, 08:08 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by fcvc10 View Post
media/_dev_sdb1_/search-html_files/MyListsIFrame.html could not be saved,
because an unknown error occurred.
This is not going to be easy. It may be caused by hardware problems, file system corruption or ... we don't know yet. You will have to give us a lot of information to help us to analyse the problem to help you. Some of the questions may seem irrelevant, maybe even annoying. Some of the answers may turn out not to be needed in the end.

Are you OK at the command line? All the information given so far seems to come from the graphical environment.
 
Old 05-24-2010, 01:01 AM   #8
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
About your question
Are you OK at the command line?
Not sure what are you getting at
Thanks Frank
 
Old 05-24-2010, 02:48 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by fcvc10 View Post
About your question
Are you OK at the command line?
Are you OK with starting a terminal and typing in commands at the prompt?
 
Old 05-24-2010, 05:30 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Methinks if it's showing as /dev/sdb1 on the desktop, it is not mounted. Try
cat /etc/mtab
which shows you currently mounted disks. To mount it manually
sudo mount .dev/sdb1 /mnt/somewhere - and somewhere must exist as a directory
 
Old 05-25-2010, 01:36 AM   #11
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
frank@frank-desktop:~$ sudo mount .dev/sdb1 /mnt/
mount: special device .dev/sdb1 does not exist
frank@frank-desktop:~$

No luck so far.
 
Old 05-25-2010, 01:43 AM   #12
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Are you OK with starting a terminal and typing in commands at the prompt?
The answer is yes
Frank.
 
Old 05-25-2010, 01:52 AM   #13
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by fcvc10 View Post
frank@frank-desktop:~$ sudo mount .dev/sdb1 /mnt/
mount: special device .dev/sdb1 does not exist
There was a typo in business_kid's post. It should have been
Code:
sudo mount /dev/sdb1 /mnt/
Assuming you are happy to run commands at the command prompt, what is the output of
Code:
/bin/ls -l /dev/sdb*
sudo fdisk -l /dev/sdb
cat /etc/fstab
sudo mount dev/sdb1 /mnt/
mount
sudo df -hT
/bin/ls -al /mnt
touch /mnt/testfile
sudo touch /mnt/testfile
id
sudo id
 
Old 05-26-2010, 02:15 AM   #14
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
frank@frank-desktop:~$ /bin/ls-l /dev/sdb1
bash: /bin/ls-l: No such file or directory
frank@frank-desktop:~$ sudo fdisk -l /dev/sdb
frank@frank-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=4ba59f3b-7bb8-445e-ac95-e9374ca6fdec / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=bd7f5d85-b932-49a2-b1f4-f118f9df1209 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
frank@frank-desktop:~$ sudo mount dev/sdb1 /mnt/
mount: special device dev/sdb1 does not exist
frank@frank-desktop:~$ mountsudo df -hT
mountsudo: command not found
frank@frank-desktop:~$ /bin/ls -al /mnt
total 12
drwxr-xr-x 3 root root 4096 2010-05-26 17:04 .
drwxr-xr-x 24 root root 4096 2010-05-19 16:41 ..
-rw-r--r-- 1 root root 0 2010-05-26 17:04 testfile
drwxr-xr-x 2 root root 4096 2010-05-19 18:06 usbdrive
frank@frank-desktop:~$ touch /mnt/testfilesudo touch /mnt/testfile
touch: cannot touch `/mnt/testfilesudo': Permission denied
touch: cannot touch `/mnt/testfile': Permission denied
frank@frank-desktop:~$ id
uid=1000(frank) gid=1000(frank) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(frank)
frank@frank-desktop:~$ sudo id
uid=0(root) gid=0(root) groups=0(root)
frank@frank-desktop:~$
 
Old 05-26-2010, 02:22 AM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
You are missing some spaces in some of the commands you are typing: eg

Code:
sudo mount
not
Code:
sudomount
and
Code:
ls -l
not
Code:
ls-l
Please repeat the commands (without typos) requested by catkin.

Cheers,

Evo2.
 
  


Reply



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
Copying files and sub-directories of a directory except the directories named ".abc" sri1025 Linux - General 2 08-24-2010 08:53 AM
Sort files in directories based on the files date... CharlieMike73 Programming 5 09-09-2009 10:04 PM
Creating a script to move or copy files into multiple directories below the files matthes138 Linux - Newbie 5 08-25-2009 04:57 PM
Batch files to execute and transfer files via sftp cm67 Linux - General 5 08-13-2009 09:59 AM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration