Skip to main content

Questions tagged [gpt]

Use this tag for GPT partition tables.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Resize Disk Image with Protective MBR and GPT table

I've got a disk image that I need shortened slightly (long story - but it deals with variances in flash drive sizes). The partitions are already short enough, but the drive size is not. Basically, I ...
johnnyb's user avatar
  • 101
1 vote
0 answers
52 views

Unable to load into installed linuxmint os

I currently have Windows and Arch Linux installed on a drive with a GPT partition and grub. I am now trying to install Linux Mint alongside these two. I am installing Mint on a second HDD (same PC) ...
JustaNobody's user avatar
0 votes
0 answers
25 views

rEFInd won't boot /dev/sdb without manual edit of .../boot/refind_linux.conf

I have two disks running and I attempted to get them both bootable using 'rEFInd' with no luck. All the partitions on both disks are set up for UEFI/GPT the same way. I did: % refind-install --root /...
Ray Andrews's user avatar
  • 2,527
4 votes
1 answer
648 views

What is the significance of GPT's "Partition Type GUIDs"?

When I use cfdisk to create a new partition, I usually change its type to Linux filesystem. There's multiple types for most operating systems, but a very large number for Linux (architecture-specific ...
Simon Branch's user avatar
1 vote
1 answer
108 views

How can I manually install a Yocto image?

I'm having difficulties installing an image I've built with Yocto. In the past I've always used u-boot, MBR, and legacy boot. Installing Yocto meant creating boot and rootfs partitions, installing the ...
Dave's user avatar
  • 23
0 votes
1 answer
407 views

Convert MBR/BIOS to GPT/UEFI (infodump)

I wanted to upgrade my 1.5TB HDD to a 4TB SSD, none of the internet resources I found correctly matched my situation from beginning to end, and I ended up spending about 20 hours getting it to work, ...
Erhannis's user avatar
  • 239
0 votes
0 answers
51 views

Cannot mount partitions from image

I have a dd image of an old SSD. It's been sitting on an external HDD for a while, but I have previously been able to mount the image and its partitions. Now, for some reason, I can only mount the EFI ...
Chris's user avatar
  • 565
0 votes
0 answers
190 views

new USB stick: backup GPT table corrupt, primary appears OK

Kubuntu - I can't mount/partition a new USB-stick [1] The sudo fdisk -l output is: The backup GPT table is corrupt, but the primary appears OK, so that will be used. Disk /dev/sdb: 61 TiB, ...
Joan DoeT's user avatar
1 vote
1 answer
360 views

install & configure grub within debootstrap chroot

i have a big knowledge gap in bootloading, thats why i'm actually practicing learning by doing. I have a dedicated test server and try to install linux over hetzner rescue with debootstrap. (Writing ...
yFStein's user avatar
  • 11
3 votes
2 answers
3k views

How to resize the GPT partition table itself on Linux?

I have cloned a 1GB pen drive to an 8GB one using dd. But the size of the GPT is still 1GB. For example the secondary (backup) GPT is still located at 1GB (it has to be moved to the end of the disk). ...
zomega's user avatar
  • 972
0 votes
2 answers
229 views

How to make Linux read partition table in a partition?

I have a (GPT-partitioned) disk, for example /dev/sda. /dev/sda8 is a partition on that disk. I used the cfdisk utility to create a GPT table with few partitions in /dev/sda8. I expected these ...
melonfsck's user avatar
1 vote
1 answer
514 views

Boot problem after cloning

Guess this is the first time I post a question here. Have been playing with Linux and VMware servers for more than 10 years now. Lately I decided to move my focus on Debian desktops and ProxMox (again)...
Steijn van Essen's user avatar
0 votes
0 answers
35 views

How can same GUID partition table be used in two different internal storage size?

I am looking at this mediatek soc that has two configurations 128gb and 64gb. The same GPT binary is being flashed at 0x0 so I don't understand how the same GPT can be used for two varying different ...
unfold's user avatar
  • 1
