Questions tagged [gpt]

Use this tag for GPT partition tables.

Filter by
Sorted by
Tagged with
77
votes
7answers
112k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
65
votes
5answers
132k views

Create partition aligned using parted

I'm partitioning a non-SSD hard disk with parted because I want a GPT partition table. parted /dev/sda mklabel gpt Now, I'm trying to create the partitions correctly aligned so I use the following ...
32
votes
5answers
140k views

Remove GPT - Default back to MBR

I keep receiving this error: Warning!! Unsupported GPT (GUID Partition Table) detected. Use GNU Parted I want to go back to the normal MBR. I found some advice here and did: parted /dev/sda ...
30
votes
1answer
40k views

Can GRUB2 share the EFI system partition with Windows?

I have an existing Windows 7 GPT installation, which already has a EFI System partition. I am now trying to install a Linux on a separate harddisk, which is also GPT formatted. I did not find any ...
15
votes
1answer
24k views

Dual boot windows on second harddrive, UEFI/GPT system

I'd like to install linux, but I don't want to risk damaging my current windows installation as I have heard a lot of horror stories. Fortunately, I have an extra hard drive. Can I install linux ...
12
votes
2answers
3k 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?
11
votes
4answers
53k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
9
votes
1answer
25k views

Using UUID's with mdadm

I'm using GPT as my partitioning scheme. I check the UUID's of my partitions: # ls -l /dev/disk/by-partuuid/ total 0 lrwxrwxrwx 1 root root 10 Oct 18 22:39 0793009a-d460-4f3d-83f6-8103f8ba24e2 -> ....
8
votes
3answers
21k views

Getting the extra GPT info; a “fdisk -l” equivalent

What is the equivalent for GPT using HDDs of: # fdisk -l /dev/hda > /mnt/sda1/hda_fdisk.info I got this from https://wiki.archlinux.org/index.php/disk_cloning (under "Create disk image") for ...
8
votes
2answers
3k views

What's the difference between the Partition GUID Code and Partition unique GUID?

I'm just reading up on GUID partition tables, and messing around with gdisk, I see these two titles. What is the difference between them? I am referring to the following (emphasis mine) shown when ...
8
votes
1answer
5k views

Why are there 2048 sectors of free space between each logical partition?

I know about the advanced format and setting 2048 free sectors at the beginning of a disk. But I just converted a partition table of my disk from MS-DOS to GPT, and I noticed this: Before: Number ...
8
votes
2answers
625 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): 2BC92531-AFE3-407F-...
7
votes
3answers
14k 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.
7
votes
1answer
5k views

How to renumber GPT partitions on an umounted disk?

I tried to sort (renumber) partitions on /dev/sdb via terminal, using gdisk from the operating system (running on /dev/sda) and none of the sdb partitions mounted but the only option I get is [-l] ...
7
votes
1answer
9k views

“Warning! Secondary partition overlaps the last partition by x blocks” in gdisk, is it safe to use gdisk here? [closed]

I'm trying to install convert my hard drive into GPT using gdisk, when I run sudo gdisk /deve/disk1s4 I get this: Warning! Secondary partition table overlaps the last partition by 2032668853 blocks! ...
7
votes
1answer
5k views

Where is the GUID Partition Table stored on a device?

A friend of mine used my USB stick to install a new version of OS X on his mac. Now that I got it back, I wanted to wipe it (I use Linux myself). However, I'm having a bit of trouble doing so. The ...
6
votes
2answers
3k views

How to construct a GPT-only partition table on Linux?

All of the tools I've tried until now were only capable to create a dual (GPT & MBR) partition table, where the first 4 of the GPT partitions were mirrored to a compatible MBR partition. This is ...
6
votes
2answers
4k views

Grub fails to install - Debian Wheezy with mdadm RAID1 and GPT partition table

I've been trying all day to get my new Wheezy install completed but it fail to install Grub every time. I'm using x64 netinstall iso. Here is my partition table: Model: ATA ST3000DM001-1CH1 (scsi) ...
6
votes
1answer
1k views

How to understand partition table on hybrid ISO image?

If I inspect an hybrid ISO with tools like fdisk and gdisk, then looks like hybrid ISO has both the MBR and GPT in order to support both the BIOS and UEFI: # gdisk -l /dev/sdb GPT fdisk (gdisk) ...
6
votes
1answer
1k views

Boot FreeBSD in legacy mode on GPT disk

I am trying to install FreeBSD in legacy mode (BIOS) on a UEFI system, since I have an Intel Iris Graphics 6100, which is from Broadwell series and is not supported yet by the intel driver, so I want ...
6
votes
2answers
10k views

Check if partitions are aligned properly for performance?

I just created a GPT disk label for the entire space on my hard disk (/dev/sda) like so: # parted (parted) select /dev/sda (parted) mklabel gpt Warning: The existing disk label on /dev/sda will be ...
5
votes
2answers
9k views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
5
votes
1answer
11k views

Remove all traces of GPT disk label

I've got an USB pen drive and I'd like to turn it into a bootable MBR device. However, at some point in its history, that device had a GPT on it, and I can't seem to get rid of that. Even after I ran ...
5
votes
1answer
1k views

Does using UEFI increase battery life?

