(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 25 Oct 2020, 04:45
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
How to clear a flash drive of Xubuntu? [SOLVED]
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 13:47    Post subject:  How to clear a flash drive of Xubuntu? [SOLVED]
Subject description: GParted doesn't clear XUbuntu partition
 

Hello, Smile
I placed an Xubuntu distro on a flash drive to try out.
I now want to clean the drive off and reset to the original Fat32 partition.
Apparently, Xubuntu created two partitions on the drive.
Gparted cleared one partition but not the partition that has Xubuntu files.
Gparted gives a 'libparted' error.

The drive is a Sandisk Cruzer 4GB.
The Xubuntu iso was installed by YAPI.
My working distro is Dpup Stretch run from a flash drive sda1.

How do I clean this drive back to original configuration?

Thank you in advance for any suggestions.

Sky
How to Clear Flash Drive of XUbuntu.png
 Description   
 Filesize   76.07 KB
 Viewed   229 Time(s)

How to Clear Flash Drive of XUbuntu.png


Last edited by Sky Aisling on Thu 14 May 2020, 21:25; edited 1 time in total
Back to top
View user's profile Send private message 
pcplague2


Joined: 09 May 2020
Posts: 36
Location: Barreiro (near Lisbon) - Portugal

PostPosted: Thu 14 May 2020, 16:00    Post subject:  

You have to unmount before or do it on other pc
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 17:26    Post subject: How to clear a flash drive of Xubuntu?
Subject description: GParted doesn't clear XUbuntu partition
 

pcplague2 writes:

Quote:
You have to unmount before or do it on other pc


Thank you, pcplague2, however that doesn't work.

Sky
Back to top
View user's profile Send private message 
O.F.I.N.S.I.S.

Joined: 01 Mar 2020
Posts: 162

PostPosted: Thu 14 May 2020, 17:42    Post subject:  

Probably removing/deleting all files from sdb4 will help?
After this delete all partitions and create new ones will do the job?

_________________
Our Future Is Not Set In Stone
https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ
https://soundcloud.com/user-633698367
My own build of Bionic64
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 17:59    Post subject: How to clear a flash drive of Xubuntu?
Subject description: Read Only
 


O.F.I.N.S.I.S.
writes:

Quote:
Probably removing/deleting all files from sdb4 will help?
After this delete all partitions and create new ones will do the job?


Thanks O.F.I.N.S.I.S., all the files shown are 'Read Only' restricted files, no deleting.

Sky
Back to top
View user's profile Send private message 
pcplague2


Joined: 09 May 2020
Posts: 36
Location: Barreiro (near Lisbon) - Portugal

PostPosted: Thu 14 May 2020, 18:04    Post subject:  

Found this

Backup all your data from that drive, we will overwrite it.

Find the device using blkid

It will be like /dev/sdd.

Now run:

dd if=/dev/zero of=/dev/sdd bs=4M count=10
This will overwrite the partition table and the first 40MB. After doing this, just create the partitioning the way you want it.

_________________
Paulo Pestana <- All the way from Portugal Cool
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 782
Location: The Heart of Muskoka, ON Canada

PostPosted: Thu 14 May 2020, 18:23    Post subject:  

Have you tried creating a new partition table? GParted > Device > Create new partition table. This should erase all data on the drive.
Back to top
View user's profile Send private message 
O.F.I.N.S.I.S.

Joined: 01 Mar 2020
Posts: 162

PostPosted: Thu 14 May 2020, 18:24    Post subject:  

If the none of the above solutions won't work, try to format it using Windows - if somehow possible.

Windows will see ext formatted flash drives as not formatted.

Don't use quick format then.

_________________
Our Future Is Not Set In Stone
https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ
https://soundcloud.com/user-633698367
My own build of Bionic64
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 18:46    Post subject: How to clear a flash drive of Xubuntu?
Subject description: recreating partition
 

Terry H writes:
Quote:
Have you tried creating a new partition table? GParted > Device > Create new partition table. This should erase all data on the drive.


Thanks, Terry H

Gparted won't let new partitioning happen in this case.

Terry
, my apologies...I was looking at 'Partition' drop down not 'Device' drop down. Looking at 'Device' drop down would have helped solve the issue. Embarassed

Last edited by Sky Aisling on Sat 16 May 2020, 13:56; edited 1 time in total
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 18:55    Post subject: How to clear a flash drive of Xubuntu?
Subject description: Put Post in different thread
 

Hi, pcplague2, O.F.I.N.S.I.S., Terry H
Thank you all for your suggestions.

Actually, I think there is a better place to post this question.

I created the Xubuntu flash stick here:

How to use Puppy to install a non-puppy .iso to flash drive?
http://murga-linux.com/puppy/viewtopic.php?t=115529&search_id=1768062989

I'm going to see if I can contact Flash and switch this thread as a post to http://murga-linux.com/puppy/viewtopic.php?t=115529&search_id=1768062989 so that some more of the background can be seen.

Sky
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8427
Location: World_Hub

PostPosted: Thu 14 May 2020, 19:00    Post subject:  

I'd say you have to boot Stretch, or your working OS here -- LIVE!
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
Gordie

Joined: 23 Aug 2016
Posts: 156
Location: Nolalu, Ontario, Canada

PostPosted: Thu 14 May 2020, 19:04    Post subject:  

I run into this problem all the time. Somehow when writing an iso to a USB decides to make more than one partition so as to include a boot directory for EUFI boot it creates problems with flash drives. I have no trouble with "legacy boot only" isos but now, with EUFI can expect less than 10 uses before my thumb drives are toast (smoked,nuked beyond repair).
My best results have been with using Windows to format them however even that has it's limitations.

Buy lots of them and buy em for as cheap as you possibly can because you are going to need a bushel of them

_________________
--
Cheers
Gordie
Slackware64-Current, Thinkpad W510, Intel i7, 8G/500G, Lilo / Legacy.
Fatdog64 + 6 Puppies on USB flash drives.
Windows 10 / Slackware64-Current, HP desktop, Intel Core2 Duo, 4G/500G/250G, Lilo / Legacy.
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8427
Location: World_Hub

PostPosted: Thu 14 May 2020, 19:14    Post subject:  

Idea https://askubuntu.com/a/218732
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1369
Location: Port Townsend, WA. USA

PostPosted: Thu 14 May 2020, 21:24    Post subject: How to clear a flash drive of Xubuntu?
Subject description: UEIF issue
 

Semme writes:
Quote:
Idea https://askubuntu.com/a/218732

Thanks Semme. That looks like the answer. I remember having this same issue years ago when UEFI firmware came into play.

Sky
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8427
Location: World_Hub

PostPosted: Fri 15 May 2020, 07:46    Post subject:  

When you give yourself the go-ahead, I've built a *systemd-less* lvm2 pkg that inlcudes the binaries you'll need.
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
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.3691s ][ Queries: 12 (0.2677s) ][ GZIP on ]