Recovering partition table

  • Thread starter j777
  • Start date
148
0

Main Question or Discussion Point

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

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.
 
verty
Homework Helper
2,157
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:
2,035
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 for: Recovering partition table

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
7
Views
10K
  • Last Post
Replies
2
Views
733
  • Last Post
Replies
3
Views
5K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
9
Views
5K
  • Last Post
Replies
1
Views
2K
Top