I've heard about a better power management when using UEFI instead of BIOS. Is that true? It was about energy consumption being more efficient or something like that. If it is true, has the ...
5
votes
1answer
849 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 \ ...
5
votes
1answer
4k 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 ...
5
votes
1answer
33k views

Creating EFI bootable GPT partition with gdisk on previous MBR, GPT Damaged

So this is a sister question to my previous one about partitioning for a UEFI boot loader. Parititioning for a UEFI boot loader, can LVM be used? Disclaimer: I don't give a flip about the data on it....
5
votes
1answer
4k views

mdadm: no devices listed in conf file were found - Debian 8 with GPT

I have a Debian Jessie (3.16.7-ckt20-1+deb8u3) system with RAID1 on 2x 3TB hard drives. Grub can't be installed into MBR on drives >2TB, thus I have GPT with 1MB bios partition: Device Start ...
5
votes
2answers
19k views

Problems mounting GPT partitioned external HDD

My neighbor brought over a 3TB external hard drive saying that after loaning it out to a Windows user, her Mac is asking her "to initialize something" whenever she plugs it in to her computer. I'm ...
5
votes
1answer
2k 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 ...
5
votes
1answer
861 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 ...
4
votes
4answers
3k views

Partitioning a 2tb drive

I'm new to Linux. I'm planning to install Squeeze on a 2tb hard drive a follows: / - 10gb swap remaining space will contain /home, around 1.9tb I hope, I will try to use as lvm to add my old 1tb ...
4
votes
1answer
1k views

What happens to partition labels after removing a partition?

What will happen to all the remaining partition labels if I remove a single partition? For example if I have a layout that looks like this: /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 and if I ...
4
votes
1answer
14k views

How to initialize new disk for UEFI/GPT?

Background I'm setting up a new build, with all new hardware, tabula rosa. I want to have multiple Linux installations and common data partitions. From what I'e gathered so far, using new hardware ...
4
votes
1answer
6k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
4
votes
0answers
570 views

backup and restore whole disk

I am using iMac, with GPT and Hybrid MBR partition table. the GPT layout is: EFI partition.(FAT32) Windows 7 partition.(NTFS) MacOS partition.(HFS+) Linux.(ext4) data.(exfat) the hybrid MBR is made ...
4
votes
1answer
2k views

Can't restore/reformat my USB flash drive after moving to GPT

I have 8GB flash memory stick. Sometimes ago I formatted it to be able to install Windows from it. I can't remember what exactly I did but I think I wanted to be able to install Win 7 64-bit to boot ...
4
votes
1answer
1k views

Linux can't see any of my partitions — The backup GPT table is not at the end of the disk

I'm trying to install Linux on my HP Pavilion 14 inch ultrabook, but without any success. At first I tried installing Ubuntu on it; everything went fine, I got into the Live DVD (yes I'm oldschool ...
3
votes
1answer
14k views

Unable to create logical partition with Parted

I was fiddling around with parted command on a loopback disk and tried to create some partitions using gpt part table but I keep getting Error: Unable to satisfy all constraints on the partition. when ...
3
votes
1answer
417 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 ...
3
votes
1answer
5k views

Expanding a disk with a GPT table

I'm running a CentOS 7 VM, where I have a second disk (sdb), which I need to expand often. After expanding the disk and I open 'parted' so that I can create a new partition, the following error ...
3
votes
1answer
2k views

bootloader configuration with GPT, RAID1, and LVM

Using the GUID Partition Table and RAID 1, the bootloader (syslinux or GRUB) is not able to boot into the machine, which was installed with Arch Linux. First off, there are two drives identical ...
3
votes
1answer
836 views

Problems with partition table on 3tb NTFS drive

I have a 3tb HDD which was formatted with NTFS and put in a USB enclosure. It was used under Windows and Linux, with no problems for a year. Recently it stopped mounting under Linux and Windows, and ...
3
votes
1answer
740 views

Partitioning correctly for GPT in BIOS system

I am in doubt whether I have partitioned my hdd correctly as GPT on a BIOS motherboard. I used gparted to partition and I don't know if I aligned the beginning/end of the disk correctly, used correct ...
3
votes
2answers
1k views

Copying OS from one drive to another migrating from MBR to GPT - what to watch out for?

I'm looking at replacing my current MBR-partitioned 2 TB system drive with quite possibly a 3 TB drive. Copying the files should not pose a problem, but are there any gotchas to watch out for, ...
3
votes
2answers
3k views

Installing Arch Linux with UEFI Boot and GPT Layout

I'm trying to set up a dual UEFI boot Windows/Arch Linux, and have already installed Windows on a GPT layout through UEFI boot. I now want to fresh install Arch Linux using GPT layout as well, and was ...
3
votes
2answers
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
1k 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 ...
3
votes
2answers
373 views

Migrate UFS drive from FreeNAS to DragonFly BSD

I'm trying to migrate my home server from FreeNAS 8.3 to DragonFly BSD. In order to shuffle my files about I picked up a Seagate 8Tb Archive disk, attached it via eSATA, formatted it as UFS under ...
3
votes
1answer
586 views

Can't format HDDs and install linux to Dell hybrid ultrabook

I've tried installing OpenSUSE 13.2, Debian 8/8.1 and Ubuntu 15.04 (all them amd64). Debian/Ubuntu won't show disks and OpenSUSE can't format the partitions created on them. During the install, ...