Skip to main content

Questions tagged [gdisk]

The tag has no usage guidance.

0 votes
1 answer
33 views

Is it possible to move partitions around on Mac OS using dd and gdisk?

Please bare with me, if this question seems dumb. I'm not experienced with filesystems and partitions. I have an IMG file from a 16GB sd card. My issue is: I have a 32GB sd card and do not want 16GB ...
Skeeve's user avatar
  • 101
0 votes
2 answers
308 views

Cannot repair a disk with corrupted GPT using gdisk

I have a disk that was forcefully closed when it was working in a disk operation (when downloading files to it). Now, the GPT is corrupted and I cannot mount it correctly. I am trying to mount it ...
LobaLuna's user avatar
  • 103
0 votes
0 answers
284 views

after power breaks, gparted / fdisk reports that ssd disk has incorrect table. How to fix it

After power breaks, gparted / fdisk reports that ssd disk has incorrect table. How to fix it In every power break, same thing happens. ssd is off and gdisk says that the table exceeds disk limits. I ...
Estatistics's user avatar
15 votes
3 answers
6k views

What is the purpose of the Linux home partition code 8302?

I am formatting an SSD for use in a Linux system and I see that there is a distinct gdisk code (8302) for the /home partition if one is created. The alternative I suppose would be the "Linux ...
Tyler Durden's user avatar
  • 6,171
0 votes
2 answers
441 views

Do you need to reserve 2014 free sectors at the beginning of a data-only drive?

Let's assume you use a new drive as a secondary drive in you PC and plan to store only your data there. (In my case, it's %USERS% of Windows and /home of Linux. The programs and system will be left on ...
user avatar
5 votes
3 answers
6k views

increased size of disk in a Virtual machine, but gdisk doesn't want to use the new space

I have a VM with a virtual disk (visible as /dev/sdb) with a size of 10G The admin increased the size of the virtualdisk to 60G. I rebooted the machine and see now, that the disk is bigger. root@...
gelonida's user avatar
  • 385
2 votes
1 answer
273 views

SSD thinks it's larger than it actually is

I'm trying to install Fedora alongside Windows 10 on a new laptop. The laptop has two 512GB SSD disks, which in the Disk Management tool showed as just one 1TB disk. I shrunk the partition on which ...
ragnaroh's user avatar
  • 121
0 votes
1 answer
3k views

Can Gparted make a jump move of a partition?

There is a similar question: GParted moving partition from beginning of disk to the end of a disk? I know I can move a partition left / right if there is a free space to the left or to the right of a ...
Ashark's user avatar
  • 3,818
1 vote
0 answers
324 views

How to create a partition with gdsik without naming it?

I'm currently looking for alternatives to graphical programs for partitioning my hard drive. So I'm searching for an easy command line tool for it. Since my hard drive has a GPT partition table the ...
Nicryc's user avatar
  • 707
1 vote
0 answers
383 views

samsung nvme ssd write errors on gpt restore, even with 100% available_spare

i have an samsung nvme ssd with corrupted gpt information. Nevertheles live boot running gdisk reported, that the on-disk gpt backup is clean and can be used to restore the main gpt information. So ...
cguenther's user avatar
  • 301
2 votes
1 answer
16k views

How to fix damaged GPT with hybrid MBR?

I have a SD card that has some issues and I could not fixed them. This is how the disk looks like in GNOME Disks: When I run gdisk /dev/sdb, it gives the following output: sudo gdisk /dev/sdb GPT ...
me0076's user avatar
  • 23
4 votes
1 answer
6k views

Linux: Resize disk without updating GPT: gdisk says new sectors not usable

I have a 1TB harddisk /dev/sda and I bought a 2TB new disk /dev/sdb. There're already some partitions in sda. I run dd if=/dev/sda of=/dev/sdb, then threw my old 1TB disk /dev/sda into dustbin. Then ...
recolic's user avatar
  • 569
2 votes
1 answer
1k views

Gparted implicitly converts protective MBR to hybrid when creating a NTFS partition

Gparted is implicilty converting my protective MBR to a hybrid MBR without asking me and without telling me, thus breaking everything I'm trying to do (making a NTFS partition that's accessible on ...
Andreas's user avatar
  • 670
2 votes
0 answers
97 views

GUID Partition Attribute not working on MacOS

I'm trying to prevent automount on a device. The device contains only one FAT32 GPT partition. I have set the GUID Partition attribute to 63 using gdisk (i.e. do not automount). I have also tried ...
Jean-Charbel VANNIER's user avatar
3 votes
1 answer
1k views

How to write a protective MBR in Windows?

I have a UEFI machine with CentOS on one disk and Windows 2016 on another. The Windows installer writes the GPT protective MBR, but it doesn't follow the UEFI standard exactly, as described here. It ...
Peter Westlake's user avatar

15 30 50 per page