Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Jan 2018, 05:03
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Recovering usb drives
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Foppo94

Joined: 21 Jun 2017
Posts: 2

PostPosted: Fri 28 Jul 2017, 05:19    Post subject:  Recovering usb drives  

Hello, i am a quite new linux user, and i appreciated so much the puppy linux community, expecially because i can see that the whole idea behind this OS is wonderful.
But playing around with usb drives so many times, using unetbootin, the command dd, and startup disk creator of ubuntu, got me to spoil a lot of usb drives. More precisely, they sometimes had their space reduced, and in some cases (often after using startup disk creator) they weren’t able to boot linux distros anymore.
Some results (recovering some space) were obtained using gparted, expecially creating a new partition tab (if the process didn’t work, i first create a gpt table, then msdos table, then the usb was recovered).
But using gparted didn’t restore the ability to boot distros, these usbs were corrupted yet for some reason that i don’t know.
The final solution was using the startup disk creator itself, and in particular its feature to erase the usb mounted. The last versions of this software don’t have this feature, so i used an old version installed on 12.04 ubuntu by default.
Probably you can get this old version of startup disk creator also not using the whole ubuntu12.04 that i installed on a usb for this purpose, but i didn’t know well how to do
The ubuntu 12.04 startup disk creator restored all my spoiled usb drives in few seconds, it worked greatly.

I hope this could be useful to you, sorry for my english and my lack of synthesis Smile
Back to top
View user's profile Send private message 
cthisbear

Joined: 29 Jan 2006
Posts: 4243
Location: Sydney Australia

PostPosted: Fri 28 Jul 2017, 06:20    Post subject:  

Foppo94:

thanks mate and welcome to Puppy.

Chris.
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 693

PostPosted: Sat 05 Aug 2017, 12:25    Post subject:  

I just use "dd" to overwrite the first 100 meg of the USB device, then use gparted to create a new partition table, new partitions, and set boot flag.


Code:
# dd bs=1M if=/dev/zero of=/dev/sdX count=100

After this operation, remove and re-insert the thumb drive in question before re-partitioning so the system sees it correctly.

I've never had this fail to rehabilitate a USB flash drive ..
Back to top
View user's profile Send private message 
peterw

Joined: 19 Jul 2006
Posts: 285
Location: UK

PostPosted: Sun 06 Aug 2017, 14:27    Post subject: Restoring USBs  


Last edited by peterw on Sun 06 Aug 2017, 16:47; edited 3 times in total
Back to top
View user's profile Send private message 
peterw

Joined: 19 Jul 2006
Posts: 285
Location: UK

PostPosted: Sun 06 Aug 2017, 14:57    Post subject: Other options for Windows users  

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0877s ][ Queries: 11 (0.0055s) ][ GZIP on ]