LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 11-15-2003, 03:21 PM   #1
alkad_mzu
Member
 
Registered: Jul 2003
Location: New York
Distribution: Freebsd 6.2,slackware 12.0
Posts: 48

Rep: Reputation: 15
how can I mount this device: da0: <USB 2.0 Storage Device


hello--- freebsd 5.1
I used this cocktail to mount my cdrom
code:
#mount -t 9660 /dev/acd0 /cdrom
this worked fine. it's a cdrw but ill make the appropriate changes later.
for now all I want to do is access files previously burned on xp.

heres the question:
how can I mount this device:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB 2.0 Storage Device 0100> Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 38146MB (78125000 512 byte sectors: 255H 63S/T 4863C)

its a 40 gig western digital IDE hard drive encased in a ide to usb 2.0 case
the da0 info is a cut out of info I got from the dmesg command.
I normally like to cut and paste error messeges in to the freebsd.org search engine.
in my opinion it's the only way to go. I learned how to mount cdrom without having to log
into any graphical interfaces as root and use kwikdisk. this became very important to me because after I loaded agp and nvidia .ko into my kernel and loaded nvidia drivers with 3d acceleration, I have never been able to get KDE or gnome to work under root. window maker and afterstep work fine for root. Gnome, KDE and everything else work fine for users.

so I type:
mount /dev/da0 /mnt/da0
and I got this message:
mount: /dev/da0 on /mnt/da0: incorrect super block
I pasted this messege into freebsd.org and browsed the results.
I did alittle brain work and this what I did....
code:
#su(password)
#cd /boot/kernel
#ls
(located umass.ko)- every diagnostics step that I have taken has identified my usb drive as umass.
#kldload umass
I accidentally typed kldload umass instead of kldload umass.ko so I inputted it
correctly and when I did this I got a message that said:
kldload: can't load umass.ko: File exists.
This lead me to believe that it makes no difference if you include the".ko" or don't.
please correct me if I'm wrong, im interested.

I also want to access my usbdrive with out having to wipe it out.
I read in the past that freebsd doesn't like to mount preformatted filesystem.
if anyone has any experience with large size usb 2.0 drive please share the wealth
thank thanks.
 
Old 11-15-2003, 05:48 PM   #2
Arvoreen
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
If the disk is partitioned, you should see some further messages in the log. Look for something like this:

GEOM: new disk da0
[0] f:80 type:165 s(CHS): 0/1/1 e(CHS):521/224/63 s:63 l:8385867
....
GEOM: Configure da0s1, start 32256, length 42393563904 end 42935391659

GEOM: Configure d0s1b, start 0 length 536870912 end 536870911

And so forth.

At any rate, you can also check out /dev. You should see entries like this
/dev/da0
/dev/da0s1
/dev/da0s1b
/dev/da0s1c
/dev/da0s1e


What you will eventually want to mount is /dev/da0s1e, or whichever partition actually has your data on it. Then, you also need to know what the filesystem is on the partition. Assuming it is FAT (or FAT32), you could then mount as follows:

mount -t msdosfs /dev/da0s1e /<some directory>

Where <some directory> is an empty directory. On possiblity, do the following:

mkdir /winxp
mount -t msdosfs /dev/da0s1e /winxp

If the filesystem is NTFS, then I think you want to substitue as follows:

mount -t ntfs /dev/da0s1e /winxp

But I'm not 100% sure that NTFS is supported fully.
 
Old 11-15-2003, 07:15 PM   #3
alkad_mzu
Member
 
Registered: Jul 2003
Location: New York
Distribution: Freebsd 6.2,slackware 12.0
Posts: 48

Original Poster
Rep: Reputation: 15
thanks for the reply
i tried mount -t dosfs /dev/da0 /mnt/da0 and i got "device is busy"
ive never partitioned the disk under freebsd
the disk usually just shows up when i plug it into a linux box.
i checked in /dev and i saw da0 but nothing else
i also tried to deal with the usb drive through /stand/sysinstall (fdisk)
create slice/ choose type= 6 (for dos fat) when i try to write the changes
i get an error messege that sais (segmentation fault core dumped)
i dont want to have to wipe the drive clean and freshly introduce it to the unix file system but if it easier i'll do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 08:32 AM
usb storage device R++ Linux - Hardware 7 04-11-2005 03:38 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 04:52 AM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 12:13 PM
Errors trying to mount USB Mass Storage Device Ctawp Linux - Hardware 7 12-04-2003 02:32 AM


All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration