LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-14-2006, 10:33 AM   #1
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Rep: Reputation: 30
USB KEY with 2partitions


Just received an USB KEY "Patriot Memory 256MB". But this key is different than the other USBs I've seen since it creates 2drives on connection. Her's 'dmesg'
Code:
[4296583.830000] usb 4-3: new high speed USB device using ehci_hcd and address 3[4296584.481000] Initializing USB Mass Storage driver...
[4296584.482000] scsi0 : SCSI emulation for USB Mass Storage devices
[4296584.482000] usb-storage: device found at 3
[4296584.482000] usb-storage: waiting for device to settle before scanning
[4296584.482000] usbcore: registered new driver usb-storage
[4296584.482000] USB Mass Storage support registered.
[4296589.483000]   Vendor:           Model: USB DISK Pro      Rev: PMAP
[4296589.483000]   Type:   Direct-Access                      ANSI SCSI revision: 00
[4296589.483000]   Vendor:           Model: USB DISK Pro      Rev: PMAP
[4296589.483000]   Type:   Direct-Access                      ANSI SCSI revision: 00
[4296589.488000] usb-storage: device scan complete
[4296589.552000] Driver 'sd' needs updating - please use bus_type methods
[4296589.554000] SCSI device sda: 430528 512-byte hdwr sectors (220 MB)
[4296589.555000] sda: Write Protect is off
[4296589.555000] sda: Mode Sense: 23 00 00 00
[4296589.555000] sda: assuming drive cache: write through
[4296589.559000] SCSI device sda: 430528 512-byte hdwr sectors (220 MB)
[4296589.559000] sda: Write Protect is off
[4296589.560000] sda: Mode Sense: 23 00 00 00
[4296589.560000] sda: assuming drive cache: write through
[4296589.560000]  sda: sda1
[4296589.662000] sd 0:0:0:0: Attached scsi removable disk sda
[4296589.666000] SCSI device sdb: 50176 512-byte hdwr sectors (26 MB)
[4296589.667000] sdb: Write Protect is off
[4296589.667000] sdb: Mode Sense: 23 00 00 00
[4296589.667000] sdb: assuming drive cache: write through
[4296589.671000] SCSI device sdb: 50176 512-byte hdwr sectors (26 MB)
[4296589.672000] sdb: Write Protect is off
[4296589.672000] sdb: Mode Sense: 23 00 00 00
[4296589.672000] sdb: assuming drive cache: write through
[4296589.672000]  sdb: sdb1
[4296589.688000] sd 0:0:0:1: Attached scsi removable disk sdb
[4296589.701000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[4296589.701000] sd 0:0:0:1: Attached scsi generic sg1 type 0
[4296590.407000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[4296590.528000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
I tried the USB KEY in WinXP and also on other computers and on all of them it creates 2drives. Why is that so???

Last edited by Ashrack; 05-14-2006 at 10:37 AM.
 
Old 05-15-2006, 08:40 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 18/ TC64
Posts: 5,301

Rep: Reputation: Disabled
probably because some one has formatted it 2 partitions.

if you have recovered all essential data.....assuming you need it as fat32 to share with MS.....you can reformat it

mkfs.vfat /dev/sda

if that fails you may need to wipe its mbr first with

dd if=/dev/zero of=/dev/sda


be very sure you are wiping the correct drive pls pls pls
 
Old 08-13-2006, 04:34 AM   #3
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Sorry for the long delay.

Tried your suggestions, but none of them seems to help. I even tried repartitioning with GPARTED but I get nowhere.
Because the usb drive gets detected like this:
Code:
Disk /dev/sda: 220 MB, 220430336 bytes
255 heads, 63 sectors/track, 26 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          26      208813+   b  W95 FAT32

Disk /dev/sdb: 25 MB, 25690112 bytes
255 heads, 63 sectors/track, 3 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1           3       24066    6  FAT16
And thus I cant resize the partition like I would a hardrive since its apperantly detected as 2 different USB sticks
What else can I do??
 
Old 08-13-2006, 05:23 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It seems to me that you got a smart USB flash drive or a U3 disk. If it is a new flash drive, take it back and get a normal USB flash drive (non-U3 disk).
 
Old 08-13-2006, 06:02 AM   #5
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 18/ TC64
Posts: 5,301

Rep: Reputation: Disabled
well I am a dinosaur here is one link for info only for fellow dinos
http://www.u3.com/smartdrives/default.aspx
http://www.theregister.co.uk/2006/01...ns_openoffice/ linux
 
Old 08-13-2006, 06:23 AM   #6
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
I looked at u3 wiki and also the U3 home page and the more I read about it I dont thing I have an U3 USB!

Because of the following reasons:
1.I dont have the U3 printed on it
Quote:
To ensure that the drive you purchase is U3 smart, make sure the U3 smart logo appears on the drive or on the package.
2.
Quote:
Plug the U3 drive into a USB port and Windows quickly recognizes it. (U3 drives work with Windows 2000 SP4 or later, and all versions of Windows XP.) Unlike a standard USB drive, the U3 drive is assigned two drive letters, one for a small (4 MB) read-only area, and a second for the rewritable area of the drive. The U3 drive tricks Windows into thinking that the read-only partition is a CD-ROM drive, which lets the drive use AutoPlay to run the U3 LaunchPad application launcher as soon as the key is inserted.
The first partition is 26MB and is FULLY writable in mine case

3. I got this USB DRIVE in november last year, and this U3 drives came out about the same time.
########
So any other ways of having only one partition??
 
Old 08-13-2006, 05:15 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can try to find if there is a switch that turns off security features. Another way is use the proprietary software to turn off security features, but you may have to use Windows. If you did everything you can, call Patriot tech support. Probably you got a lemon.

gparted is a utility that guess where the partitions starts and ends. Also it guess what the type of the partitions. It has nothing to do with fixing partitions.

Do not scream at me. You did not give all the information that I need. I am just making assumptions. Go scream at some else.
 
Old 08-14-2006, 01:41 AM   #8
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Electro
You can try to find if there is a switch that turns off security features. Another way is use the proprietary software to turn off security features, but you may have to use Windows. If you did everything you can, call Patriot tech support. Probably you got a lemon.
On the USB itself only the switch for write protecting exists!
Which proprietarty software should I use to turn of the security features?
What do U mean by "Probably U got a lemon?"

Quote:
Do not scream at me. You did not give all the information that I need. I am just making assumptions. Go scream at some else.
Hey! I don't know what I did that made U thing I was screaming at U! Quite the contrary, I am grateful for every assisstance U have given thus far. So if I made U thing I was screming at U, I'm sorry
 
  


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 07:32 AM
USB Key Darkness-Inc Linux - Hardware 3 06-16-2005 10:58 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
USB Key PhuckFonix Linux - Hardware 3 06-02-2004 07:10 PM
USB Key Odd_Bloke Linux - Newbie 6 09-09-2003 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration