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

Re: USB stick two devices into one



Rob Gom wrote:
> Hi Debian Users,
> I own an USB 2 GB stick. Unfortunately it is reported to system as two
> separate devices:
> [ 3151.418037] usb-storage: device found at 2
> [ 3151.418041] usb-storage: waiting for device to settle before scanning
> [ 3156.416261] usb-storage: device scan complete
> [ 3156.417734] scsi 2:0:0:0: Direct-Access              PENTADRIVE
>   PMAP PQ: 0 ANSI: 0 CCS
> [ 3156.418216] scsi 2:0:0:1: Direct-Access              PENTADRIVE
>   PMAP PQ: 0 ANSI: 0 CCS
> [ 3158.146100] sd 2:0:0:0: [sdb] 4026368 512-byte hardware sectors:
> (2.06 GB/1.91 GiB)
> [ 3158.147583] sd 2:0:0:0: [sdb] Write Protect is off
> [ 3158.147587] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
> [ 3158.147590] sd 2:0:0:0: [sdb] Assuming drive cache: write through
> [ 3158.149573] sd 2:0:0:0: [sdb] 4026368 512-byte hardware sectors:
> (2.06 GB/1.91 GiB)
> [ 3158.150569] sd 2:0:0:0: [sdb] Write Protect is off
> [ 3158.150572] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
> [ 3158.150575] sd 2:0:0:0: [sdb] Assuming drive cache: write through
> [ 3158.150578]  sdb: sdb1
> [ 3158.151413] sd 2:0:0:0: [sdb] Attached SCSI removable disk
> [ 3158.153209] sd 2:0:0:1: [sdc] 4096 512-byte hardware sectors: (2.09
> MB/2.00 MiB)
> [ 3158.154598] sd 2:0:0:1: [sdc] Write Protect is off
> [ 3158.154605] sd 2:0:0:1: [sdc] Mode Sense: 23 00 00 00
> [ 3158.154607] sd 2:0:0:1: [sdc] Assuming drive cache: write through
> [ 3158.156455] sd 2:0:0:1: [sdc] 4096 512-byte hardware sectors: (2.09
> MB/2.00 MiB)
> [ 3158.157567] sd 2:0:0:1: [sdc] Write Protect is off
> [ 3158.157570] sd 2:0:0:1: [sdc] Mode Sense: 23 00 00 00
> [ 3158.157572] sd 2:0:0:1: [sdc] Assuming drive cache: write through
> 
> Is it possible to convert stick to be single device? I don't need
> second one... And two windows about new device connected can be a bit
> irritating...

Once the stick is attached, could you send us the output of 'fdisk -l'?
I'm just guessing, but maybe it is possible to simply remove the 2MB
second partition.

Cheers,

Johannes


Reply to: