1

I'm new to Ubuntu.

Yesterday I accidentally deleted my Virtual Machine Windows 7 (32 bit) in VirtualBox on host Ubuntu 17.10. After that I tried to recover using Testdisk. It's not recovered and another method tried using Photorec it recovered some files but not finished because my hard disk storage not enough. So I stopped after my notebook little bit hangs so that's why Restarted bot right now it's showing

dev/sda2 /30498816 /30457001 files, 121959007 /121965056 blocks
Zanna
  • 72,312

1 Answers1

1

Boot your system and tap Esc after the BIOS screen to enter the GRUB menu, then press e to edit and append init=/bin/bash to the line starting with linux. Press Ctrl+x to boot, log in, and make your filesystem writable via mount -oremount,rw /. Navigate to the folder where the recovered files are and delete them as needed.

Alternatively, you can boot a live CD/USB and delete your recovered files from the live session after mounting your disk.