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

Discussion regarding the installation and configuration of Linux distributions.

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

Postby Saqibmalick » Fri Apr 06, 2007 4:49 pm

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
Saqibmalick
Cadet
 
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
WLM: saqibmalick@hotmail.com
Yahoo Messenger: saqibmalick@yahoo.com
Location: Karachi

Postby lambda » Fri Apr 06, 2007 4:59 pm

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.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby zaigham_tt » Fri Apr 06, 2007 5:57 pm

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.
zaigham_tt
Havaldaar
 
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Website: http://www.programming-world.4t.com

Postby Saqibmalick » Sat Apr 07, 2007 11:35 am

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
Saqibmalick
Cadet
 
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
WLM: saqibmalick@hotmail.com
Yahoo Messenger: saqibmalick@yahoo.com
Location: Karachi

Postby zaigham_tt » Sat Apr 07, 2007 12:20 pm

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
zaigham_tt
Havaldaar
 
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Website: http://www.programming-world.4t.com

Postby lambda » Sat Apr 07, 2007 12:24 pm

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.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

In Log File no usb show.

Postby Saqibmalick » Sat Apr 07, 2007 1:06 pm

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.
Saqibmalick
Cadet
 
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
WLM: saqibmalick@hotmail.com
Yahoo Messenger: saqibmalick@yahoo.com
Location: Karachi

Postby lambda » Sat Apr 07, 2007 4:20 pm

when you typed

Code: Select all

mount -t vfat /dev/sda1 /mnt/flash
what did it say?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Its come to root# prompt.

Postby Saqibmalick » Sat Apr 07, 2007 4:43 pm

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

it comes to root]# prompt.
Saqibmalick
Cadet
 
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
WLM: saqibmalick@hotmail.com
Yahoo Messenger: saqibmalick@yahoo.com
Location: Karachi

Postby lambda » Sat Apr 07, 2007 4:47 pm

if it returns without an error, it successfully mounted the flash disk.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Re: Its come to root# prompt.

Postby LinuxFreaK » Tue Apr 10, 2007 11:39 am

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Re: Its come to root# prompt.

Postby Saqibmalick » Tue Apr 10, 2007 12:15 pm

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
Saqibmalick
Cadet
 
Posts: 14
Joined: Mon Jan 15, 2007 12:03 pm
WLM: saqibmalick@hotmail.com
Yahoo Messenger: saqibmalick@yahoo.com
Location: Karachi

Re:

Postby LinuxFreaK » Sat Apr 14, 2007 8:18 am

Dear Saqibmalick,
Salam,

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

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron