My ubuntu laptop has died, and so I am attempting to recover some files off the hard drive using a raspberry pi. I have removed my laptop's hard drive and attached it to my raspberry pi via usb. I am now trying to figure out how I can cd into it to view my files.online, various forums say to use sudo fdisk -l but this apparently cannot read GPT. When I run the command, a message says The util fdisk doesn't support GPT. Use GNU Parted.Gparted is a graphical application. I would like a way to do this using the terminal alone.I do not wish to modify the hard drive, only read from it.How can I do this and access my files?Update: So I figured out sudo parted -l outputs Model: ST500LT0 32-1E9142 (scsi)Disk /dev/sda: 500GBSector size (logical/physical): 512B/512BPartition Table: gptNumber  Start   End    Size    File system     Name  Flags 1      1049kB  538MB  537MB   fat32                 boot 2      538MB   492GB  491GB   ext4 3      492GB   500GB  8483MB  linux-swap(v1)I want to cd into the 492GB partition. I tried sudo mount /dev/sda2 /mnt but that gives memount: wrong fs type, bad option, bad superblock on /dev/sda2,missing codepage or helper program, or other errorAny ideas as to what I'm doing wrong?
How do I cd into a hard drive with a GPT partition table using a raspberry pi running raspbian?
hard disk;gpt