[SOLVED] disk accidentally converted to GPT -what i can get back my data ?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
disk accidentally converted to GPT -what i can get back my data ?
Hello!
I have system with intel 965 chipset, slackware64 14.0
there i have also WD green 1 TB disk, divided two about the same size, primary ext4, if i rememner correctly ( if not - ext3) partitions with various my files - photos, videos, and so on.
that disk is too small, as so i purchased 3TB disk for swap. newly disk i plan to initialize as GPT disk, as so yesterday i make a little research about tools on my machhine for that - gdisk,cgdisk. i remember, one of that utils write "your partition on /dev/sdc ( my 1 TB disk) is converted to GPT, bla-bla-bla, but i sure, i do not "write command, as so i sure, it is not write to the actual disk. today i purchase 3 tb, swap, connect old 1 TB via USB to copy data from old to new, and found - kernel on device found says "unknown partition" on old, 1TB disk.
do a cfdisk /dev/sdd ( old disk), and see - there is writed "sdd1", primary, and "GPT" :-O
try mount /dev/sdd1 / sdd2, but mount says that not exist :-O
there is any way to get back my data?
and why that GPT utils convert and save state without question? ( i do not sure, but imho it is cgdisk, who done that "wonderful" situation).
PS: It's called Photorec but it recovers everything, really.
Thank you!
Downloaded, run ./testdisk /dev/sdd
-started interactive mode, found my both MBR partition, prompt for write it to disk.
now all looks ok, copying data to new disk!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.