getting started with linux

Reply

Join Date: Aug 2009
Posts: 1
Reputation: ria mishra is an unknown quantity at this point 
Solved Threads: 0
ria mishra ria mishra is offline Offline
Newbie Poster

getting started with linux

 
0
  #1
Aug 3rd, 2009
how to mount cd's and pendrives in linux?
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 24
Reputation: Asafe is an unknown quantity at this point 
Solved Threads: 3
Asafe's Avatar
Asafe Asafe is offline Offline
Light Poster

Re: getting started with linux

 
0
  #2
Aug 3rd, 2009
First, which distro are you using? Ubuntu, and I think the most of them, automagically mount cd's and pen drives. If not, there's the mount comand.
Always code as if your client were a maniac seriall killer who knows where you live.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 19
Reputation: icyshout is an unknown quantity at this point 
Solved Threads: 1
icyshout icyshout is offline Offline
Newbie Poster

Re: getting started with linux

 
0
  #3
Aug 3rd, 2009
mount -t iso9660 /dev/hdc /media/cdrom0/
thats an example of mounting a cd manually.

mount /dev/sda1 /mnt/usbflash
thats an example of mounting a flashdrive...

both examples could be silghtly different depending on your system and what kind of filesystem exist on the flashdrive.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 24
Reputation: ThinkFree is an unknown quantity at this point 
Solved Threads: 3
ThinkFree ThinkFree is offline Offline
Newbie Poster

Re: getting started with linux

 
0
  #4
Aug 5th, 2009
mount /dev/sda1 /mnt/usbflash
Will work only if entry is there for /dev/sda1 in /etc/fstab . And generally, USB drive will be assigned /dev/sdb1
Better way will be to use
mkdir /media/flash
mount -t auto /dev/sdb1 /media/flash/
Now it will be shown on desktop as well as side panel in nautilus(If using gnome)
Last edited by ThinkFree; Aug 5th, 2009 at 2:06 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 2
Reputation: stevehudson is an unknown quantity at this point 
Solved Threads: 0
stevehudson stevehudson is offline Offline
Newbie Poster

Re: getting started with linux

 
0
  #5
Aug 29th, 2009
Most Linux distributions automatically detect thumb drive or any usb drive when you plugged it in the computer's usb port. It's the same for cd or dvd. You can check with 'cat /proc/scsi/scsi ' to see if thumb drive is detected.

To see what the thumb drive mount point is, issue this command:
dmesg | grep sd

For cd or dvd drive, replace 'sd' with 'hd' or 'cdrom'.

To mount a thumb drive:
mount -t vfat /dev/sdb1 /mnt/memory

Replace 'sdb1' with your usb or cdrom drive mount point and '/mnt/memory' to where ever you want to mount the drive.

If you are using Ubuntu desktop, no permission needed. That means you can use the device right away after it's been plugged in (of course after it's been detected) .

Reference:
How to mount and unmount usb drive or thumb drive in Linux
Last edited by stevehudson; Aug 29th, 2009 at 1:25 pm.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Getting Started and Choosing a Distro Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC