LinuxQuestions.org
Visit Jeremy's Blog.
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 11-07-2006, 05:17 PM   #1
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Rep: Reputation: 15
usb HDD (vfat) not visible fc6


HI people,
I have a segate 160 gig usb external HDD which FC5 saw no problem, so I backed up to it prior to a clean install FC6 which doesn't show it. So if anyone can help here goes:
[root@localhost vin]# uname -r
2.6.18-1.2798.fc6

[root@localhost vin]# /sbin/lsusb
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 003: ID 05ac:120a Apple Computer, Inc.
Bus 003 Device 002: ID 0bc2:0502 Seagate RSS LLC
Bus 001 Device 001: ID 0000:0000

[root@localhost vin]# /sbin/fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 14593 117218241 7 HPFS/NTFS

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 9729 78043770 8e Linux LVM

Disk /dev/sda: 2047 MB, 2047868416 bytes
255 heads, 63 sectors/track, 248 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 80293+ 0 Empty
/dev/sda2 * 11 248 1911732 b W95 FAT32

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19455 156272256 c W95 FAT32 (LBA)

[root@localhost vin]# dmesg (abbreviated output)
sdb: Mode Sense: 10 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
sdb: Write Protect is off

you can see both the seagate and the nano are present
the nano shows up on the desktop (& /media) but no sign of the HDD. Hope someone can help I've looked everywhere to avoid repeating a thread.
Thanks.
ps for the moment I have disabled Selinux also.
 
Old 11-09-2006, 03:47 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
have you tried mounting it with the user mount tool?
 
Old 11-09-2006, 07:11 AM   #3
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
I'll try after work thanks. Does it need to be listed in fstab because I'm sure it isn't? didn't know about this tool, just googled it now
 
Old 11-09-2006, 07:14 AM   #4
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
also found this site which might be helpful
http://www.its.monash.edu.au/staff/s...-fc1.html#faq6
 
Old 11-09-2006, 04:40 PM   #5
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
Hi Simon,
Well finally I have met with some success although I can't locate the "user mount tool" on my system, can you help?
I used the command
mount -t vfat /dev/sda1 /mnt

before that I tried

