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 Wed 17 Jan 2018, 14:39
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
USB drive... borked?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Author Message
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Wed 29 Nov 2017, 21:15    Post subject:  USB drive... borked?
Subject description: Technical
 

generic (ut163) USB stick showing mounted as 'sdb2' on Pup desktop when plugged in.
Have been able to format it with Gparted... so there is somekind of access to it, however I am out of my depth...

In Windows (Device Manager) it is showing as a Hard Drive... whereas it should be showing as a Portable Drive. It does not show anywhere else in Windows, but appears in UEFI bios.

Can't no longer do anything with it. :-/

Have I killed it inadvertently through using 'live' boot-ins and not really knowing what I was doing with partitions on the stick itself?... is it recoverable for use?

(am running 2 physically separate PC's.. one with Pup and other Win7)
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 1333
Location: N.E. USA

PostPosted: Wed 29 Nov 2017, 21:19    Post subject:  

What do you want to do with that stick?

Boot a Puppy?
Store files?
Use as sfs?

What format did you use in Gparted?
Did you flag that partition? (right-click on the formatted portion)

Regards
8Geee

_________________
Linux user #498913

Good God!, by the stars in the sky we are lost!
And into the breach we got tossed!
And the world is comin' on fast! --Florence Welch
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Wed 29 Nov 2017, 21:41    Post subject:  

Partitioned as NTFS
Just want to use it as a standard data transfer drive..

error message:
"Libparted Error
The backup GPT table is corrupt, but the primary appears OK, so that will be used."

Not sure if I've trashed the firmware partition and/or if it can be rebuilt... fairly certain that Windows can't do anything with it.. but Linux can at least see at and format it, so that's a start.. Smile

What should I be flagging it as?

Last edited by fiskrond on Wed 29 Nov 2017, 21:51; edited 1 time in total
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 687

PostPosted: Wed 29 Nov 2017, 21:48    Post subject:  

delete the partitions with Gparted and create a MS-DOS partition table on it instead of GPT.

Then create the NTFS partition.
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Wed 29 Nov 2017, 21:56    Post subject:  

have deleted with Gpart... no option for MS-DOS.. (not even showing as greyed out)
only have the following:

ext2
ext3
ext4
f2fs
fat16
fat32
linux-swap
lvm2 pv
ntfs
cleared
unformatted



I tried Fat32 before NTFS... no joy with that being recognised either..
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 720
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Wed 29 Nov 2017, 22:16    Post subject:  

Making an MS-DOS partition table.
Not the same as making a partition.
A drive needs a partition table before it can have a partition.

Start Gparted
Highlight the drive you are working on.
Make sure it is the correct drive or you can lose data.
From the Gparted taskbar menu
Device-->Create Partition Table

That gets you to creating an MS-DOS partition table.

Make sure you are working on the correct drive or you can lose data or worse.

.

_________________
.
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Wed 29 Nov 2017, 23:26    Post subject:  

okay.. following from your(plural) and appreciated advice, I have done the following:

Gparted> sdb USB drive > device > create partition table > msdos > apply

New > Create new Partition > create as Primary Partition, NTFS > add, apply
"All operations successfully completed"

[reboot]

Created a test 'Calc' spreadsheet in Puppy... what 'save as' options should I see?... can only see 'root', nothing relating to USB device..
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Wed 29 Nov 2017, 23:30    Post subject:  

It's not the end of the world if I've knackered the USB....

I just want to understand what I've done wrong so as to not repeat.. Very Happy
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 720
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Thu 30 Nov 2017, 00:09    Post subject:  

Ok, will try to make sense of this for you.
Assuming you are booting from CD?
Just save your spreadsheet like you would as if you were using a hard drive. The file gets saved to computer memory for now.
When you are shutting down puppy it will ask you if you want to make a save file. Thats when you decide where the save file will
be located. The save file houses a file system that has all the changes you have made to puppy and will load next run of puppy.
***
A little background about first run of puppy and the save file / save folder

First run of puppy install can either go frugal install(save file) or full install (no save file) or no install at all if you want to run from CD.

When shutting down for the first time puppy gives you the option to create a save file (or save partition too), but only if you did
a frugal install or no install. If you do a full install to hard drive you get no save file or save partition.

So if you have booted from CD and did not do a full install then at first shutdown puppy asks you if you want a save file and where
you want to keep it at. Thats when you would choose the location of the save file.
------
The freshly formatted NTFS usb stick you just made should be seen by windows now and have no problems. That would be a good way to verify the usb stick is ok.

More help on the way from others so if I just confused you more someone else will say it better Smile

_________________
.
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 720
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Thu 30 Nov 2017, 00:15    Post subject:  

Couple things I forgot to mention.

You can use the file manager to make a directory anywhere in the file system you wish. Just like windows. File manager is ROX Filer (the "file" icon)
Then maybe save the spreadsheet to the directory you made.

To get access to the usb stick you have to mount it first. Click on it with ROX file manager and it will mount and show the contents of the drive.

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

Joined: 19 Jul 2006
Posts: 285
Location: UK

PostPosted: Thu 30 Nov 2017, 06:17    Post subject: USB can be resurrected with luck  

In the past I have had issues with USB sticks that I could not get to work. However, the HP programme got them going again and is my go to if all else fails. https://hp-usb-disk-storage-format-tool.en.softonic.com/download The only problem is that you need a MS Windows installation to use it.
Back to top
View user's profile Send private message 
mostly_lurking

Joined: 25 Jun 2014
Posts: 237

PostPosted: Thu 30 Nov 2017, 06:40    Post subject:  

fiskrond wrote:
Created a test 'Calc' spreadsheet in Puppy... what 'save as' options should I see?... can only see 'root', nothing relating to USB device..

You mean when you open the save dialog, it shows you the "root" directory? Go one folder up, or click on "File System" in the left-side "Places" column, then go to "mnt" - this is the folder in which Puppy usually creates its mount points (the locations where the file systems of hard drives and other devices are added to the operating system's "overall" file system) -, then to "sdb1", if that's the name of your USB partition. Make sure the partition is mounted (on the desktop, this is indicated by a colored dot or "x" symbol on the drive icon), or else you might accidentally save the file to the mount directory instead of the device that's supposed to be mounted there, and end up with a situation like this: problem to mount NTFS partition

PS: in the save dialog, you can drag your "sdb1" folder to the free space in the "Places" column to bookmark it for quick access.
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Thu 30 Nov 2017, 14:09    Post subject:  

okay..
thanks all for help so far... (LinPup is installed to a single HDD on a separate test PC)

can now save/read a test document to USB in Linux

Tried the HP prog but USB still not recognised in Windows as accessible drive.. Device Manager can see it but that is all.

In all probability it looks like I've managed to 'flip a bit' on the USB probably whilst trying different installs.. FreeBSD seems to have been the culprit as I had to rebuild my main PC from scratch after that sorry episode!

Am now trawling the net for a way to reset USB to original settings from within Linux... anyone managed this before?
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 687

PostPosted: Thu 30 Nov 2017, 15:27    Post subject:  

fiskrond wrote:


Am now trawling the net for a way to reset USB to original settings from within Linux... anyone managed this before?



Here's what I do:
1) wipe the first 100 Meg of the USBFlash using "dd": dd bs=1M if=/dev/zero of=/dev/sd? count=100
2) use gparted to create new MSDOS partition table on /dev/sd?
3a) if you MUST have an ntfs filesystem, format it to ntfs with a windows machine
3b) otherwise, format it Fat32 with ANY OS
4) Prosper ..
Back to top
View user's profile Send private message 
fiskrond

Joined: 13 Aug 2017
Posts: 26
Location: Wales (UK)

PostPosted: Thu 30 Nov 2017, 15:40    Post subject:  

I've done that...

Whole drive wiped & msdos table installed
Formatted to Fat32.. no joy
Wiped again, msdos table installed
Formatted to NTFS... no joy

Am installing WINE to see if I can get 'BootIt' (Windows prog) to run.... has option to 'bit flip' on it...

Unless of course there is a native Linux prog that can do this..?

Is it possible that I have done something irreversible to the USB stick?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0528s ][ Queries: 11 (0.0040s) ][ GZIP on ]