Questions tagged [gdisk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
3answers
2k 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 ...
0
votes
2answers
71 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 ...
3
votes
3answers
2k 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@...
2
votes
1answer
123 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 ...
0
votes
1answer
266 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 ...
1
vote
0answers
65 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 ...
1
vote
0answers
144 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 ...
1
vote
1answer
6k 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
465 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 ...
2
votes
0answers
67 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 ...
3
votes
1answer
937 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 ...
0
votes
1answer
3k views

Converting MBR to GPT during Windows installation without wiping the disk

I get an old laptop with Windows 7 installed. Wishing to just clean install Windows 10 while keeping the data on non-system partition, I made a mistake by booting from Windows 10 installer USB drive, ...
2
votes
1answer
2k views

gdisk: strange warning message on newly partitioned/populated disk

I just ran gdisk on a newly partitioned and fully populated disk and am getting the following error message. I am not sure how things can be overlapping since I've just created this ONE single ...
0
votes
2answers
8k views

Using GPT fdisk utility produces error

I'm trying to install Windows 10 on the following hardware: Mac Mini (late 2014) Running MacOS High Sierra I have disabled SIP and confirmed that it is disabled. When I run the command in Terminal: ...
0
votes
1answer
235 views

GPT disk unaccessible lost HFS+ partitions

MBP early 2011 running OSX 10.11.6 3TB Seagate external HDD My Seagate had all (not sure how many) HFS+ partitions working ok until one day it stopped mounting. currently listed as /dev/disk3 and ...
2
votes
2answers
2k views

Sort GPT partitions in Linux with gdisk (command s)

I have tried to sort my partitions to change the order, but when I try to use s command of gdisk, this warning appears: You may need to edit /etc/fstab and/or your boot loader configuration! And it ...
1
vote
1answer
13k views

GPT partition type for ext4 filesystem

My disk is formatted using GPT. I created a new partition and by default it was create as 'Linux filesystem' (gdisk code 8300). When I am trying to mount it via fstab /dev/sda4 /vmguests ...
2
votes
0answers
105 views

are there any steps available to cross compile gdisk?

We need gdisk(from gptdisk) for am335x based custom board. We are using Linux OS on the board. We need to cross compile it. Is there any guide for the same ? I am not able to find any guide for the ...
0
votes
2answers
3k views

MBR protective to MBR hybrid OSX

Right to the point I wanted to install W10, but it said that it doesn't like my gpt partition. So, with the help of gdisk, I followed this tutorial MBR hybrid to MBR protective Buuuuut it turns out ...
1
vote
2answers
4k views

Recover Data on GPT protective partition

For an unknown reason, my laptop's windows 10 stopped booting correctly this week. after analysing disks, it appear that the first disk with the OS was in a terrible shape (lot of noise when reading/...
0
votes
1answer
3k views

Creating GPT partition using sgdisk on emmc 2GB

I am trying to partition my 2GB emmc using sgdisk to have a GPT partion table. The commands show success and also the GPT partition table looks updated (even on reboot) but the partitions are not ...
3
votes
2answers
2k views

GPT partition table is corrupt after every one to three reboots [closed]

After 2 or three power cycles, I get the grub rescue menu. I use a Ubuntu LiveCD to check my drive status and gparted says that my drive don't have any partitions. I checked the internet and I found a ...
0
votes
1answer
1k views

Overwrote startup disk's partition table with gdisk; how to restore?

I installed a new hard drive in my home server today, went to format it in gdisk (larger than 2 TB), set the changes and wrote them. Then I noticed that I had selected the wrong disk, in fact I just ...
0
votes
1answer
2k views

Caution: invalid backup GPT Header (gdisk)

Each time I boot into my Ubuntu installation, when I open gdisk I am given the messages: GPT fdisk (gdisk) version 0.8.8 Type device filename, or press <Enter> to exit: /dev/sda Caution: ...
1
vote
0answers
525 views

gdisk doesn't recognize RAID0 disk as size of whole array?

I put in two Samsung 840s at 256GB and RAID-ed them together and installed Windows 8. I'm having trouble using gdisk to get ready to install Linux. gdisk sees the array, /dev/sda0, as a whole ...