2 votes
2 answers
2k views

Fix Linux grub with boot-repair with an old BIOS PC and a GPT drive?

I have a GPT formatted SSD Drive that I have moved from a rather new laptop to an older one that has an old BIOS. The Linux systems installed on it work fine (Kubuntu 22.04 and Mint 21), although I ...
cipricus's user avatar
  • 1,629
0 votes
1 answer
46 views

Copying a partition in GParted results in larger partition?

I copy a 300 GB partition using GParted, and paste it onto an existing 500 GB partition. After two hours of transfer it says it's attempting to resize the newly pasted partition, and immediately fails ...
Andreas's user avatar
  • 521
0 votes
0 answers
540 views

'lsblk' is not displaying the GPT partition label after formatting the disk

My lsblk is not showing gpt partition label for one disk partition, which was freshly formatted with mkfs.ext4 -v -L MyLabel mydev somehow the partition was not labeled properly afterwards. I didn't ...
xpt's user avatar
  • 1,644
8 votes
1 answer
855 views

Is it important to delete GPT/MBR labels before reformatting/repartitioning?

I've seen some disk formatting/partitioning discussions that mention destroying existing GPT/MBR data structures as a first step: sgdisk --zap-all /dev/nvme0n1 I wasn't previously aware of this, and ...
ivan's user avatar
  • 1,888
0 votes
0 answers
56 views

GPT root partition unable to grow; options?

I have the following partitions on my disk and lots of free space at the end of the disk. I need to grow root partition to occupy most to the space(Some for Swap) without loosing partition content. ...
rishi_sanju's user avatar
2 votes
1 answer
814 views

KDE Partition Manager not seeing full disk size after cloning Windows 10 (UEFI) to larger SSD: how to move the secondary GPT table?

(Solved. See below) After having cloned a SSD to a larger one, I want to move the Recovery partition at the end of the clone, and then expand the Windows partition to benefit from the additional ...
OuzoPower's user avatar
  • 241
0 votes
2 answers
141 views

Does erasing the MBR will touch the partition table?

If I run this dd command to blank the first bytes of a MBR, will it have an effect on the current partition table of this disk (or just on grub)? Will the partitions still be recognized? dd if=/dev/...
Sandburg's user avatar
  • 359
1 vote
1 answer
254 views

Dangerous to create partitions in unallocated space on the same disk as the running Linux system?

For context, I have a Fedora KDE installation whose partitions take up half my SSD. The other half I left unallocated when I installed Linux. Although I'm aware that it's dangerous to attempt to ...
legarto's user avatar
  • 13
1 vote
1 answer
2k views

Fixing an ext4 whole-device filesystem and corrupt GPT partition table

I have an issue very similar to the question here: https://askubuntu.com/questions/1370421/restore-ext4-hd-after-creating-gpt-partition-table My problem seems to be that I had an ext4 filesystem which ...
Sushisource's user avatar
3 votes
1 answer
544 views

Why is my backup GPT partition table corrupt on my MD RAID 1? And why does the kernel only see 1 randomly picked member disk a time?

I have 2 disks, each 1TB in size, and both of them are a member of an MD RAID-1 array, as created by this command: mdadm --create /dev/md0 /dev/sda /dev/sde --level=1 --metadata=1.0 The argument --...
caveman's user avatar
  • 173
1 vote
2 answers
90 views

archlinux in a different HDD

I have a PC with a mechanical interrupt in order to enable different hdds and use different OSs. Windows has bee installed with bios legacy and I am trying to install archlinux-uefi. At the end of ...
eugenio b's user avatar
5 votes
3 answers
38k views

How to fix "Bad magic number in super-block"

I try to move all data from one SSD to another SSD. The old SSD is 500 GB, and the new SSD is 1000 GB. Firstly I've created a backup: dd if=/dev/nvme0n1 | gzip -c /media/ubuntu/local/backup1.img.gz ...
Mikhail's user avatar
  • 51
