ts-7000
[Top] [All Lists]

[ts-7000] Re: Help with mounting USB flash

To:
Subject: [ts-7000] Re: Help with mounting USB flash
From: "Dan" <>
Date: Tue, 22 Nov 2005 13:38:37 -0000
Thanks Jim, I guess I need to be a bit clearer. Im not trying to boot
from USB flash (so I don't want a debian image on it), I just want to
mount a USB drive so I can read/write files. Its a 1 GB Sandisk (if
that matters) and I use it regularly between about 6 machines of
assorted Linux and Windows flavors, no problems. I mount it on my
laptop with:

mount -t vfat /dev/sda1 /mnt/flash
And all is well. 

Im booting my TS7200 from compact flash with debian (as opposed to
TS-linux on internal flash). 

On the Ts-7200:

fdisk -l /dev/scsi/host0/bus0/target0/lun0/  

returns NOTHING.
>From my laptop: 

fdisk -l /dev/sda1 (on my laptop) 

says this: 

Disk /dev/sda1: 1023 MB, 1023809024 bytes
32 heads, 63 sectors/track, 991 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

     Device Boot      Start         End      Blocks   Id  System
/dev/sda1p1   ?      835792     1680037   850999312   6c  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(368, 82, 37) logical=(835791, 12, 13)
Partition 1 has different physical/logical endings:
     phys=(357, 97, 35) logical=(1680036, 23, 23)
Partition 1 does not end on cylinder boundary.
/dev/sda1p2   ?      991378     1261272   272052916   6e  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(97, 115, 32) logical=(991377, 14, 20)
Partition 2 has different physical/logical endings:
     phys=(107, 121, 32) logical=(1261271, 6, 51)
Partition 2 does not end on cylinder boundary.
/dev/sda1p3   ?      267356      534705   269488144   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(356, 101, 33) logical=(267355, 10, 52)
Partition 3 has different physical/logical endings:
     phys=(0, 13, 10) logical=(534704, 21, 62)
Partition 3 does not end on cylinder boundary.
/dev/sda1p4   ?      691773      691784       10668+  53  OnTrack DM6 Aux3
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(333, 89, 19) logical=(691772, 30, 63)
Partition 4 has different physical/logical endings:
     phys=(339, 68, 15) logical=(691783, 17, 42)
Partition 4 does not end on cylinder boundary.


Once (and only once) when I first tried to mount my USB flash on my
TS7200, I got it to work with:

mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/flash 

Maybe I didn't umount it before removing it or rebooting. I don't
know. Im assuming that /dev/scsi/host0/bus0/target0/lun0/part1 was
partition 1 on my USB memory stick (as the TS7200 sees it). I have no
idea what type of partition 6C is nor why I didn't see part2, part3 or
part4 and why part1 (or anything) isn't there now. Its like the USB
driver recognozes its a USB memory stick but doesn't recognise the
partition types. 

Dan

--- In  Jim Jackson <> wrote:
>
> On Tue, 22 Nov 2005, Dan wrote:
> 
> > How do I mount a 1 GB USB flash device in the TS-7200 (booting Debian
> > from compact flash)? I swear that this worked ONCE:
> >
> > mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/flash
> 
> If you have the debian image on there, then surley the filesystem is
ext2?
> 
> mount -t ext2 /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/flash
> 
> > But not anymore.  Now I get this message consistently:
> >
> > mount: special device /dev/scsi/host0/bus0/target0/lun0/part1 does not
> > exist
> 
> see below.......
> 
> >
> > What happened, or was it just my imagination that it worked?
> >
> > When I boot (without the USB memory stick in place) then there is no
> > /dev/scsi device. I insert my USB memory stick and I get a message:
> >
> > hub.c: new USB device not_pci-3, assigned address 2
> > usb.c: USB device 2 (vend/prod 0x781/0x5150) is not claimed by any
> > active drive.
> > SCSI subsystem driver Revision: 1.00
> > Initializing USB Mass Storage driver...
> > usb.c: registered new driver usb-storage
> > scsi0 : SCSI emulation for USB Mass Storage devices
> >   Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1
> >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > USB Mass Storage support registered.
> >
> > This is good, I think to my self. But I look in
> > /dev/scsi/host0/bus0/target0/lun0/ and now there is no "part1". Why
> > not?  So how do I mount that memory stick?
> 
> what is the output from
> 
>  fdisk -l /dev/scsi/host0/bus0/target0/lun0/
> 
> Are you sure there is a partition table on this device. It is becoming
> common for cfdisks to be formatted like floppy disks, without a
partition
> table etc.
> 
> On another machine you should create an ext2 partition on the
cfdisk, then
> untar the debian image on that partition, then try the mount again.
> 
> Jim
>









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU