Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Ive had the following issue. Yesterday Ive dd-ed a HDD with fedora 18 which was split in 3 parts: fedoras sda1 which was ext4, sda2 which was the LVM and sda3 which was ntfs storage partition. Ive cloned with dd if=/dev/sda of=/dev/sde count 80G and after the boot, the 80G cloned image had the mounted ntfs partition, which appears to be unmountable and imovable. When I click on it it gaves me: Error mounting /dev/sda3 at /run/media/ilian/Data: Command-linemount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/run/media/ilian/Data"' exited with non-zero exit status 12: Failed to read last sector (468840447): Invalid argument. When Ive opened dev/sda with gparted it reports that its unallocated data, and needs a partition table, but creating such will erase the hdd. OK, I dont mind having the 3rd drive, since nothing is problematic with it - it just stays there and is unaccessible, but is there a way to remove that sda3 partition? cfdisk can`t open it also... so I was thinkig about fsck from my usbbootable rescue linux? Any ideas?

share|improve this question
add comment

1 Answer

I`ve restored the partition table with sfdisk -d /dev/sda > part.txt, removed the fake partitions then sfdisk /dev/sda < part.txt and everything is normal now :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.