**i am using ubuntu software in my laptop and wrongly used dell factory restoring application and removed all of my data can i get my data back **

Dani AI

Generated

This thread already covers the basic outcomes (factory image vs. bootloader-only) raised by , and and the suggestion to try recovery tools from and . Below is a compact, practical plan that preserves what remains, shows how to analyse the damage, and gives concrete commands to try — including handling encrypted Ubuntu homes and recovering a missing GRUB.

Start safely: boot a Linux live USB and attach an external drive with free space >= the original drive. Make a sector-copy (work from the copy; never run recovery that writes to the original). Example using GNU ddrescue (two passes: quick, then retry bad sectors):

sudo ddrescue -n /dev/sda /media/external/disk-image.img /media/external/ddrescue.log
sudo ddrescue -d -r3 /dev/sda /media/external/disk-image.img /media/external/ddrescue.log

Analyse the image: map it to a loop device and run TestDisk to search for lost partitions or filesystem structures. If TestDisk finds a partition table you can restore it to the image or extract files.

sudo losetup --find --show -Pf /media/external/disk-image.img   # prints /dev/loopX
sudo testdisk /dev/loopX

Filesystem-level recovery: for ext3/4 try extundelete (run it against the unmounted partition image) to recover filenames and directory structure; if the disk used eCryptfs or LUKS, unlock first — eCryptfs needs the wrapped-passphrase or login passphrase (ecryptfs-recover-private), LUKS needs the passphrase (cryptsetup luksOpen ... then mount). Example extundelete:

sudo extundelete /dev/loop0p1 --restore-all   # run from external drive; recovered files placed in RECOVERED_FILES

If the system is intact but unbootable (bootloader overwritten), reinstall GRUB from the live USB by bind-mounting /dev,/proc,/sys, chrooting into the installed root, running grub-install and update-grub. If these steps feel risky or the data is irreplaceable, stop and consult a professional recovery lab — overwritten sectors are generally unrecoverable by hobby tools.

Recommended Answers

All 5 Replies

No. You need to restore from a backup (you DO make backups occasionally, don't you???)

As AD said... :-(

The recovery partition for Dell systems will restore the system to the state it came from the factory, whether you got it with Windows, or Linux. No backups? I hope you have hard copy...

I have dealt with Dell crapware before, especially their incredibly stupidly written restoring program. Before, I had a dual boot system with the Windows bootloader as the primary bootloader (chain-loading grub from the Linux partition), and the Dell crapware did some kind of automatic restore point thing that also involved flashing a fresh version of the Windows bootloader. That had the effect of seemingly making my Linux installation disappear and I couldn't boot to it anymore because of the lost settings in the Windows bootloader. I had to remove all that Dell crapware (which is always a good idea regardless of whether you have a dual boot or not) and reset my bootloader to be able to find my Linux installation again and boot to it. So, I'm just saying that in case that is what happened to you. If not, and you actually restored the system and thus deleting your Linux installation, then there really isn't much you can if you don't have a backup.

3rd party data recovery software for your OS.

Yes you can get much of your data back. First don't use the drive at all! Next use photorec to scan for and recover the data. Recover the data to a diffrent drive.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.