[GTALUG] restore GPT partition table?

Alvin Starr alvin at netvel.net
Tue Oct 25 11:42:09 EDT 2016


On 10/25/2016 11:35 AM, Kevin Cozens wrote:
> On 16-10-25 08:07 AM, Alvin Starr via talk wrote:
>> The following link points to how to recover your partition from the in
>> system data:
>> http://unix.stackexchange.com/questions/43922/how-to-read-the-in-memory-kernel-partition-table-of-dev-sda 
>>
>
> The information on that page is from 2012. It doesn't apply to current 
> versions of the kernel. When I tried to use the technique showed to 
> see if it would show the size of my drive partitions the referenced 
> file doesn't exist.
>
Kind of weird  because it worked for me on a Centos 7 system and another 
F22 system.

[alvin at alvin ~]$ cat /sys/block/sda/sda1/size
40960000
[alvin at alvin ~]$ cat /sys/block/sda/sda1/start
2048

-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20161025/d0d57333/attachment.html>


More information about the talk mailing list