mounting usb

Page 1 of 1

2 Replies - 1991 Views - Last Post: 04 June 2007 - 05:54 PM

#1 tabraizanwer   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-April 07

mounting usb

Posted 30 April 2007 - 01:13 AM

HI,
I am using linux red hat 9 in vmware. I am facing difficulty to mount USB in RedHat.
How i can Know that usb is detect on which sd??
When I use command (mount /dev/sda1 /mnt/usb )
linux is mounting Root Drive

Can anyone have solution of this problem..?
remember Linux is installed in VMWARE..?
Is This A Good Question/Topic? 0
  • +

Replies To: mounting usb

#2 GWatt   User is offline

  • member icon

Reputation: 312
  • View blog
  • Posts: 3,107
  • Joined: 01-December 05

Re: mounting usb

Posted 30 April 2007 - 07:31 PM

The command is usually sudo mount /dev/sda /media/usb you might have to create the directory /media/usb first. Or /mnt/usb if that's what you want to use.
Was This Post Helpful? 0
  • +
  • -

#3 regret   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-June 07

Re: mounting usb

Posted 04 June 2007 - 05:54 PM

You'll want to find out what files system you are looking at too. For instance, my USB Drive is a vfat filesystem (Fat-32), so I added this line to my /etc/fstab file:

/dev/sda5 /media/usbdisk vfat defaults 0 0

then run this command in your terminal
mkdir /media/usbdisk

Now, whenever you reboot your computer, your fstab file will automatically try to mount this drive to the /media/usbdisk folder. or you could do a 'mount -a' as root and mount it would rebooting.

This should work just fine for VMWare install linux distros.

This post has been edited by regret: 04 June 2007 - 05:56 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1