Mint 19.1 Tessa undelete

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Jfcp
Level 1
Level 1
Posts: 17
Joined: Fri Jun 28, 2019 9:32 pm

Mint 19.1 Tessa undelete

Post by Jfcp » Sat Oct 19, 2019 9:15 pm

I am running Mint 19.1, "Tessa" (ASUS UX50v, Centrino proc, 4gB, RAM, 200gb hdd), in a dual boot machine with Vista, and need to do a complete reinstall as neither O.S. is really running right (obviously, I'll get rid if Vista all together, and use WIN7).

I put all the items I need to back up in a single file, and accidentally deleted it along with the junk I was getting rid of.

The Linux undelete info I can find online dates from several releases ago.

So what is the best way to undelete (wrong term for it, I know) a file in Mint 19.1?

I think I stand a good chance of getting the data back as it was only just now deleted, and it's only 700 - 800 MB.
Last edited by karlchen on Sun Oct 20, 2019 4:59 am, edited 1 time in total.
Reason: Title: Prefixed the Mint release "Mint 19.1" to the nickname "Tessa". Nicknames can be so confusing, can't they?

User avatar
catweazel
Level 19
Level 19
Posts: 9839
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Tessa undelete

Post by catweazel » Sat Oct 19, 2019 9:31 pm

Jfcp wrote:
Sat Oct 19, 2019 9:15 pm
So what is the best way to undelete (wrong term for it, I know) a file in Mint 19.1?
If you have written anything to the disk since the deletion then it's likely all or somewhat lost already. You should run from a live media and install then run testdisk.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.

gm10
Level 20
Level 20
Posts: 10289
Joined: Thu Jun 21, 2018 5:11 pm

Re: Tessa undelete

Post by gm10 » Sat Oct 19, 2019 9:58 pm

Jfcp wrote:
Sat Oct 19, 2019 9:15 pm
(obviously, I'll get rid if Vista all together, and use WIN7).
Considering Windows 7 reaches end-of-life in 3 months that's not all that obvious actually unless you are a fan of dead operating systems (as the Vista install may well indicate). ;)

As to restoring your file, testdisk is good, but if it was just deleted and you know the file name and path then the easiest way will probably be with the extundelete package. Either way, as catweazel said, boot to a live USB, and in addition mount the partition only read-only.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
catweazel
Level 19
Level 19
Posts: 9839
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Tessa undelete

Post by catweazel » Sat Oct 19, 2019 10:20 pm

gm10 wrote:
Sat Oct 19, 2019 9:58 pm
... if it was just deleted and you know the file name and path then the easiest way will probably be with the extundelete package.
Nice tip. Thanks.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.

User avatar
WharfRat
Level 21
Level 21
Posts: 13446
Joined: Thu Apr 07, 2011 8:15 pm

Re: Tessa undelete

Post by WharfRat » Sat Oct 19, 2019 10:57 pm

Never had the occasion to use it, but ext4magic is another undelete utility for ext3/4 filesystems.

It might already be installed.
ImageImage

User avatar
Larry78723
Level 7
Level 7
Posts: 1709
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Mint 19.1 Tessa undelete

Post by Larry78723 » Sun Oct 20, 2019 8:10 am

If it was just deleted, why not just check the Trash?
Image

Jfcp
Level 1
Level 1
Posts: 17
Joined: Fri Jun 28, 2019 9:32 pm

Re: Mint 19.1 Tessa undelete

Post by Jfcp » Mon Oct 21, 2019 3:41 pm

Thanks catweasel, gm10, Larry.

I agree win7 is ephemeral and outdated, but I only use it for a few of apps that won't talk to Mint. I'll go to my grave completely ignorant of MS 8 &10. It'll be a happy day when I'm done with MS for good.

Is there a shell that would enable me to run Win7 from a DVD disk on a Mint machine - like a reverse Wine I guess?

I'd bet MS frowns on that idea....so let's do it....

gm10
Level 20
Level 20
Posts: 10289
Joined: Thu Jun 21, 2018 5:11 pm

Re: Mint 19.1 Tessa undelete

Post by gm10 » Mon Oct 21, 2019 3:58 pm

Jfcp wrote:
Mon Oct 21, 2019 3:41 pm
Is there a shell that would enable me to run Win7 from a DVD disk on a Mint machine - like a reverse Wine I guess?
I'm not sure what you mean with the reverse Wine part but you can run other operating systems in a virtual machine using, for example, VirtualBox.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Larry78723
Level 7
Level 7
Posts: 1709
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Mint 19.1 Tessa undelete

Post by Larry78723 » Mon Oct 21, 2019 4:15 pm

Jfcp, If you'd tell us what those "few of apps that won't talk to Mint" are, we might be able to suggest linux replacements for them.
Image

Post Reply

Return to “Newbie Questions”