How to install USB Memory Stick in My VMware , Linux 9.0

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
Saqibmalick
Cadet
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
Location: Karachi
Contact:

How to install USB Memory Stick in My VMware , Linux 9.0

Post by Saqibmalick »

Assalamoalekum,

I need help to install USB Memory Stick in my VMware , Linux 9.0 install in it. In my folder /proc/bus/ no usb folder find.

How to install it.

Regards,

Saqib Malick
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

redhat 9 is obsolete. you might be able to get it to work by typing

Code: Select all

modprobe usbcore
modprobe usb-storage
modprobe usb-uhci
modprobe usb-ohci
plug in the disk, and type "dmesg" to see if it's detected.

you really should upgrade to something newer. i recommend ubuntu.
zaigham_tt
Havaldaar
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Contact:

Post by zaigham_tt »

Dear,

Follow these steps.

Insert your USB in USB Port and type below command.

# dmesg | grep sd[a-b]

You will get output like this.

Code:
sda: sda1
sdb: sdb1


If you got sda: sda1 then you can use these commands.

# mkdir -p /mnt/flash
# mount -t vfat /dev/sda1 /mnt/flash

If you got sda: sdb1 then you can use these commands.

# mkdir -p /mnt/flash
# mount -t vfat /dev/sdb1 /mnt/flash

Best Regards.
Saqibmalick
Cadet
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
Location: Karachi
Contact:

Post by Saqibmalick »

Dear zaigham_tt,

Assalamoalekum,

Thanks for give me your valuable time.

I use these code and sda1 come as output when i typed this command
# dmesg | grep sd[a-b]
and after that I used this command
# mkdir -p /mnt/flash
# mount -t vfat /dev/sda1 /mnt/flash
but when I typed
# ls proc/bus/
there is no USB folder found

What should I do?

Wassaalm,

Saqib Malick
zaigham_tt
Havaldaar
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Contact:

Post by zaigham_tt »

Dear saqibmalick,
1st of all u open.
tail -f /var/log/messages
then insert ur Usb Stick. if log files shows that ur usb is detected. then apply my formula :lol:
n cheack
ls /mnt/flash
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

Saqibmalick wrote:# mount -t vfat /dev/sda1 /mnt/flash
did it work?

if yes, then all the files are in /mnt/flash. remember to type "umount /mnt/flash" before unplugging it. if no, then tell us the error.
# ls proc/bus/
there is no USB folder found
why do you care about /proc/bus? if your files are in /mnt/flash, you're set.
Saqibmalick
Cadet
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
Location: Karachi
Contact:

In Log File no usb show.

Post by Saqibmalick »

I use both command but did not find usb in log file
and File in /mnt/flash

when is use flash]# ls at this prompt.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

when you typed

Code: Select all

mount -t vfat /dev/sda1 /mnt/flash
what did it say?
Saqibmalick
Cadet
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
Location: Karachi
Contact:

Its come to root# prompt.

Post by Saqibmalick »

When if typed mount -t vfat/dev/sda1/mnt/flash

it comes to root]# prompt.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

if it returns without an error, it successfully mounted the flash disk.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Its come to root# prompt.

Post by LinuxFreaK »

Dear Saqibmalick,
Salam,
Saqibmalick wrote:When if typed mount -t vfat/dev/sda1/mnt/flash
it comes to root]# prompt.
You should type following command to make sure your USB is mounted.

# fdisk -l
# df -h
# mount


Best Regards.
Farrukh Ahmed
Saqibmalick
Cadet
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
Location: Karachi
Contact:

Re: Its come to root# prompt.

Post by Saqibmalick »

Dear Farrukh,

Assalamoalekum,

I am novice in Linux, and just want to start learngin to install VMware Virtual machine on my Windows XP.

I have 128 MB Kingston USB Memory Stick, I want to use it on VMware Virtual machine, Red Hat Linux 9.0 install on it, how i mount USB memory stick?

When i typed your cmd the result is here:

# fdisk -l
command not found
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 7.5G 1.6G 5.5G 23% /
/dev/sda1 99M 9.3M 85M 10% /boot
none 78M 0 78M 0% /dev/shm

# mount
/dev/sda2 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

Thats all,

Regards,

Saqib
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Saqibmalick,
Salam,

FYI, http://kb.vmware.com/selfservice/micros ... rnalId=774

Best Regards.
Farrukh Ahmed
Post Reply