Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > Everything BSD
Reload this Page USB not detected/mounted by Live DesktopBSD DVD
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Everything BSD For all discussions regarding Free/NetBSD and OpenBSD.

Reply
 
Thread Tools Display Modes
Old 02-04-2008   #1 (permalink)
daacosta
Linux Newbie
 
daacosta's Avatar
 
Join Date: Sep 2005
Posts: 187
Send a message via MSN to daacosta Send a message via Yahoo to daacosta
USB not detected/mounted by Live DesktopBSD DVD

Greetings,

I have downloaded and used the live DesktopBSD but I donīt know how to mount a USB pendrive. Can somebody tell me how to do that? I have tried using the GUI for this but the USB pendrive is not detected.

Thanks!
__________________
-D-

Registered User # 402675
daacosta is offline   Reply With Quote
Old 02-04-2008   #2 (permalink)
mdnayeem
Just Joined!
 
Join Date: Jan 2008
Posts: 25
what you see when you run
lsusb
if you can see your usb device then mounting is easy
do:
mkdir /mount/usb
mount -t vfat /dev/sda1 /mnt/usb

replace sda1 with your actual parititon name on which you want to mount.
mdnayeem is offline   Reply With Quote
Old 02-04-2008   #3 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
Post the results of dmesg | grep 'da[0-9]'

What we're looking for is a device like da0, da1, etc. associated with your usb drive.

Assuming the device is da0, you'd most likely mount it this way (as root):
# mount -t msdosfs /dev/da0s1 /mnt/usb-drive

Of course you can mount it to a different directory if /mnt/usb-drive does not exist (or you can create it).

Type msdosfs is used because almost all usb drives are formatted with fat32 (or other MS compatible filesystems). The device da0s1 is used because FreeBSD normally recognizes usb drives' first slice.

You can mount as a normal user too, but some additional steps are needed (changing a sysctl MIB) and that's probably not useful on a live cd.
__________________
FreeBSD Handbook & FAQ // CentOS wiki
anomie is offline   Reply With Quote
Old 02-04-2008   #4 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
P.S. Remember to umount the drive when finished (and before pulling it out).

# umount /dev/da0s1
__________________
FreeBSD Handbook & FAQ // CentOS wiki
anomie is offline   Reply With Quote
Old 02-05-2008   #5 (permalink)
daacosta
Linux Newbie
 
daacosta's Avatar
 
Join Date: Sep 2005
Posts: 187
Send a message via MSN to daacosta Send a message via Yahoo to daacosta
Thank you very much for your help:

Code:
desktopbsd# dmesg | grep 'da[0-9]'
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Imation Nano PMAP> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 3935MB (8058880 512 byte sectors: 255H 63S/T 501C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/Nano.
desktopbsd#
So DesktopBSD sees the USB drive. Mounting it wasn't difficult either but I am not sure whether the directory I chose was fine or not /root/DesktopBSD


Quote:
Originally Posted by anomie View Post
Post the results of dmesg | grep 'da[0-9]'

What we're looking for is a device like da0, da1, etc. associated with your usb drive.

Assuming the device is da0, you'd most likely mount it this way (as root):
# mount -t msdosfs /dev/da0s1 /mnt/usb-drive

Of course you can mount it to a different directory if /mnt/usb-drive does not exist (or you can create it).

Type msdosfs is used because almost all usb drives are formatted with fat32 (or other MS compatible filesystems). The device da0s1 is used because FreeBSD normally recognizes usb drives' first slice.

You can mount as a normal user too, but some additional steps are needed (changing a sysctl MIB) and that's probably not useful on a live cd.
__________________
-D-

Registered User # 402675
daacosta is offline   Reply With Quote
Old 02-05-2008   #6 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
Quote:
Originally Posted by daacosta
... I am not sure whether the directory I chose was fine or not /root/DesktopBSD
"Traditionally" you mount external drives to a /mnt subdirectory. But what you chose is just fine. (In this case it really does not matter *.)

* Caveat: Bear in mind that the directory you mount a filesystem to will become temporarily overlaid. This is non-destructive, and the old contents will be back once you umount said filesystem.
__________________
FreeBSD Handbook & FAQ // CentOS wiki
anomie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Widescreen problem barryg Knoppix Help Forum 4 01-21-2008 08:25 PM
sound problem...hopefully simple wmoss Debian Linux Help 2 03-05-2007 02:15 PM
Sound problem: beeeeeeeeeeeeeeeeeeeep particle Peripherals / Hardware 5 03-16-2006 03:08 AM
Alsa sound help Pappa Smurf Gaming / Games / Multimedia / Entertainment 3 08-16-2005 04:25 AM


All times are GMT. The time now is 10:19 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0