Skip to main content

All Questions

6 votes
1 answer
2k views

Linux - accidentally used dd on a LUKS encrypted drive, is there a way to recover?

I accidentally ran dd bs=4M if=image.iso of=/dev/sda oflag=sync when creating a bootable drive instead of targeting the USB stick. I am fairly certain most of the files would be fine - the iso is only ...
circo's user avatar
  • 161
5 votes
2 answers
905 views

Copying hard drive partition structure

I'm trying to copy the partition structure of a drive that died, all the info I have is that it has an MBR, uses an msdos partition table (not sure if this matters?) and has 9 partitions and looks ...
goylik999's user avatar
4 votes
1 answer
6k views

How to recover NTFS partition from Linux?

I've formated partition to empty - only erased information that partition is NTFS. Partition data haven't been changed. So i think only little change to partition table is required. How can i ...
kravemir's user avatar
  • 2,684
3 votes
1 answer
796 views

Accidentally ran "sudo gpart -W /dev/sda /dev/sda" – how can I recover my partitions?

I was trying to repair a damaged MicroSD card located on /dev/sdb, however I accidentally ran the gpart tool on /dev/sda instead. (not gparted, but gpart) I ended up writing one partition and so now ...
user1026169's user avatar
3 votes
2 answers
227 views

My hard disk does't get recognized

