Questions tagged [gpt]

Use this tag for GPT partition tables.

Filter by
Sorted by
Tagged with
1 vote
1 answer
28 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 ...
0 votes
0 answers
41 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 ...
0 votes
1 answer
31 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 ...
0 votes
0 answers
42 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 ...
  • 123
0 votes
0 answers
39 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 ...
  • 411
0 votes
0 answers
8 views

Why is RomBOOT failing when expanding GPT to fill SD card

I'm working with this SBC and trying to expand the rootfs partition on the manufacturer-supplied SD card (containing Ubuntu OS) to use unpartitioned space. The SD card is 32GB but less than 2GB is ...
  • 173
0 votes
0 answers
48 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 ...
0 votes
1 answer
104 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 ...
0 votes
0 answers
126 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 ...
  • 125
0 votes
1 answer
114 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 ...
1 vote
1 answer
210 views

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

I am reading through the UEFI standard: https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf On page 115 section 5 it discusses the GPT disk layout. I'm a bit confused as to ...
1 vote
1 answer
318 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 ...
  • 169
0 votes
1 answer
483 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 ...
  • 3,540
0 votes
1 answer
540 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 ...
1 vote
3 answers
795 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 ...
0 votes
0 answers
60 views

Incorrect super block error while I'm trying to mount a FreeBSD GPT / UFS2 disk partition on DragonFlyBSD

I'm running DragonFly 6.1 with the Hammer2 fs. I would like to mount the FreeBSD GPT/UFS2 partitions that are located on my USB disks,for example on the disk /dev/da2 : root@marietto:/home/marietto # ...
  • 411
1 vote
0 answers
1k 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 ...
  • 211
0 votes
0 answers
153 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 ...
  • 7,723
0 votes
1 answer
89 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 ...
  • 203
0 votes
0 answers
40 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 ...
  • 101
1 vote
1 answer
2k 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, ...
  • 145
0 votes
2 answers
786 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 ...
1 vote
2 answers
243 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?
  • 1,132
0 votes
1 answer
53 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 ...
  • 3
2 votes
1 answer
485 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,...
  • 733
1 vote
1 answer
125 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 ...
  • 113
0 votes
0 answers
455 views

Cannot boot (any more) from MBR SSD drive even if legacy BIOS is enabled

The situation is simple to describe in fact: A MBR-partitioned Kingston SSD of 1TB containing Windows 10 and Kubuntu was moved to a new (HP) laptop: in order to boot there, legacy support had to be ...
  • 1,079
8 votes
3 answers
2k views

Undoing wipefs --all --force /dev/sda? /dev/sda

OS: Debian Bullseye, uname -a: Linux backup-server 5.10.0-5-amd64 #1 SMP Debian 5.10.24-1 (2021-03-19) x86_64 GNU/Linux I am looking for a way of undoing this wipefs command: wipefs --all --force /...
3 votes
1 answer
49 views

GPT disk looks different in external docking bay and internal swap bay

I have a hard disk that I use for backups via a USB 2.0 docking station. The disk has a GPT and one single ext4 partition. Everything is fine via the docking station, but if I attach the disk to an ...
  • 133
1 vote
0 answers
231 views

System boots with MBR, but not with GPT

I have a Linux image made with Yocto that boots on a Pocketbeagle. For the learning experience, I'm trying to move it to using GPT. For MBR, I am using the following beaglebone-yocto.wks description: ...
0 votes
1 answer
44 views

Linux/Windows Dualboot: Does it make sense to repartition a whole drive when reinstalling Linux?

Assumed we have a MS-Windows/Linux dualboot system that works completely fine: partitioning scheme: gpt sda1: Windows sda2: Linux Root sda3: Linux Home Unfortunately this installation is pretty aged,...
  • 956
0 votes
2 answers
223 views

How can you move an image of a GPT drive to a smaller device?

I have a 64GB SD card with Linux (Debian) installed on it. I want to move it to a smaller SD Card (16 GB). I used resize2fs and cfdisk to resize the filesystem and partitions, so that now, they look ...
  • 223
0 votes
0 answers
280 views

GPT to MBR: gdisk overlap

I have a 256GB NVMe SSD drive and this is other system drive, which my friend converted from MBR to GTP. This is my output. I used gdisk to convert GPT to MBR, but I have a problem. Problem: MBR ...
0 votes
1 answer
491 views

exFAT Refusing to mount - The primary GPT table is corrupt

I am trying to mount a 4TB exFAT HD on my Manjaro Linux 5.9.11 system. It refuses to mount using the default kernel drivers: mount: /home/user/Ark: wrong fs type, bad option, bad superblock on /dev/...
  • 156
1 vote
0 answers
79 views

How to Backup a disk with corrupted GPT?

