LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-09-2017, 05:48 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,117

Rep: Reputation: 73
undeleteable files


I put an ssd drive in my gf's laptop. I bought an external drive holder and put her old drive in that.

Since she uses Windoze, I said we better run a virus check on your old drive, using Windows Defender.

It was taking ages. So I said, just copy what you want onto the new drive, which was only about 3GB and I will run gparted on it, repartition, format it as 1 big usb stick.

I used gparted, deleted all partitions, created a new partition, formatted it NTFS.

There were several warnings about 'all data will be lost'.

However, some stuff from Windows survived all that!

I noticed when I plugged the old drive into my old laptop to copy over an old film. There were 2 folders from the old Win 7 which survived deleting the partitions and reformatting. I deleted them while the drive was plugged into my old laptop, which has Ubuntu 14.04. They seem to be gone now.

How can any file survive that?

I think there is a command like:

dd if=/dev/zero of=/dev/sdbX

to zero everything, (not that she has any important secrets on the old drive).

Would that have got rid of these armour-plated folders?
 
Old 11-09-2017, 06:41 PM   #2
incorrigible_bachelor
LQ Newbie
 
Registered: Apr 2013
Posts: 11

Rep: Reputation: Disabled
Well, I suppose that the partitioning could have been interrupted.

Do you have a copy of a log that gparted made at the time of your format?
 
Old 11-09-2017, 07:09 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,117

Original Poster
Rep: Reputation: 73
The partitioning was not interrupted. There were 5 partitions, including an old swap partition from when I tried to get the gf to use Linux. She never listens to me!

Maybe the log still exists, but it will be at home on my old laptop. I did not save the log, so I don't know if gparted still has it.
 
Old 11-10-2017, 08:45 AM   #4
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Quote:
There were 5 partitions,
GPT???
 
  


Reply



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
Restored files symbolically link to backup files, & can't boot using linked files mazinoz Linux Mint 1 01-31-2015 05:10 AM
need to rsync only selected files (--files-from) also need to delete files on dest. ? BrianK Linux - General 5 10-22-2009 09:52 PM
in copy files or ls files the command want to invert select some files how to?? hocheetiong Linux - Newbie 3 06-27-2008 06:32 AM
Undeleteable symbolic links gabosdenes Linux - General 7 05-06-2008 02:19 AM
undeleteable files in /tmp illtbagu Linux - General 7 02-02-2003 05:39 PM

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

All times are GMT -5. The time now is 06:12 AM.

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
Open Source Consulting | Domain Registration