LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2011, 12:45 PM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
OSX86 Thumb Drive Cannot Be Repartitioned


A friend of mine gave me a thumb drive that he's been unable to fix. He installed OSX on it in an attempt to make a "Hackintosh". Attached is a screenshot of the device's current partition scheme. Any time I try to modify the device's partition scheme it fails. I've tried doing it with GParted and the Gnome Disk Utility (palimpsest), as well as doing the following command as root to try and force a low level format.
Code:
dd if=/dev/zero of=/dev/sdc
The command completed successfully and said that all 8 GB were duplicated, but it didn't actually affect the device.

The type of thumb drive in question is an 8 GB Centon Datastick Pro. There is no write protection measure that I'm aware of on this thumb drive, I have several of them identical to it that are 4 GB and other than two small holes in the end to attach a wrist strap, there are no physical features on the device.

Running dmesg reveals these lines of output, along with a few others, regarding the device /dev/sdc
Code:
[10304.701316] sd 9:0:0:0: [sdc] Add. Sense: Write protected
[10304.701320] sd 9:0:0:0: [sdc] CDB: Write(10): 2a 00 00 00 00 00 00 00 28 00
I've installed hfsutils and all the other hfs programs recommended to me, but even without those you'd think that using dd to do a low level format would wipe the drive regardless of what was on it, but it didn't.

I'm out of solutions for this problem, can any of you guys offer any suggestions?
Attached Thumbnails
Click image for larger version

Name:	thumb_drive.png
Views:	5
Size:	36.6 KB
ID:	8051  
 
Old 09-24-2011, 12:50 PM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Original Poster
Rep: Reputation: 56
Update: Just tried using Windows disk management on a friend's Windows PC to delete the partition and I got the following error, "The operation is not supported on removeable media."
 
Old 09-24-2011, 02:28 PM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Original Poster
Rep: Reputation: 56
Update

In another forum I posted this thread and they referred me to this, which basically details using fdisk to reformat the drive. No luck there. I also installed and tried "parted" and here's what happened.
Code:
root@marcus-laptop:/home/marcus# parted /dev/sdc
GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mktable                                                          
New disk label type? msdos                                                
Warning: The existing disk label on /dev/sdc will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? Yes                                                               
Error: Input/output error during write on /dev/sdc                        
Retry/Ignore/Cancel?
 
Old 09-24-2011, 02:33 PM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Original Poster
Rep: Reputation: 56
Update

I booted my Windows XP VM and forwarded the device to that, then went into disk management. It doesn't show the unallocated space or the FAT32 partition, but lists the whole drive as a "GPT Protected Partition". All the right click options were grayed out. I'll be doing research on how to get rid of one of those.
 
Old 09-25-2011, 06:05 PM   #5
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Google offers a few options
Try this one
http://www.digital52.com/help/gptremoval.html
 
  


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
triple booting windows, ubuntu and osx86: passing boot options from grub to osx86? opaltoad Linux - General 1 01-05-2010 09:38 PM
How to recover files from a repartitioned drive lexthoonen Linux - General 10 05-14-2009 06:11 AM
repartitioned xp 2nd hard drive while trying to install Ubuntu-now shows up as "Bad" pulper Linux - Hardware 2 08-23-2006 02:41 PM
Recovering data from repartitioned ntfs drive booyabazooka Linux - Software 2 09-20-2004 11:37 PM
Recovering NTFS partition off repartitioned hard drive jhayden Linux - Hardware 3 08-30-2004 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 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