TestDisk disk image filled up my on Linux hard drive

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
hunter
Posts: 1
Joined: 09 Apr 2021, 06:09

TestDisk disk image filled up my on Linux hard drive

#1 Post by hunter »

Microsoft's most recent update damaged my MBR and RDC files. Windows would not boot. I had Unbuntu dual boot installed. I had a VMWare Virtual Machine on the Windows system.

I booted into Linux Ubuntu and ran "TestDisk".

TestDisk took an image of the partition(s). It filled up (consumed all) the Linux home drive. I couldn't even type a character into a text document and save it.

When I rebooted Linux, it doesn't even have enough space to show the desktop. Linux is unusable.

*** How do I find the file that ate ***ALL*** my disk space ?

*** How do I delete that file so Linux will run again ?

*** How do I then recover my Windows MBR ?

recuperation
Posts: 2718
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: TestDisk disk image filled up my on Linux hard drive

#2 Post by recuperation »

hunter wrote: 09 Apr 2021, 06:29 Microsoft's most recent update damaged my MBR and RDC files. Windows would not boot. I had Unbuntu dual boot installed. I had a VMWare Virtual Machine on the Windows system.

I booted into Linux Ubuntu and ran "TestDisk".

TestDisk took an image of the partition(s). It filled up (consumed all) the Linux home drive. I couldn't even type a character into a text document and save it.
You missed to select a sufficiently large location for saving.

When I rebooted Linux, it doesn't even have enough space to show the desktop. Linux is unusable.

*** How do I find the file that ate ***ALL*** my disk space ?
I don't know. I searched google for "treesize linux alternatives".

*** How do I delete that file so Linux will run again ?
Run a live linux from a USB stick or CD/DVD such as GParted, Knoppix etc.

*** How do I then recover my Windows MBR ?
Use either Testdisk or the repair function of your operating system installation media.

Locked