• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

USB flash memory to RedHat 8.0

I added the above to a USB port.  I did not see a drive letter or something a ppers as it dows on windows operating systems.  Are there additional steps need ed to install this?


1 Solution
check your /dev/ it will probably show as /dev/sda
unless you already have scsi items

create line for it in fstab

create directory to mount into

mount /mnt/directtomountinto
Check out
Yeah it for RH 9.0 but it should still work
Do dmesg and look for the fake SCSI interface for "usb mass storage". Unless you have some other scsi it'll become /dev/sda... These things rarely use any partitioning scheme, so you usually mount the /dev/sda device directly... something like
mount /dev/sda /mnt/flash
Now, the flash directory will not be there, and you need it as a mountpoint, so do
mkdir /mnt/flash
before trying to mount it the first time. Also note that we don't specify any filesystem type or mount options, but rather try with the defaults (autodetect fs type and mount r/w)... You might need help with that too:-).

Very important:
before removing the flash, remember to _always_ unmount it. You do that with
umount /dev/sda

... Now, don't take /dev/sda for granted, check the dmesg output first (after inserting it).

-- Glenn
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

first do:

modprobe usb-storage

then do mount /dev/sda /mnt/flash
RH8 don't have hotplug installed xDamox? Perhaps a good thing if so:).

-- Glenn

Linux commands in sequence for the first time.
Later on, use only mount command

> modprobe usb-storage
> mkdir /mnt/usb
> mount /dev/sda /mnt/usb
> ls /mnt/usb

This should work and your USB data should be visible in /mnt/usb.

If it doesn't, then launch hardware browser:
> hwbrowser &

This will show you what device your storage is on. /dev/sda, /dev/hde. etc.
Remember /dev/hda is your primary HDD.

You will require your root password with mount and hwbrowser.
khybermanAuthor Commented:
Thanks all.  It works now.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now