Page 1 of 1
How to install USB Memory Stick in My VMware , Linux 9.0
Posted: Fri Apr 06, 2007 4:49 pm
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
Posted: Fri Apr 06, 2007 4:59 pm
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.
Posted: Fri Apr 06, 2007 5:57 pm
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.
Posted: Sat Apr 07, 2007 11:35 am
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
Posted: Sat Apr 07, 2007 12:20 pm
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
n cheack
ls /mnt/flash
Posted: Sat Apr 07, 2007 12:24 pm
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.
In Log File no usb show.
Posted: Sat Apr 07, 2007 1:06 pm
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.
Posted: Sat Apr 07, 2007 4:20 pm
by lambda
when you typed
Code: Select all
mount -t vfat /dev/sda1 /mnt/flash
what did it say?
Its come to root# prompt.
Posted: Sat Apr 07, 2007 4:43 pm
by Saqibmalick
When if typed mount -t vfat/dev/sda1/mnt/flash
it comes to root]# prompt.
Posted: Sat Apr 07, 2007 4:47 pm
by lambda
if it returns without an error, it successfully mounted the flash disk.
Re: Its come to root# prompt.
Posted: Tue Apr 10, 2007 11:39 am
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.
Re: Its come to root# prompt.
Posted: Tue Apr 10, 2007 12:15 pm
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
Re:
Posted: Sat Apr 14, 2007 8:18 am
by LinuxFreaK