Stack Exchange Network

Stack Exchange network consists of 174 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
31 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
17 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
66 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
145 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
23 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
143 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
316 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
61 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
630 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
90 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
373 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
40 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
230 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
359 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
488 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
478 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
610 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
71 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
4k 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
81 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
85 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
142 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
658 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
298 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
301 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
220 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
4k 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
114 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
107 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
69 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
639 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
304 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
994 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
753 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. ...
5
votes
3answers
9k 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
649 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 ...
0
votes
1answer
689 views

Remove GRUB on a GPT disk

I have a HDD that which has GPT that was created for a BIOS motherboard (not UEFI!) This drive used to house my Debian installation. Since I bought an SSD and a new UEFI motherboard, now I would like ...
0
votes
1answer
734 views

Wondering how to correctly configure rEFInd for Windows and Arch dualboot

I am currently considering moving to UEFI/GPT on my system. I plan to install Windows first and use the ESP created by Windows. My first major question is this: Will Windows automatically use the GPT ...
1
vote
1answer
1k views

Why is GPT recommended for UEFI

3rd time re partitioning my 1TB SSD so hoping to get it right. Learning but still many questions Because my system has UEFI firmware and already have a SSD dedicated to Windows my understanding is ...
3
votes
1answer
906 views

Converting MBR to GPT because of dual-boot

yesterday I installed debian on my system. It all went relatively smooth and nice. Today I decided to install Windows 10 alongside Debian. Unluckily W10 wants a GPT partition table, and Debian ...
1
vote
1answer
317 views

how to write live rescue disc image (ISO) with dd for UEFI boot?

How would I prepare ALT Linux Rescue disc to install Linux for dual boot with Windows 10? Ideally, the USB thumb drive should boot in UEFI mode for a GPT type hdd. The note on UEFI specifies: ↑ ...
-1
votes
2answers
207 views

how to boot an install disc in EFI mode?

Per this answer on how to create an EFI System Partition (ESP): (Quite likely though that the install disc itself must be booted in EFI mode, too, otherwise it won't bother setting up UEFI boot....