Recovering partition table

  • Thread starter j777
  • Start date
  • #1
j777
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
j777
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,185
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
neutrino
2,091
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.
 

Suggested for: Recovering partition table

  • Last Post
Replies
30
Views
3K
Replies
20
Views
701
Replies
6
Views
767
Replies
38
Views
2K
  • Last Post
Replies
3
Views
1K
Replies
9
Views
2K
Replies
11
Views
522
Replies
14
Views
1K
  • Last Post
Replies
2
Views
411
  • Last Post
Replies
9
Views
8K
Top