Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gpt]

Use this tag for GPT partition tables.

0
votes
1answer
44 views

What is a generic name for the sector which stores the partition table of a disk?

If a disk uses GPT partitioning method, is its first sector still called MBR? What is a generic name for the sector which stores the partition table of a disk? Thanks.
0
votes
0answers
16 views

How to diagnose the difference in OS performance between installation media?

I have two different USB sticks, a 128 GB Samsung and a 64 GB SanDisk. I used Gnome Disks to benchmark both of them and the Samsung one was supposedly better, it had faster read and write speed but it ...
0
votes
1answer
13 views

How install legacy grub to gpt uefi disk?

I have new computer with UEFI. I formated the disc as GPT (not MBR), made few small partions on start (as placeholders for UEFI, for boot, for swap etc ...) then larger partition for system / (and ...
-1
votes
1answer
26 views

Am I able to install Arch Linux with the 100MB EFI partition that Windows 10 had already created on installation?

I want to dual-boot Arch Linux alongside Windows 10, which is already installed. I am using UEFI-GPT. On Windows 10 installation, it creates an EFI system partition as required by UEFI. This ...
0
votes
1answer
20 views

Dual Boot Linux Partition shows as Partition Table: loop in parted (Why?)

Recently I was checking into my partition scheme on my dual boot laptop (Peppermint OS, Windows 10). I was surprised by the output from parted /dev/sda12 (my Linux root partition) Model: Unknown (...
1
vote
0answers
17 views

Realigning GPT partitions to 4k sector boundaries?

If I have an HDD with GPT, and the partitions are not aligned to 4k sector boundaries, is there a tool to realign the partitions to 4k sector boundaries? Suppose I have UEFI stuff on the HDD in ...
0
votes
1answer
178 views

How to force GPT partitions in kickstart for Oracle Linux 6

I want to configure OL6 kickstart to install a system that boots from BIOS but uses GPT partitioning instead of MBR, even for disks <2TB. The relevant part of my kickstart file looks like this ($...
0
votes
1answer
20 views

Are timestamps created with new GPT partition tables?

Are timestamps created with new GPT partition tables? If so, where are they (i.e, headers, entries, GUIDs, labels)? How are they accessed?
12
votes
2answers
2k views

Will dd if=/dev/zero of=/dev/sda wipe out a pre-existing partition table?

Will # dd if=/dev/zero of=/dev/sda wipe out a pre-existing partition table? Or is it the other way around, i.e, does # fdisk /dev/sda g (for GPT) wipe out the zeros written by /dev/zero?
0
votes
2answers
345 views

Can't install Fedora 29 on Thinkpad W550s due to GPT

I have a Lenovo Thinkpad W550s that already has Windows 7 on it. I would like to install Fedora 29 Workstation alongside Windows 7, but I have run into some problems. The hard drive was formatted ...
0
votes
0answers
359 views

How to create a bios_grub partition during installing openSUSE?

When installing openSUSE Tumbleweed, I get a red warning before the last confirmation: Boot from MBR does not work together with btrfs filesystem and GPT disk label without bios_grub partition. To ...
0
votes
1answer
25 views

GPT has incorrect entries

Through some series of commands, I managed to end up with a disk that is supposed to contain one ext4 partition, but fdisk, parted, and blkid all insist it contains an Apple RAID slice, which it used ...
1
vote
1answer
200 views

Problem with instaling GRUB/LILO in dual boot with windows 10 UEFI/GPT

I am having some issues when trying to install Debian 9 alongside Windows 10. Everything goes smoothly until the GRUB installation comes up. After I pick the partition it starts to install and after ...
1
vote
1answer
443 views

Mounting GPT partition table in linux

I have a drive that I'm trying to mount in linux. The device is /dev/xvdf. lsblk shows two subdrives, /dev/xvdf1 and /dev/xvdf9 sudo file -s /dev/xvdf tells me that /dev/xvdf is a "GPT partition ...
-1
votes
1answer
87 views

How to extend size of mounted ext4 /home gpt partition without loss of data?

I have GPT partitioning for my drive: $ sudo fdisk -l /dev/sda Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): ...
4
votes
1answer
1k views

Can I change an existing partition from MBR to GPT?

I needed to add extra 2.5TB to the existing 400GB disk (sda) on my system. I added new virtual disks with 2.5TB (sdb), proceeded to create the partition table with fdisk. Used pvcreate /dev/sdb1, to ...
0
votes
0answers
134 views

Dual Boot Acer E15 Laptop with Windows and Arch Linux in UEFI mode

I do have a Acer Aspire E5-575G laptop and recently I have attached a 256 GB SSD, where I have installed Windows 10 under UEFI. However for a certain amount of space in my previous SATA 1TB drive I do ...
0
votes
0answers
472 views

Recover Lost or Corrupted GPT Partition

I'm struggling as to what to do with this mess. I've never worked on a disk in this way before. I've ben looking through different sites such as here. bash-3.2$ sudo gdisk /dev/rdisk5 GPT fdisk (...
0
votes
0answers
44 views

How to move ESP parition?

I need to resize my ESP partition. To do that I plan to create a bigger ESP partition (gdisk code EF00) and cp all the content from the current ESP to that bigger ESP partition. But I need to change ...
1
vote
0answers
298 views

Problem mounting and reading hard disk

I am trying to read the content of a 1Tb external disk. The device was part of an external nas (dlink 320) using raid 1. when I plug the hard disk using the usb port no partition is mounted. The ...
0
votes
1answer
443 views

Partion table mmcblk0boot0 device

I created two GPT partitions in /dev/mmcblk0boot0 device. Now I want to format one of them. But I don't have any idea how to access to a single partition. When I created partitions on "normal" device ...
0
votes
1answer
705 views

Fsck on partition inside RAID broke file system AND RAID

What was: RAID 1 with mdadm on whole disks say /dev/md0 from /dev/sda and sdb, GPT with one partition on md0 and ext4 on this partition (md0p1). What I think happens: after changing motherboard linux ...
0
votes
1answer
663 views

booting gentoo using uefi and gpt

I just used the amd64 minimal installation iso (installed on usb drive) to install and configure gentoo linux with the following make.conf: CFLAGS="-march=native -O2 -pipe" CXXFLAGS="${CFLAGS}" ...
1
vote
1answer
737 views

What is PARTUUID from blkid when using msdos partition table?

I use msdos partition table, so there is no PARTUUID supported (it's only on GPT partition tables) root@xenial:~# fdisk -l Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectors Units: sectors ...
0
votes
1answer
1k views

Backup boot record of GPT disk

I know how to use dd to backup the boot record of a MBR partitioned disk, but how do I backup the boot record of a GPT partitioned disk? (I use sgdisk to backup the partition table, but also need the ...
0
votes
2answers
78 views

How to migrate partitions/file systems/swap to a new drive without any data using a shell script?

Wishing to replace the system drive with near identical sized new and fresh SSD, or even a larger one, leaves me with a puzzle. dd is great and I can't use that bit-by-bit copy technique f.e. because ...
0
votes
2answers
5k views

How to install rEFInd for DIY multiboot USB

I intend to create a dualboot persistent usb. I'd like to try creating a USB where I can boot macOS High Sierra and WIndows 10. From what I understand of LVM, I can create 2 VG, 1 APFS and 1 NTFS. ...
0
votes
1answer
107 views

Saving a modified GPT partition map to a file in GParted or similar tools

I can use sgdisk -b /dev/sdx to save the GPT partition map of a disk to a file. I want to generate such a file for a GPT with one partition of a certain size. The only way I can see to do this is to ...
1
vote
0answers
1k views

How to fix corrupt GPT table backup?

I'm having an issue which I'm having a hard time trying to fix with a USB stick. I was trying to get this USB formatted cleanly and ready to be used for a USB Installer, but for some reason it's ...
1
vote
0answers
1k views

Creating GPT partitions with preseed

I am installing Ubuntu 16.04 with iPXE and trying to create GPT partitions with preseed as follows: d-i partman-basicfilesystems/choose_label string gpt d-i partman-basicfilesystems/default_label ...
0
votes
1answer
91 views

Does Fedora's inst.gpt command exist in other distros?

I have recently found this inst.gpt boot flag in Fedora useful as it allows me to say up a GPT drive on a non-UEFI BIOS system, does it also exist in a different form on other distros? If not would it ...
1
vote
2answers
159 views

Wiping the boot partition of a GPT disk in Solaris 11.3

I have a 4-way mirrored rpool on a set of GPT disks running Solaris 11.3 (GPT being used as the disks are more than 2TB in size) on x86 hardware. Disks 1 and 2 are the "main" operating system. Disks ...
1
vote
1answer
2k views

using parted to resize partitions using free space in the end of the disk

I have RH6 wtith GPT disk, which is partitioned as following: parted /dev/sdb print free Model: IBM ServeRAID M5110e (scsi) Disk /dev/sdb: 4599GB Sector size (logical/physical): 512B/4096B Partition ...
5
votes
1answer
712 views

File system block size differs between different ext4 partitions

we have BBB based custom board with 256MB RAM and 4GB eMMC, I have partitioned it using below code, parted --script -a optimal /dev/mmcblk0 \ mklabel gpt \ mkpart primary 128KiB 255KiB \ ...
3
votes
1answer
343 views

Can I install using GPT on 32 bit system with bios?

All I search for this says, makes me understand that GPT is related to UEFI, but is it possible to install using GPT disk format, in a 32 bit system using bios (not legacy mode)? I tried installing ...
1
vote
1answer
352 views

linux gdisk (on 4TB USB drive) followed my mkfs — but mkfs doesn't see new partitions

I just bought two new 4TB external USB disks for backups http://www.bestbuy.com/site/wd-my-passport-4tb-external-usb-3-0-portable-hard-drive-black/5605533.p that came performatted with a single ...
1
vote
1answer
252 views

Changing partition dev path

I have a UEFI system that I installed Arch Linux on beside Windows, then later removed Windows and made it Linux only, keeping the EFI boot partition of course. After removing all Windows and recovery ...
2
votes
3answers
2k views

Are there extended partitions in GPT partition table?

Under the MBR model, we could create four primary partitions one of which could an extended partition that's further subdivided into logical partitions. Consider this GPT schematic taking from ...
1
vote
2answers
5k views

Changing from MBR to GPT

I'm trying to completely remove linux from my machine to make way for Windows, but to do that I need to change my disk type to GPT instead of MBR. I have a bootable usb with Ubuntu on it that I can ...
5
votes
1answer
2k views

What is UUID, PARTUUID and PTUUID?

In blkid output some lines contain UUID and PARTUUID pairs and others only PTUUID. What do they mean? In particular, why two IDs are required for partition and why some partitions are identified by ...
1
vote
2answers
2k views

Resizing the ESP /boot/efi partition

I have an existing Debian 9 installation on a 2 TB GPT formatted internal SSD/SATA hybrid hard disk on a brand new Acer laptop. The entire Debian install takes up a mere 600 GB of the hard drive. No ...
1
vote
2answers
123 views

How do I cd into a hard drive with a GPT partition table using a raspberry pi running raspbian?

My ubuntu laptop has died, and so I am attempting to recover some files off the hard drive using a raspberry pi. I have removed my laptop's hard drive and attached it to my raspberry pi via usb. I am ...
0
votes
0answers
115 views

Fix MBR ext4 partition after incorrect installation of linux distribution

I was trying to install Opensuse Leap 42.2 via usb-stick network installation. There were jpg and other less important files on one of primary partitions, other aren't important. While installation ...
2
votes
0answers
71 views

can't install fixparts on centos 6.8 liveDVD

I can't install fixparts on centos 6.8 liveDVD it gives me this error: Requires libc.so.6(glibc_2.14)(64bit) How I can solve this, please? All I want is just run Fixparts to remove old GPT table ...
0
votes
1answer
711 views

Install Grub Boot loader in different folder on UEFI!

I am new in UEFI and I moved to GPT. I am now using windows 7 and 10 in dual boot. I want to install Grub boot loader in a different folder, not in the EFI system partition/ESP. So, Windows boot ...
1
vote
1answer
320 views

How to test if a disk has a valid `GPT` with `sgdisk`?

Is there a way to non-destructively test if a disk has a valid GPT with sgdisk, or, failing that, with some other scriptable command-line tool?
2
votes
0answers
1k views

Disk with corrputed alternate GPT

I have a disk which has a corrputed alternate GPT and Linux doesn't want to read the primary one. I see all sorts of weird messages in the kernel logs. Here's what happens when I plug in the drive. [...
1
vote
1answer
835 views

Dual boot - Installed arch and windows entry disappeared on grub

I've installed Arch on a partition, and installed grup as the wiki says grub-install /dev/sda grub-mkconfig -o /boot/grub/grub.cfg Now I only get Archlinux and Advanced options and no Windows. ...
6
votes
3answers
10k views

Should I use fdisk for partitioning or GPT aware tools?

Question: Should I use fdisk when creating partitions? Or is it advisable to use parted since it uses GPT? (by default?) And with that I can create partitions larger than 2TB.
5
votes
1answer
725 views

Grub won't boot from GPT RAID (gave up waiting for root device)

I'm having problems with booting a Debian 8 system on which I migrated the root partition from a single hard drive to a RAID1 (mdraid). On every boot, I get the following grub error: Gave up waiting ...