1 vote
0 answers
518 views

Is ddrescue/dd cloning compatible with GPT/UEFI boot?

I used ddrescue many times for failing HDDs with MBR partition tables. It always worked perfectly and if the failing HDD was bootable, the clone booted, too. Now I have a possibly failing SSD, but ...
Glorifyday's user avatar
3 votes
1 answer
2k views

Fix GPT after using dd to clone a smaller disk onto a larger disk

I used dd to clone a smaller disk onto a larger disk, however now when booting I'm getting dmesg errors of: [Fri Sep 30 11:48:43 2022] GPT:Primary header thinks Alt. header is not at the end of the ...
Chris Stryczynski's user avatar
2 votes
0 answers
522 views

How are partition numbers (sda1, sda2, sda3, ...) determined?

In my experience, partition numbers have nothing to do with the physical ordering on the disk. And a newly created partition tends to have a larger number. How are partition numbers determined? Are ...
user356126's user avatar
0 votes
1 answer
591 views

How can I clone from 1TB MBR ssd to 4TB GPT ssd?

I have a raspberry pi with a 1TB hard drive. I managed to fill it up, so I purchased a new 4TB hard drive to replace it. I then used software called "Macurim Reflect" to clone the previous ...
johncorser's user avatar
0 votes
0 answers
3k views

Unable to mount EFI partition because of "wrong fs type, bad option, bad superblock". lsblk doesn't show UUID, while cgdisk does. MBR/GPT problem?

The backstory to this question. After erasing crypto_LUKS headers as specified in frostschutz's answer, I tried following this guide again. I got stuck at mounting Mac's EFI partition to /mnt/boot ...
Martian's user avatar
  • 123
0 votes
0 answers
451 views

How to expand the space of the partition /dev/sdf4 until the end of the sdcard ? Neither resize2fs nor gparted work correctly

I would like to resize the /dev/sdf4 partition located on the sd card mounted on my Ubuntu 22.04 distro. I tried to accomplish this task using two approaches : using the command resizefs,but it ...
Marietto's user avatar
  • 549
0 votes
0 answers
228 views

GPT partition deleted and unable to mount disk

I accidentally deleted GPT partition table. Now I can't mount or see any data on my HDD. I tried every possible solution on internet instead it got worse. There is no back up. On disks this is what it ...
khawarjatoi's user avatar
0 votes
1 answer
582 views

FreeBSD could not boot any more as /dev/gpt/rootfs was no longer created, how to fix this?

I have in my /etc/fstab /dev/gpt/rootfs / ufs rw 1 1 and gpart list shows a partition with the rootfs label: 3. Name: nvd0p3 Mediasize: 16105245696 (15G) Sectorsize: 512 ...
Gunther Schadow's user avatar
2 votes
2 answers
2k views

Install Linux via USB: Boot shows "Boot option restore"

Question: How can I manually boot Linux on EFI systems with Grub? Where I'm stuck: I'm trying to install a custom kernel, root file system, and grub on an x64 computer. The USB stick has an equivalent ...
Bayou's user avatar
  • 175
0 votes
1 answer
546 views

Problem creating a disk image of an SD card

I have built a custom image of Armbian with a partition size of 3.1 GB, and I am now finished working with it. It is currently written to a bootable 64 GB SD card which is using a GUID partition table ...
Chris Hudlin's user avatar
2 votes
1 answer
2k views

Can you use MBR with UEFI - a question about the UEFI specification

I am reading through the UEFI standard. On page 115, section 5 it discusses the GPT disk layout. I'm a bit confused as to exactly how this works. From the below, it sounds like UEFI will ignore the ...
Grant Curell's user avatar
2 votes
1 answer
2k views

Does Coreboot/SeaBIOS support GPT partition table?

Few days ago, I flashed my x230 with coreboot with this tutorial. Now, while I was installing Funtoo using its GPT-Partitioning guide (not using MBR-Partitioning), I got following error: EFI ...
Garid Z.'s user avatar
  • 552
