Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-19-2010, 03:42 AM   #1
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Restore btrfs partition

Extended partition entry was corrupted by Windows Logical Disk Manager. This entry consisted of Swap and Btrfs partitions. How one should restore correct records?

I tried Testdisk, seems that it doesn't know about btrfs. If there isn't any other way, I would be up for coding and adding btrfs support, but I have no clue how btrfs works. So I would be happy for some btrfs internals documentation too.

I imagine that it should have some special header, then superblock should follow, which should repeat after number of bytes. Finding that header would be enough to find where my partition begins.
Old 12-19-2010, 04:01 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,627

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
It has to be said the doco for btrfs is less than expansive. Yet - hopefully will improve.
You might try looking at this.

I take my own sigline (significantly) to heart with my btrfs systems - of which I have more than a few.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ran mkfs.vfat over top ntfs partition... any way to restore ntfs partition info? oryan_dunn Linux - Hardware 8 10-14-2010 07:08 PM
parted doesn't see display name when partition is reiser4 or btrfs robertjinx Linux - Software 2 08-08-2010 03:19 AM
Restore an ext2 partition from a msdos partition zerotyler Linux - Newbie 4 10-02-2009 08:41 AM
using dd to restore a partition nkoplm Linux - General 9 12-15-2006 07:49 AM
Why can't I restore a partition table backup containing a reiser partition? oldweasel Linux - Software 2 05-23-2004 01:11 AM

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration