Red Hat Installation - enabling USB thumb drive in FC2

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > May 2006 > enabling USB thumb drive in FC2





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author enabling USB thumb drive in FC2
Richard Vaughn

2006-05-18, 1:16 pm

Go ahead, beat me up for being at FC2...
My #1 summer project is remedying my predecessor's 'oversight'.
But until I do... how do I enable a user to use his USB drive on his
FC2 linux PC?

Here's what I'm trying:
# mount /dev/sda /mnt/usb

Here's what I get:
mount: /dev/sda is not a valid block device

???

TIA,
-Richard Vaughn

Giovanni

2006-05-18, 1:16 pm

Richard Vaughn wrote:
> Go ahead, beat me up for being at FC2...
> My #1 summer project is remedying my predecessor's 'oversight'.
> But until I do... how do I enable a user to use his USB drive on his
> FC2 linux PC?
>
> Here's what I'm trying:
> # mount /dev/sda /mnt/usb
>
> Here's what I get:
> mount: /dev/sda is not a valid block device
>


/dev/sda points to the device. Mount expects a formatted partition.

Try using /dev/sda1

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 < http://giovanni.homelinux.net/ >
Richard Vaughn

2006-05-18, 1:16 pm

Just now tried mounting /dev/sda1; same result: not a valid block
device.

Nico Kadel-Garcia

2006-05-18, 7:15 pm

Richard Vaughn wrote:
> Just now tried mounting /dev/sda1; same result: not a valid block
> device.


sda is only the device name if it's the "first SCSI device detected". USB
storage media usually, if not always, show up as SCSI devices.

FC2, hmm. Is your kernel up-to-date? After plugging in the device, what does
"fdisk -l" report? And doesn't FC2 have a "/media" directory for
semi-automatically mounting such devices?


David W. Legg

2006-05-18, 7:15 pm

Another thing to try is:

# tail -f /var/log/messages

That will show you whether your device has been detected or not.
It may show error messages.
It will also tell you whether it has been called sda or what.

Then, you need to check that there is nothing silly in /etc/fstab.


Nico Kadel-Garcia wrote:
> Richard Vaughn wrote:
>
> sda is only the device name if it's the "first SCSI device detected". USB
> storage media usually, if not always, show up as SCSI devices.
>
> FC2, hmm. Is your kernel up-to-date? After plugging in the device, what does
> "fdisk -l" report? And doesn't FC2 have a "/media" directory for
> semi-automatically mounting such devices?
>
>

frank

2006-05-19, 1:25 am

On Thu, 18 May 2006 21:22:58 +0100, David W. Legg wrote:
[vbcol=seagreen]
> Another thing to try is:
>
> # tail -f /var/log/messages
>
> That will show you whether your device has been detected or not. It may
> show error messages.
> It will also tell you whether it has been called sda or what.
>
> Then, you need to check that there is nothing silly in /etc/fstab.
>
>
> Nico Kadel-Garcia wrote:

I'd also suggest fdisk /dev/sda and if nothing's there try fdisk /dev/sdb
and note the partitions it displays.

Nico Kadel-Garcia

2006-05-19, 1:25 am

frank wrote:
> On Thu, 18 May 2006 21:22:58 +0100, David W. Legg wrote:
>
>
> I'd also suggest fdisk /dev/sda and if nothing's there try fdisk
> /dev/sdb and note the partitions it displays.


"fdisk -l" does all available storage devices, not just sda or sdb.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com