You are not logged in.
Hello,
Using parted, I have changed the partition table of /dev/sda from gpt to msdos by mistake (instead of /dev/sdd).
/dev/sda is an arch install (sda1 --> /boot, sda2 --> /).
I am writing from my second arch system. I have back up and can reinstall easily, but is there a quick way to restore the content of those 2 partitions? Or is reinstallation the better way?
Last edited by raphaelabb (2024-04-01 12:28:33)
Offline
Offline
It is possible to re-create the table manually but you would have to know the exact sectors at which the partitions start and end.
Jin, Jîyan, Azadî
Offline
It did the job! Used as root from another arch installation on another disk, It recreated the altered GPT table and my Arch boots fine.
testdisk is available in Arch Extra Repository. Cool software...
Thank you.
Last edited by raphaelabb (2024-04-01 12:30:20)
Offline