For a few days now I have a problem with my 500GB internal hard disk. I am on Linux Mint 13 but I have the same problem with my Windows installation. When running fdisk -l I can see my hard disk (...
SteveL's user avatar
  • 143
3 votes
1 answer
2k views

F2FS lost data? won't mount and FSCK doesn't work

I was running my system (compiling the 4.12 kernel) when it halted an hour ago. The screen was entirely grey, the keyboard wouldn't respond. Music kept playing for about 1 minute. After waiting a ...
Marc.2377's user avatar
  • 1,577
3 votes
0 answers
4k views

Bad magic number in super-block / Invalid argument while trying to open /dev/sda12

How can i recover my corrupted hardisk partition ? I can tried to recover this partition using GParted but GParted see an error message GParted 0.25.0 --enable-libparted-dmraid --enable-online-...
Ahammed Shamil K's user avatar
3 votes
0 answers
1k views

TestDisk doesn't find the right Ext4 partition

Situation: I have a hard disk that originally had some NTFS partitions and an Ext4 partition (besides some unallocated space and a Linux Swap). It lost its partition table. Nothing has been ...
Raphael's user avatar
  • 151
2 votes
2 answers
600 views

Weird partition table

I was given a hard disk to repair/extract data from. This hard drive was once the hard drive of a computer that had windows and linux installed (using grub to change between two). Booting from the ...
AidenPearce's user avatar
2 votes
1 answer
343 views

Accidentally Formated /dev/sda1

I was messing around with some partitions on a PC that has both Windows 7 and Ubuntu 15.04 installed on it. In gparted, I distractedly formatted /dev/sda1 as fat32. Upon rebooting, I got the message "...
David Greydanus's user avatar
2 votes
1 answer
267 views

How to make my restore partition usable again?

I have an old Samsung X420 in which I had installed Linux years ago, alongside Windows 7. I gave it to my girlfriend to use and since she didn't deal well with Linux and GRUB, I wiped and recreated ...
Cleber Goncalves's user avatar
2 votes
1 answer
3k views

Lost ext4 partition: testdisk lists files, but fails to fix partition table

Summary: Testdisk finds the lost ext4 partition and is able to list containing files, but trying to write the partition structure to the disk does nothing. Update: After running e2fsck -f /dev/sdc1, ...
hife's user avatar
  • 121
2 votes
1 answer
170 views

Can't clone one SD to another with dd

I have: Broken 32GB micro SD card - cannot write anything to it despite trying to force with (hdparm -r0 /dev/sdc): EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem EXT4-fs (sdc1): ...
Raprot's user avatar
  • 21
2 votes
3 answers
547 views

Recovering filesystem in mangled partition

Accidentally booted the Acer Recovery partition of my multi-boot laptop and despite selecting EXIT when presented with a choice of whether I wanted to recover anything or not, one of my partitions got ...
fyo's user avatar
  • 56
2 votes
0 answers
882 views

How can I recover a partition after luksFormat?

How can I recover an ext4 partition after luksFormat? It was late one night when I decided to try gnome-shell 3.16 without messing up my Ubuntu box. So, I downloaded an Antergos image and booted it. ...
Ludenticus's user avatar
2 votes
0 answers
99 views

Can not copy files after installing windows

I am experiencing a weird problem. I was running Xubuntu on my laptop until yesterday that I had to delete Xubuntu and install Windows. I had a NTFS partition on my Xubuntu that I kept some files on ...
Ali's user avatar
  • 193
1 vote
1 answer
202 views

Recover removed partition

My Debian system hat a default encrypted installation ("use whole disk with encrypted LVM" in setup). Then I used gnome-disks to do something on an microSD card that had the same setup. EFI Partition, ...
Nidhoegger's user avatar
1 vote
3 answers
8k views

Recover Partition Table After Remove Partition (parted)

I deleted a partition using (parted) rm 3, so I could extend my ext4 partition. Here was my partition table before I removed it: Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B ...
Ethan H's user avatar
  • 161
1 vote
1 answer
702 views

Gparted crashed during resize. Can I recover data?

I was using Gparted on a live Disk to resize and it crashed midway. Now I'm booting to see this: BusyBox v1.38.1 (Ubuntu 1:1.30.1-6ubuntu2) built-in shell (ash) Enter 'help' for a list of built-in ...
Mayank's user avatar
  • 218
1 vote
1 answer
2k views

Reliably identify a disk (not a partition) in Linux (Debian)

I want to backup the partition table of a disk in a script like this: sfdisk --dump /dev/sda > partition_table.dump But I do not want to use /dev/sda, because it may not be reliable. /dev/disk/...
Toxiro's user avatar
  • 113
1 vote
1 answer
534 views

Btrfs volume management for normal home user

Btrfs is by design for enterprise use, but that doesn't stop normal home users from using it. By normal home user, I mean those people who don't use complicated setup like mirroring, or any level of ...
xpt's user avatar
  • 8,851
1 vote
1 answer
144 views

Windows reporting less space on SSD. Is it the ex-linux partition?

I attempted a Windows 8.1/ LinuxMint dualboot on the same drive. After giving up on Mint, I would like to have my disk space back. I reserved about 20 GB for Mint when I installed it. As a result ...
programstinator's user avatar
1 vote
2 answers
567 views

renamed home partition volume in osx with diskutil and now cannot login

It's been a long day and I am pretty tired and that's the only reason I can figure that I thought I would rename one of the volumes on this old macbook (running osx 10.6) without worrying about ...
erewok's user avatar
  • 751
1 vote
2 answers
4k views

linux can't read partition table

My laptop has a Hitachi HTS725050A7E, this is 500GB with 4k block size. It shipped with two partitions, a 10G recovery partition on the front of the disk and the remainder of disk space in one big ...
Segfault's user avatar
  • 673
1 vote
2 answers
350 views

Recover/reinstall UEFI partition after dd to /null

Has you can guess from the tittle I'm a moron. I got angry against an USB key and try to format it's partitions with a dd and /null , but instead I deleted my sda1 and sda2 partitions. I realized ...
aurelia's user avatar
  • 11
1 vote
1 answer
730 views

Triple Boot macOS Sierra / Windows 10 Enterprise / Kali Linux

I'm running into a problem trying to get a Triple Boot working on a MacBook Pro (256GB SSD) for macOS Sierra, Windows 10 Enterprise, and Kali Linux. It all started today when I went to size down my ...
John Ernest's user avatar
1 vote
1 answer
6k views

ext4 partition type unknow after restart and cannot be mount

After restarting my pc, I've stuck on error of my /home partition. It cannot be mount. Partition table is unknown. For this partition I had dedicated Goodram ssd 250 gb drive. On this disk there was ...
masterdany88's user avatar
1 vote
2 answers
260 views

Ext3 drive empty and detected as ext2 after restoring superblock with e2fsck

I have an ext3 disk from my NAS. I took this drive out of the NAS and mounted it under my Debian Wheezy system. When I ran fsck it told me that the superblock was bad. I don't haver a full log, but ...
Black's user avatar
  • 456
1 vote
1 answer
148 views

Gray Progress Bar in Macbook Boot caused by Partition Fault

Here's my problem: When I try to load my Macbook it shows the gray progress bar. It takes a while to fill the whole progress and after it Macbook just shuts down. I tried to boot from a recovery ...
Konstantin Bodnia's user avatar
1 vote
0 answers
434 views

Can't find partitions

I have a server with two hard disk - in rescue mode because one of the disk failed and had to be replaced -. I had to hire a data recovery service, few days later they told me that it was ready, but ...
EDP's user avatar
  • 11
1 vote
0 answers
702 views

Rescue partition from HDD with broken partition table

Problem My external (USB) hard disk isn't detected correctly by the computer any longer. I want to recover its second veracrypted primary partition /dev/sdb2. I know exactly it's size and it's ...
AlexLoss's user avatar
  • 254
1 vote
0 answers
232 views

Corrupted SD Card

I am using Micro SD Card for OS on my Odroid micro-controller. Today I figured out that my Micro SD Card is not responding. I plug into my Laptop ( Linux OS ) and after that in other laptop ( Windows )...
ValeriRangelov's user avatar
1 vote
0 answers
298 views

Recover a Windows partition (under GRUB) and lost files

I am bringing this question and comments here, after feeling stackoverflow wasn't a place for me. I hope, at least, get some help here. Thank you very much indeed in advance. I really need a solution ...
karakol's user avatar
  • 11
1 vote
1 answer
2k views

how can I reintegrate a lost and found pv into an LVM vg?

I recently lost a RAID that was a physical volume of one of my linux LVM volume groups. I ended up doing a vgreduce --removemissing and got on with the business of restoring the data. Well, today I ...
Mutant Bob's user avatar
1 vote
2 answers
1k views

Accidental Windows to Linux Overwrite

I wanted to install Linux for my system and was expecting it to dual-boot and I would have double OS in my system. But I ended up pressing the "Use Entire Disk..." option thing (Not 100% sure if that'...
RepeaterCreeper's user avatar
1 vote
0 answers
3k views

How to fix damaged NTFS partition?

I have an external HDD with one NTFS partition. I wanted to transfer some files between PCs, so I have copied some files from Debian PC to the drive. After then as usual I have chosen safety remove ...
Krisztián's user avatar
1 vote
0 answers
175 views

How to restore Vista from a corrupted install of Xubuntu?

On my laptop, I've decided to get Xubuntu. During the process, my laptop overheated and shutdown during the installation process. As I turn it back on, it has GRUB, not allowing me to go on Xubuntu or ...
slippery's user avatar
  • 782
1 vote
0 answers
358 views

recover linux partition after failed windows xp install

I have a pc with two hard drives, one runs Ubuntu 10.10 and the other has NTFS with a broken XP. The XP failed after I upgrade Ubuntu to 10.10. I installed virtualbox in Ubuntu so for a while I ...
gyrokinetic's user avatar
0 votes
2 answers
1k views

HDD with bad sectors, MBR gone, how to recover partitions

The hard drive in my old laptop started returning errors, so I stopped using it (probably a bit too late). It's in an external cradle now, that I've mounted read-only a couple of times. Unfortunately ...
AI0867's user avatar
  • 101
0 votes
3 answers
3k views

Home partition recovery

I have a problem with my Linux system, I cannot access anything . So I am trying to boot from a live distro and save my home folder into an external hard drive . I used to have the /home in a ...
4m1nh4j1's user avatar
  • 103
0 votes
1 answer
765 views

How to recover lost partitions using a bootable pen drive?

I have lost all partitions in my laptop's hard disk recently and its now showing as a raw disk. I have made a bootable pen drive using Ubuntu-12.04 and trying to recover the lost data using TestDisk....
user1235555's user avatar
0 votes
0 answers
268 views

How to mount Windows 11 nvme in Linux

I was given Dell Inspiron 7706 laptop with Windows 11 that got corrupted during upgrade (power loss). It won't boot Windows anymore (\windows\system32\winload.efi missing or damaged). I have ...
crashulater's user avatar
0 votes
0 answers
148 views

access files in Manjaro partition from Windows partition

I am dual-booting Windows 10 and Manjaro Linux. While running a pacman -Syu on the Manjaro partition, the computer crashed. Pacman stopped working and at first I tried to fix it by deleting the lock ...
slkfnklswe's user avatar
0 votes
0 answers
117 views

Will macOS internet recovery remove my Linux Install?

I own a MacBook Pro from 2009 and I recently installed Linux on it (with a swap and / partition). I recently made the stupid mistake of messing with partitions, which caused macOS 10.13 to stop ...
justsomeguy's user avatar
0 votes
1 answer
687 views

Position and type of linux partition in dual boot with windows 10?

I have a mbr partition style and use BIOS system. I shrank volume C:\ to make a new partition for linux. Linux partitions are detected as primary partition by windows and they're on the left side of ...
hiep's user avatar
  • 1
0 votes
0 answers
1k views

Partition became RAW, TestDisk advice

~3 days ago a 238.2GB NTFS partition became RAW, losing ~170-180GB of data, and I have been trying to fix the problem for about 14 hours. Potential reasons partition went RAW: I have dual-booted ...
Veketarist I's user avatar
0 votes
1 answer
3k views

How to use Linux to Partition and Format a blank external hard drive where the partitions were lost

I need some help rescuing a new and blank 4 terabyte external SSD USB hard drive. The original partitions were 3.64T and a 0.36 partition labeled "Microsoft Partition" Using GParted, I ...
user787832's user avatar
0 votes
1 answer
460 views

Can't access content in secondary drive partition after installing Manjaro Linux

I'm going through this problem for some time now, bit more than a month. I am not a Linux user, I was installing it to learn it. I have two HD's in my note, I had Windows installed in a SSD and used a ...
Marvin's user avatar
  • 1
0 votes
1 answer
169 views

I changed my secondary drive to EFI after a Gentoo install. Can I get my files back?

I'll try to explain the situation, because my setup was really strange and I never bothered to fix it. Basically I had a main 256 GB Crucial SSD with the Windows 10 OS and all of my main work on it. ...
Desslok's user avatar
0 votes
1 answer
17k views

Linux: Access Files In Another Partition

I had a LG N1T1 NAS drive that got shut down during a power outage. When power returned, the permissions were gone. I couldn't access the web services and the shared folders wouldn't open. I took the ...
TylerJBlomberg's user avatar

15 30 50 per page