Fedora Linux Support Community & Resources Center
  #1  
Old 1st January 2013, 10:24 AM
lighthouse Offline
Registered User
 
Join Date: Mar 2011
Age: 22
Posts: 85
linuxfirefox
Howto mount usb drive manually?

Dear,

I plug in my Seagate 320Gb GoFlex USB 3.0 drive in order to store my files and I have a problem - it is not accessible automatically anymore (it was before) and the following command shows the system can not see it:

Quote:
[root@mycomp myself]# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a6b6f

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 625141759 312057856 8e Linux LVM

...
// other partitions
Quote:
tail -f /var/log/messages
shows nothing. gnome-disk-utility too. I'm using Fedora 17, did recently yum update.

When I plug in the drive, the light is on and it produces some sound like if it was checking its files.

All my data (documents, photos) is stored on that drive. I need it back, please help if you can.

---------- Post added at 12:24 PM ---------- Previous post was at 11:44 AM ----------

Under Windows 7 my drive is accessible, just checked now. So the problem is in Fedora 17.

Last edited by lighthouse; 1st January 2013 at 09:27 AM.
Reply With Quote
  #2  
Old 1st January 2013, 10:29 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,053
linuxfirefox
Re: Howto mount usb drive manually?

unplug it
$ dmesg
plug it in
$ dmesg

If you see something like sdb1 then mount it like this:
$ su -
# mkdir /mnt/sdb1
# mount /dev/sdb1 /mnt/sdb1
Reply With Quote
  #3  
Old 1st January 2013, 12:16 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: Howto mount usb drive manually?

So what exactly happens when you plug it in?

Code:
tail -f /var/log/messages
If no messages appear after you plug it in then the drive isn't recognized and you cannot use it.

Try to reboot the computer, try a different usb cable and other usb ports.

Also connect the drive directly to the computer and don't use any usb hubs.

To make sure the driver is loaded:
Code:
modprobe usb_storage
Reply With Quote
  #4  
Old 2nd January 2013, 09:15 PM
lighthouse Offline
Registered User
 
Join Date: Mar 2011
Age: 22
Posts: 85
linuxfirefox
Re: Howto mount usb drive manually?

Since in Windows 7 it is fine, I'm copying files there and moving them using another working flash drive. Afterwards I want to format the problematic drive in Windows. I hope it will work in Fedora 17 again. If it will, do you know if it is possible to format disk (drive) in linux and how? I would format it in Fedora 17 to make it native for this system, though I'm a regular user without too much knowledge so my delusions about formatting are simply delusions.
Reply With Quote
  #5  
Old 2nd January 2013, 10:13 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,611
linuxfedorafirefox
Re: Howto mount usb drive manually?

Quote:
Originally Posted by lighthouse View Post
If it will, do you know if it is possible to format disk (drive) in linux and how? I would format it in Fedora 17 to make it native for this system, though I'm a regular user without too much knowledge so my delusions about formatting are simply delusions.
The Fedora 17 installer will be able to format the disk to ext4 type partition during installation. If you would prefer another tool, there is gparted (http://gparted.sourceforge.net).

You can download the little gparted image (~200 MB), burn it to a CD and partition the hard drive before installing Fedora. Either of these approaches should generally work.

Good luck!
Reply With Quote
  #6  
Old 3rd January 2013, 07:14 AM
lighthouse Offline
Registered User
 
Join Date: Mar 2011
Age: 22
Posts: 85
linuxfirefox
Re: Howto mount usb drive manually?

I need to format external hard drive first and second - I see there is no easy way to simply right click and choose 'Format Disk' like in old bad Windows
Reply With Quote
  #7  
Old 3rd January 2013, 09:01 AM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 857
linuxepiphany
Re: Howto mount usb drive manually?

If you want to use the external HD for Windows too, you should better use NTFS as filesystem. Or create several partitions, where all partitions you want to use also with Windows should have NTFS as filesystem. Otherwise ext4 is for Linux systems the most commonly used.

You can use Gparted or gnome-disk-utils to format your hard disk. Gparted is probably a bit more clear and easy to use.

so to install it:
Code:
su
yum install gparted
Reply With Quote
  #8  
Old 27th March 2013, 10:49 PM
lighthouse Offline
Registered User
 
Join Date: Mar 2011
Age: 22
Posts: 85
linuxfirefox
Question Re: Howto mount usb drive manually?

I used gparted to format my external hard drive in ext4. Now, when I want to copy-past files it says "The folder "Videos" cannot be copied because you do not have permissions to create it in the destination."

Below we can see why (root owns the drive):
Code:
[myself@baikal ~]$ cd /run/media/myself/
[myself@baikal myself]$ ls -l
total 4
drwxr-xr-x 3 root root 4096 Mar 27 18:49 SeaGate
How can I fix that and be able to copy my files whenever I plug in my drive?
Reply With Quote
  #9  
Old 28th March 2013, 02:56 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: Howto mount usb drive manually?

Try

Code:
chown -R myself.myself SeaGate
Reply With Quote
  #10  
Old 28th March 2013, 04:36 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: Howto mount usb drive manually?

Quote:
Originally Posted by george_toolan View Post
Try

Code:
chown -R myself.myself SeaGate

I see a typo there, I think the separator between the user and group is colon :

chown -R myuser:mygroup seagate


REF: "man chown"
Quote:
SYNOPSIS
chown [OPTION]... [OWNER][:[GROUP]] FILE...
chown [OPTION]... --reference=RFILE FILE...
Reply With Quote
  #11  
Old 29th March 2013, 09:45 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: Howto mount usb drive manually?

No, it's not a typo ;-)

I'm always using a single dot and it should be working with the Linux version of chown

Code:
drwxr-xr-x. 2 root    root      40 Mar 29 09:42 stunnel

# chown nobody.nobody /var/run/stunnel/

drwxr-xr-x. 2 nobody  nobody    40 Mar 29 09:42 stunnel
Reply With Quote
  #12  
Old 29th March 2013, 12:31 PM
Ahmad Samir Offline
Registered User
 
Join Date: Aug 2011
Posts: 46
linuxfirefox
Re: Howto mount usb drive manually?

From `info coreutils 'chown invocation'`:
Code:
   Some older scripts may still use `.' in place of the `:' separator.
POSIX 1003.1-2001 (*note Standards conformance::) does not require
support for that, but for backward compatibility GNU `chown' supports
`.' so long as no ambiguity results.  New scripts should avoid the use
of `.' because it is not portable, and because it has undesirable
results if the entire OWNER`.'GROUP happens to identify a user whose
name contains `.'.
(personally I've always used : ).
Reply With Quote
Reply

Tags
drive, howto, manually, mount, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto manually shutdown? docmccoy Using Fedora 1 20th June 2009 12:48 AM
HOWTO QUICK : Mount Hard Drive tvandame Hardware & Laptops 0 27th April 2006 05:08 AM
mount drive images (dd) as raid simulation: howto? jessopb Using Fedora 0 2nd February 2006 07:25 PM
USB Drive AutoDetect/Mount howto... tipaul Hardware & Laptops 4 19th June 2005 06:29 PM
Howto mount NTFS drive? tetsukun Hardware & Laptops 1 19th February 2005 12:10 AM


Current GMT-time: 09:11 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat