Search found 2 matches

by kmlmkm
26 Sep 2019, 12:42
Forum: Partition Recovery
Topic: Deleting accidental GPT partition and writing restored Intel partition table
Replies: 2
Views: 3699

Re: Deleting accidental GPT partition and writing restored Intel partition table

Thanks for the reply!

I'm using an external bootable flash drive with Arch Linux at the moment. It is /dev/sdc. /dev/sdb is a secondary, storage drive and /dev/sda is the drive which needs to be fixed.

~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 915.8G 0 ...
by kmlmkm
25 Sep 2019, 13:19
Forum: Partition Recovery
Topic: Deleting accidental GPT partition and writing restored Intel partition table
Replies: 2
Views: 3699

Deleting accidental GPT partition and writing restored Intel partition table

I'm using Debian Stable.

I was using the root account to wipe some drives and was using sgdisk to copy over the GPT partition table from /dev/sdc to /dev/sdd .

The command was

sgdisk -R /dev/sdd /dev/sdc

and then

sgdisk -G /dev/sdd . My primary hard disk is sda and I have another hard disk ...