Questions tagged [gdisk]
Questions about GPT fdisk (aka gdisk), the text-mode interactive program for creation and manipulation of partition tables. For scripting with gdisk see sgdisk.
39 questions
0 votes
1 answer
119 views
I set the cylinder head sector count to 0, how do I undo this?
I was playing around with testdisk, gdisk and fdisk, and I set the cylinder head sector count to zero by mistake, and the system now reports "no medium". I tried opening the drive with gdisk,...
0 votes
2 answers
103 views
Where does the "Physical size" information come from?
I have an embedded Linux device (not a Raspberry Pi) which has two partitions on an eMMC drive. I have used a vendor-provided tool to copy these two partitions onto a USB drive whose size roughly ...
0 votes
0 answers
133 views
Problems after migrating drives to HBA-connected disk shelf
I had 4 drives (2x3TB, 1x4TB, 1x18TB) in USB SATA docks connected to my proliant server. I finally got my HBA to recognize my IBM disk array, and managed to get the drives recognized in Ubuntu server ...
2 votes
0 answers
328 views
Recover data from deleted (still intact) raid 5
So through a shell script gone sideways I accidentally deleted my mdadm raid5 (3 HDDs) and the partitions from the disks (so disks still connected according to lsblk as {sdb|sdc|sdd}). I have not ...
0 votes
1 answer
1k views
How to mount a sparsed disk image
I have an image of the mSATA SSD disk of a PC. The disk contains the operating system and has a capacity of 512GB. I do not have that free storage, so I have cloned the disk into an image with dd ...
0 votes
1 answer
2k views
Does gdisk partition and format it with xfs?
Using CentOS 8.5 I tried this on a new disk with no data or partition tables. GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not ...
0 votes
1 answer
128 views
Will I lose all mounts and symbolic links if I resize partitions with gdisk in Linux/Android?
I have a rooted Android tablet running Termux terminal. The device has 32gb built-in storage. 6gb is partitioned for "Internal Storage" and is used for apps/games/documents and such. 23gb is ...
0 votes
1 answer
6k views
Unable to open device '/dev/sdb' for writing! Errno is 30! Aborting write!
1st set of commands Using these commands with GDISK: > sudo gdisk /dev/sdb o n w I get: Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to ...