My hard disk is failing. Booting into Live Ubuntu, fdisk -l says "GPT table is corrupt, Backup appears okay, using it". I need to take a backup of the files on the disk ASAP. It doesn't show ...
0 votes
1 answer
432 views

Can I mount a gpt disk with ntfs partition on an mbr booted linux system

System: Linux Mint 20 x64 cinnamon booted on mbr formatted disk. I inserted a new hdd containing a gpt and a ntfs partition (next to a small MSR partition, which doesn't matter here I guess). GParted ...
  • 101
1 vote
1 answer
457 views

How do I start a Windows 10 partition on a MBR partitioned disk on a system that otherwise uses GPT/UEFI GRUB?

Okay, let me explain. This is a UEFI computer. It has two disks. The primary disk is partitioned with GPT and boots via GRUB2 to an Arch Linux partition. The secondary disk is partitioned with MBR and ...
  • 111
0 votes
0 answers
35 views

Suddenly lost files on Lenovo Y540, Mageia 7 without warnings

My system: Intel Core i7 9750H. Partitions are GPT type. Root partition (ext4) is installed on SSD. Home partition (ext4) is on Western 1TB. Mageia 7, kernel desktop 5.4.17, KDE 5.57. File manager ...
  • 73
1 vote
1 answer
326 views

How ID_PART_ENTRY_UUID is computed in GPT?

How the tag ID_PART_ENTRY_UUID is computed? Can I get ID_PART_TABLE_UUID from ID_PART_ENTRY_UUID? I have a disk with GPT partition table and some partitions. I need to identify which partitions are ...
  • 113
0 votes
3 answers
4k views

Installing a Dual boot on MSI Motherboard with GPT disk

I am attempting to install a dualboot (Ubuntu on top of Windows 10) to a PC I have just built myself. I have no problem installing Ubuntu, its just I am unable to setup my computer to boot into it ...
4 votes
1 answer
2k views

Libparted error "partitions 5. 7, 8...128 on /dev/sda have been written, but we have been unable to inform the kernel of the change"

When opening GParted on my Fedora 32 system, I receive the following message: I'm not sure what exactly is going wrong here. The system boots fine. I tried running fsck (via adding file /forcefsck ...
2 votes
1 answer
3k views

How to create a Windows-compatible partition with a GPT partition table?

I need to create a partition that is compatible with Windows 10 (preferably using NTFS) on a disk using a GPT partition table. Which partition type should I pick? On non-GPT (DOS I think), using fdisk,...
0 votes
2 answers
1k views

How do I find the filesystem/partition UUID of an ExFAT partition?

All in the title. My problem is, I have an ExFAT partition on my disk that I want to mount using a UUID, but I can't seem to find any information on it. fdisk -l says: [logandark@arch-base ~]$ sudo ...
  • 157
0 votes
1 answer
401 views

Command to list partition type codes in deb and rpm distributions for MBR and GPT

Is there any command to list all partition type codes recognizable by currently installed distribution (In my case Ubuntu 18.04.03 LTS) I know the following website exists Andries E. Brouwer 1995-2002 ...
  • 1
0 votes
2 answers
6k views

How to remove grub bootloader from windows 10?

I used to have ubuntu installed in pc hard disk but for other purposes, I can have only windows installed. Now I have uninstalled all partitions having ext4 fs, so only ntfs and bootable fs (vfat32 I ...
  • 280
1 vote
1 answer
2k views

howto increase (too small) EFI partition for dual boot

Just about to setup my notebook with Fedora 31 and ran into the issue the EFI partition (/boot/efi) being too small with just 100Mb. (the EFI partition was previously setup from windows when I ran &...
  • 91
0 votes
0 answers
559 views

Can a disk partition have another nested inside it?

I am trying to better understand disks, partitions, and partition tables (mbr vs gpt). In the process I checked the disks on one of my machines (single boot ubuntu 20.04), and found that all of my ...
  • 1
1 vote
0 answers
1k views

GRUB menu will not load in dual boot Linux & Windows 10 on UEFI/GPT

After updating my Dell G3 3579 bios to 1.12.0, Ubuntu stopped loading. When I checked, issue is related with BIOS/UEFI mode and MBR/GPT partitions. So, I installed both Window 10 and Ubuntu 18.04 ...
0 votes
2 answers
261 views

How to move/copy OS to new drive without live boot media?

I have only been seriously using Linux for a couple of months; I cannot find a simple solution to copy an OS over to another drive, despite there being hundreds of articles on the topic. First I ...
1 vote
1 answer
2k views

How can I use existing EFI partition when installing Arch

I'm trying to install Arch Linux for the first time - I used the following video to learn how to do it: https://www.youtube.com/watch?v=pxTTp7gDRn4 In the video, the person explains how to do it in ...
  • 161

1
2 3 4 5