mount -t vfat /dev/sda1 /mnt/usb (a directory I'd created earlier but it didn't show?

now I have to edit my fstab in such a way that it will mount automatically and/or hotplug. and show on my desktop as my nano does.

but at least I can get my backup files off the works hard drive!

will post if successful anytime before the early hours.
 
Old 11-11-2006, 04:13 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
FC6 uses udev - so you shouldn't need an fstab entry to get this to show up.

Unfortunately I havn't used fedora in a while, so I've forgotten exactly where the user mount tool is... it should be in a submenue off the main menue (the hat menue) ... it'll be hidden among the other tools and daemons, like the Network Device Control and the Internet Configuration Wizard. When I had FC4 up and running, I had dragged the tool to my desktop.

Anyway - you can mount the thing OK ... this means that the system is seeing it. You need it to be automounted when you plug it in.

http://floatingsun.net/articles/howt...automount.html
http://www.kernel.org/pub/linux/util...tplug/udev-FAQ
http://linux.derkeiler.com/Mailing-L...5-10/3878.html
... you get the idea?
 
Old 11-14-2006, 06:05 PM   #7
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
Hi Simon
Following the 1st link you gave I was reading the article on udev and came across this in udev/rules.d/50-udev.rules. what do you you think? I haven't time to try the script tonight looks like I'll have to wait a couple of days.

#######################################
# Persistent block device stuff - begin
#######################################
# persistent disk links: /dev/disk/{by-id,by-uuid,by-label,by-path}
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>

ACTION!="add", GOTO="persistent_end"
SUBSYSTEM!="block", GOTO="persistent_end"

# skip rules for inappropriate block devices
KERNEL=="ram*|loop*|fd*|nbd*|gnbd*", GOTO="persistent_end"

# never access removable ide devices, the drivers are causing event loops on open()
BUS=="ide", DRIVER!="ide-cdrom", SYSFS{removable}=="1", GOTO="persistent_end"
BUS=="ide", KERNEL=="hd*[0-9]", SYSFS{../removable}=="1", GOTO="persistent_end"

# by-id (hardware serial number)
KERNEL=="hd*[!0-9]", IMPORT{program}="/lib/udev/ata_id --export $tempnode"
KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"

KERNEL=="sd*[!0-9]|sr*", SYSFS{ieee1394_id}=="*", ENV{ID_SERIAL}="$sysfs{ieee1394_id}", ENV{ID_BUS}="ieee1394"
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/usb_id -x"
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -s %p -d $tempnode"
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -a -s %p -d $tempnode"
KERNEL=="dasd*[!0-9]", IMPORT{program}="/lib/udev/dasd_id --export $tempnode"
KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"

# for partitions import parent information
KERNEL=="sd*[0-9]|dasd*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"

# by-path (shortest physical path)
KERNEL=="*[!0-9]|sr*", ENV{ID_TYPE}=="?*", IMPORT{program}="/lib/udev/path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"
KERNEL=="sr*", GOTO="persistent_end"
KERNEL=="*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"

# by-label/by-uuid (filesystem properties)
KERNEL=="*[!0-9]", SYSFS{removable}=="1", GOTO="persistent_end"
IMPORT{program}="/lib/udev/vol_id --export $tempnode"
ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"

# BIOS Enhanced Disk Device
KERNEL=="*[!0-9]", IMPORT{program}="/lib/udev/edd_id --export $tempnode"
KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"

LABEL="persistent_end"

#####################################
# Persistent block device stuff - end
#####################################


Regards

Vinny
 
Old 11-15-2006, 01:01 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You're on the right track - personally, the last fedora I used was FC4 and it would mount usb storage devices when they are plugged in without trouble - and a wee icon would appear in gnome desktop.

I have read of SUSE 10.1 refusing to let normal users mount any partition/filesystem not listed in /etc/fstab ... but not fedora.
 
Old 01-05-2007, 08:25 AM   #9
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
Hi Simon
Well I treated myself to a new porsche, well a 250GB HDD apparently designed by porsche. Personally I'm thinking they could consider changing their core business LOL. I formatted it 50%, NTFS/ext3 so now I can see ext3 but still not the other. Hopefully "her indoors" permitting, I'll get to play with my "udev/rules.d/50-udev.rules" or other.

Hope your Christmas was good and your this next Year will be wonderful.
 
Old 01-06-2007, 06:02 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
yup, you have to explicitly load rules for the ntfs partition. Why not format it fat32 instead?

Are you sure porche designed the drive or just the case? You got a LaCie? Nice...
 
Old 01-06-2007, 02:52 PM   #11
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, you got me it's a lovely LaCie in a prsche box , I was just a bit giddy LoL. Had a bit of a scare when I couldn't see hda(my NTFS partition). Last update? Anyway a bit of fishing got me to a problem with fuse not having the Latest release, via those good folks at ntfs-3g. Well, guess what? I've been thinking it was a bout time I tried some compiling and thats exactly what was required. Worked first time (Giddy again).

To be honest your probably right I only use it to back up. I assume if I use the mount command it is possible to format the partition from fedora OR can I do the whole thing ext3 and back up using fedora? excluding settings ofcourse. Scrub that last lot I just tried that with
"mount -t vfat /dev/sda1 /mnt" changing vfat for ntfs and get
"
[root@localhost vin]# mount -t ntfs /dev/sda1 /mnt
mount: unknown filesystem type 'ntfs'
"

hmmm!
 
Old 01-06-2007, 04:47 PM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
[root@localhost vin]# mount -t ntfs /dev/sda1 /mnt
mount: unknown filesystem type 'ntfs'
Fedora no longer ships with the ntfs kernel module.
Code:
# yum install kmod-ntfs
Have a look at www.fedorafaq.org (for FC5 still, but informative nonetheless).
Suggest also a read through the install notes at www.mjmwired.net

However - if you want to reformat the drive/partition, you use fdisk ...

Last edited by Simon Bridge; 01-06-2007 at 04:49 PM.
 
Old 01-08-2007, 07:28 AM   #13
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
Will

# yum install kmod-ntfs

conflict/affect ntfs-3g and fuse installation?

been to the faq before but it's amazing how informative they still are (I have to admit I tend to forget the fedora faq)

I also forgot about using fdisk (I'm not a native command liner, amongst the many things I'm not).

Probably get to try tonight after work.
Thanks.
 
Old 01-08-2007, 08:43 AM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
conflict/affect ntfs-3g and fuse installation?
Well here's something I didn't know about... ntfs-3g gives read-write support for ntfs file systems!
http://www.die.net/doc/linux/man/man8/ntfs-3g.8.html

ntfs-3g device mount_point [-o options]

So you want to do:

ntfs-3g /dev/sda1 /mnt

(Sorry about this. I never use windows these days you see, and ... <fades>)
 
Old 01-09-2007, 10:41 AM   #15
vinster
LQ Newbie
 
Registered: Apr 2005
Location: Manchester, UK
Distribution: Fedora & Salckware
Posts: 25

Original Poster
Rep: Reputation: 15
ha ha, yes,
I find ntfs-3g works really well no problems so far. Interesting sight you came across. excuse my ignorance but

ntfs-3g /dev/sda1 /mnt

would be an fstab entry to give something like

mount ntfs-3g /dev/sda1 /mnt/usb

?
by the way I noted you like RPGs, well since then ONLY reason I dual boot XP is the odd game, Which do you use?
Thanks...
 
  


Reply

Tags
drive, ext, hard, usb



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
Installing and Booting FC6 from a USB Drive kslagerman Fedora 1 11-02-2006 10:04 PM
FC6 beta3 upgrade to Final FC6 thyraios Fedora 1 09-18-2006 07:55 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 10:03 AM
making vfat visible in red hat sweet*amber Linux - Newbie 6 04-28-2004 08:36 AM
2nd/3rd USB ports not visible to Mandrake ncabell Linux - Newbie 3 03-31-2004 05:17 PM

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

All times are GMT -5. The time now is 01:40 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