0 votes
1 answer
3k views

manipulating the protective MBR on a GPT disk

I would like to add an empty partition of type 0x00 to the beginning of the protective MBR of a GPT-formatted disk. I've found a way to do this, but the method relies on fdisk enhancements not ...
user001's user avatar
  • 3,738
0 votes
2 answers
2k views

Partitions not visible while dual booting Kali with Windows 11 with GPT disk

While trying to install Kali Linux as a secondary OS with Windows 11(primary OS), the partition created for Kali is not visible during the Graphical Install. The hard drive I'm trying to install kali ...
ayush7ad6's user avatar
1 vote
3 answers
5k views

fdisk output: "new DOS disklabel"

I have a question about what is happening here. Does "a new DOS disklabel" here mean a DOS partition table has been created? In other words, that a DOS partition table has been created by ...
faszikam's user avatar
2 votes
0 answers
4k views

Command to install GRUB2 on a BIOS boot partition

For a BIOS system with a single GPT fixed volume and a freshly-created BIOS boot partition at /dev/sda1 carrying the bios_grub flag, is the correct command to install / embed GRUB2 (i.e., core.img) to ...
ebsf's user avatar
  • 331
0 votes
0 answers
520 views

Booting a 2-partition Windows 10 installation from GRUB2 command-line

I'm using a GRUB2 prompt after booting from a Linux rescue USB flash drive (finnix-123) - trying to boot my Windows 10. It is on an SSD with MBR rather than GPT, with two partitions: one of about 100 ...
einpoklum's user avatar
  • 9,662
0 votes
1 answer
1k views

Change the file system of a partition without deleting its content

I have a 2tb hard drive containing gpt and a single 2tb partition with ext4 file system. The partition has one 1.5tb file inside it. I want to change the type of file system of this partition from ...
fctorial's user avatar
  • 203
0 votes
0 answers
136 views

What is an appropriate end sector for expanding my partition to the end of the drive?

Ubuntu 20.04. I have recently cloned a 1TB storage SSD dedicated to my Nextcloud instance to a 2TB SSD. However, the partition remains 1TB, so I want to resize it to the end of the new disk. I ...
auslander's user avatar
  • 101
2 votes
1 answer
7k views

How to create a GRUB BIOS boot partition using sectors 34 to 2047?

How can I create a partition for the GRUB legacy boot of GPT disks using free sectors between the GPT (33) and the first aligned partition (2048)? If I already have partitioned all other sectors, ...
Polizi8's user avatar
  • 285
2 votes
3 answers
3k views

parted: create swap partition on gpt disk (one liner) not working

I am trying to create a swap partition in my script using parted based on the Arch Linux guidance. https://wiki.archlinux.org/title/Parted#Partition_schemes Somehow it is always sort of skipping the ...
TheHellSite's user avatar
1 vote
2 answers
975 views

How many partitions can be created for linux on GPT?

I know it's up to 128 for windows OS. Does the same limit apply to Linux? So this limit is actually a limit of GPT?
testter's user avatar
  • 1,470
0 votes
1 answer
371 views

How is the value of the "unique partition GUID" is generated?

From UEFI spec 2.8, GPT partition entry array definition (5.3.3), I understand that Unique Partition GUID is to "uniquely identify every partition that will ever be created". And the ...
Pen2's user avatar
  • 3
2 votes
1 answer
1k views

MBR converted to GPT based system, how to boot Linux and Windows

How to boot GPT based system to Linux and Windows? This is not a question of starting from a fresh GPT based system, but starting from a MBR converted to GPT based system. My Asus laptop initial setup,...
xpt's user avatar
  • 1,644
1 vote
1 answer
481 views

Increase disk size and change from MBR to GPT

I have a CentOS server on VMware that has, among others, a disk of 1.5TB, with a single xfs partition using the whole disk. This disk/partition is running out of space, so I need to increase its size ...
curropar's user avatar
  • 113

1
2 3 4 5 6