Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Recovering partition table

  1. Feb 9, 2007 #1

    I just made some changes to my partition table in linux using fdisk that are very bad. For the moment everything is fine but when I reboot those changes will take effect. Is there any way to restore my partition table from the good version that the kernel is still using?

  2. jcsd
  3. Feb 9, 2007 #2
    Well I was able to restore the partition table using the information in /proc/partitions but unfortunitely the script that screwed things up also formatted the first 2 partitions. Thankfully those were only the windows partitions and I have backups for the important stuff that was on them.
  4. Feb 10, 2007 #3


    User Avatar
    Homework Helper

    It is possible to make a backup of the partition table before you make changes?

    (sorry, I meant 'is it', this wasn't meant to be a slur)
    Last edited: Feb 10, 2007
  5. Feb 10, 2007 #4
    It's better to have a Live-CD/Live-USB of partition manager, such as Gparted, at hand in case you face the same situation in future.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook