2022 Developer Survey is open! Take survey.

Questions tagged [gpt]

Use this tag for GPT partition tables.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 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 ...
user avatar
0 votes
0 answers
95 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 ...
user avatar
  • 97
0 votes
1 answer
152 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 ...
user avatar
  • 3,530
0 votes
1 answer
169 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 ...
user avatar
0 votes
3 answers
221 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 ...
user avatar
0 votes
0 answers
27 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 # ...
user avatar
  • 371
1 vote
0 answers
345 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 ...
user avatar
  • 51
0 votes
0 answers
41 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 ...
user avatar
  • 7,249
0 votes
1 answer
60 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 ...
user avatar
  • 193
0 votes
0 answers
31 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 ...
user avatar
  • 101
1 vote
1 answer
586 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, ...
user avatar
  • 135
0 votes
2 answers
372 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 ...
user avatar
0 votes
2 answers
103 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?
user avatar
  • 1,082
0 votes
1 answer
35 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 ...
user avatar
  • 3
1 vote
1 answer
261 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,...
user avatar
  • 495
1 vote
1 answer
68 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 ...
user avatar
  • 113
0 votes
0 answers
376 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 ...
user avatar
  • 968
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 /...
user avatar
3 votes
1 answer
43 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 ...
user avatar
  • 133
1 vote
0 answers
169 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: ...
user avatar
0 votes
1 answer
41 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,...
user avatar
  • 926
0 votes
2 answers
166 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 ...
user avatar
  • 193
0 votes
0 answers
202 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 ...
user avatar
0 votes
1 answer
364 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/...
user avatar
  • 156
1 vote
0 answers
62 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 ...
user avatar
0 votes
1 answer
306 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 ...
user avatar
  • 101
1 vote
1 answer
294 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 ...
user avatar
  • 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 ...
user avatar
  • 73
1 vote
1 answer
228 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 ...
user avatar
  • 113
0 votes
3 answers
3k 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 ...
user avatar
4 votes
1 answer
1k 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 ...
user avatar
2 votes
1 answer
2k 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,...
user avatar
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 ...
user avatar
  • 157
0 votes
1 answer
311 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 ...
user avatar
  • 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 ...
user avatar
  • 260
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 &...
user avatar
  • 81
0 votes
0 answers
499 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 ...
user avatar
  • 1
1 vote
0 answers
989 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 ...
user avatar
0 votes
2 answers
175 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 151
1 vote
1 answer
465 views

Using dd to restore a partition backup from MBR disk to GPT one

I have an ext4 partition backed up with dd on a MBR hard drive that I would like to restore to a new GPT hard drive. Can I just create an empty partition of the exact same size on that new GPT drive ...
user avatar
  • 148
0 votes
0 answers
56 views

Backing up a device and restoring it including its partitions

Currently I'm going through each partition doing: mount -o rw /dev/mmcblk1pX /mnt/pX cd /mnt/pX # backing up: tar -czvf /tmp/partitionX.tar.gz . ... # something went wrong, restoring: tar -xzvf /...
user avatar
0 votes
0 answers
37 views

add additional msdos based partition using maximal amount of space

Stumbled about a problem with gpt: [root@someserver ~]# parted /dev/sdb GNU Parted 2.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: VMware ...
user avatar
1 vote
1 answer
1k views

Using gparted before installing Windows 10

I will be installing Windows 10 and Linux (dual-boot) on a new computer in a couple of days. I would like to use GPT instead of MBR for the partition table. As I understand it (and have done in the ...
user avatar
  • 113
1 vote
0 answers
180 views

Partition table not recognized by any of the partition management tools

I have an Android 8.0.0 device (https://www.tvbox-manufacturer.com/product_category/fire-tv-stick/) with eMMC as a storage medium. The eMMC is removable (BGA socket on the Board). The device boots ...
user avatar
0 votes
0 answers
718 views

Resize Raw Image with GPT Partition Table

I'm attempting to resize a raw image (created with dd) containing a GPT partition table and several NTFS partitions. I mounted the image using losetup, ran partprobe to update the partitions the ...
user avatar
  • 2,087
3 votes
1 answer
2k views

repair gpt after cloning to smaller drive

I had a gpt-partitioned drive, with unpartitioned space at the end, I used dd to clone it to another smaller drive. Unfortunately Linux won't see the partitions on the cloned drive. My understanding ...
user avatar
  • 3,870
0 votes
0 answers
666 views

Any known install iso images using MBR partition and BIOS only installer?

I have a legacy BIOS motherboard which has broken USB-HDD boot capability. The manufacturer has stopped supporting it a long time ago although I subsequently obtained a slightly newer BIOS image and ...
user avatar
  • 1
3 votes
1 answer
400 views

Can't disable swap on a GPT-based system

I want to disable swap on several running ubuntu 16.04 servers. I'd like, if possible, not to reboot them. From my research, it seemed that running swapoff -a to disable swap until the next reboot ...
user avatar
  • 225
0 votes
1 answer
576 views

How to determine sizes using sgdisk partitioning in bash script

I'm using sgdisk in a bash script similar to this: sgdisk --clear /dev/vda --set-alignment=1 --new 1:34:2047 --typecode 1:EF02 -c 1:"grub" -g /dev/vda sgdisk --new 2:2048:16779263 --typecode 2:8300 -...
user avatar
  • 514

1
2 3 4 5