Skip to content

Instantly share code, notes, and snippets.

View hwine's full-sized avatar

Hal Wine hwine

  • 04:27 (UTC -07:00)
View GitHub Profile
1548185906566 mozrunner::runner INFO Running command: "/home/hwine/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.9ZNKErSbjZrb"
1548185906572 geckodriver::marionette DEBUG Waiting 60s to connect to browser on 127.0.0.1:50681
1548185907136 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid host permission: resource://pdf.js/
1548185907136 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid host permission: about:reader*
1548185907281 Marionette DEBUG Received observer notification profile-after-change
1548185907368 Marionette DEBUG Received observer notification command-line-startup
1548185907368 Marionette DEBUG Received observer notification nsPref:changed
1548185907368 Marionette DEBUG Init aborted (running=false, enabled=true, finalUIStartup=false)
1548185907561 Marionette DEBUG Received observer notification toplevel-window-ready

Recovering deleted files in Ubuntu with ext4 filesystem

Recently, I deleted some files by mistake in a Ubuntu machine with an ext4 fs. These notes document the steps I took to get them back.

Important

  • this procedure assumes that the partition that contained the deleted files is different from the root partition, as that was the scenario with which I had to deal (deleted files were in my home dir). The procedure needs that the partition that contained the files is unmounted, so if the deleted files were in the root partition, the process would be a bit different (e.g. storing the fs journal in a USB stick, using a live CD/USB to boot and issue the commands, etc.)
  • if something is not clear, you need more information, etc. check the sources below

With that out the way, let's begin.