Recovering partition table

  • Thread starter j777
  • Start date
  • #1
148
0
Hi,

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?


Thanks
 

Answers and Replies

  • #2
148
0
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.
 
  • #3
verty
Homework Helper
2,164
198
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:
  • #4
2,063
2
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.
 

Related Threads on Recovering partition table

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
842
  • Last Post
Replies
7
Views
11K
  • Last Post
Replies
3
Views
5K
  • Last Post
Replies
4
Views
3K
Replies
6
Views
260
  • Last Post
Replies
9
Views
6K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
9
Views
3K
Top