[GTALUG] restore GPT partition table?

ac ac at main.me
Tue Oct 25 12:03:54 EDT 2016


On Tue, 25 Oct 2016 11:42:09 -0400
Alvin Starr via talk <talk at gtalug.org> wrote:
> 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
> 
works by me too... 



More information about the talk mailing list