NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Mounting USB drive



I know this may seem old by now, but I cannot mount a USB stick. I find how to mount a CD, DVD and even a floppy, but mounting a USB seems to allude me. Even if someone can point me to a wiki or other resource, I would appreciate it.

When I plug in the USB drive I get this in dmesg:

[ 436511.473549] umass1: Generic (0x90c) Nexcopy Device (0x1000), rev 3.00/11.00, addr 12
[ 436511.473549] umass1: using SCSI over Bulk-Only
[ 436511.483564] scsibus1 at umass1: 2 targets, 1 lun per target
[ 436511.623791] sd0 at scsibus1 target 0 lun 0: <Generic, Mass Storage, 1100> disk removable
[ 436511.633806] sd0: fabricating a geometry
[ 436511.633806] sd0: 15000 MB, 15000 cyl, 64 head, 32 sec, 512 bytes/sect x 30720000 sectors
[ 436511.633806] sd0: fabricating a geometry
[ 436511.633806] sd0: mbr partition exceeds disk size
[ 436512.635426] sd0: mbr partition exceeds disk size
[ 436512.645441] sd0: mbr partition exceeds disk size

When trying to mount I get the following:
sudo mount  /dev/sd0a /mnt/sans/
mount_ffs: /dev/sd0a on /mnt/sans: incorrect super block

sudo mount -t msdos /dev/sd0a /mnt/sans/
mount_msdos: /dev/sd0a on /mnt/sans: Invalid argument

disklabel:
# /dev/sd0:
type: SCSI
disk: Mass Storage
label: default label
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 15000
total sectors: 30720000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  30720000         0     4.2BSD      0     0     0  # (Cyl.      0 -  14999)
 d:  30720000         0     unused      0     0        # (Cyl.      0 -  14999)
disklabel: boot block size 0
disklabel: super block size 0

 ~> fdisk /dev/sd0
fdisk: Cannot determine the number of heads
Disk: /dev/sd0
NetBSD disklabel disk geometry:
cylinders: 15000, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 30720000, bytes/sector: 512

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 30720000

Partitions aligned to 2048 sector boundaries, offset 2048

Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
    start 2048, size 30922752 (15099 MB, Cyls 0-1924/249/53), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
First active partition: 0
Drive serial number: 0 (0x00000000)

Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
 





Home | Main Index | Thread Index | Old Index