Questions tagged [gpt]

The GUID Partition Table (GPT) is a method of partitioning disks. It features up to 128 partitions by default and it uses 64-bit pointers, which means it fully supports disks of up to 8ZiB, as opposed to the 2TiB limit of the older Master Boot Record (MBR) partitioning scheme. GPT is most often used on EFI-based computers, but it is sometimes used on BIOS-based systems, too.

107 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
9k views

Repair corrupt GPT partition table of OSX disk from Linux

My wife's OSX laptop won't boot. I've pulled the drive out and plugged it into a USB adapter and can see it from my Ubuntu laptop. When I plug it and run gdisk I get the following output: matthewh@...
hookenz's user avatar
  • 2,599
2 votes
0 answers
113 views

Recover damaged partition on SanDisk Ultra USB Thumb Drive

I most likely pulled the drive during a write operation and damaged the partition data. The drive now won't show in Disks or gparted but it will show in lsblk and fdisk, but not consistently. lsblk (...
douirc's user avatar
  • 21
2 votes
0 answers
3k views

Should /boot/efi be mounted?

Ubuntu is on a GPT disk. At some stage in the past I needed access to the efi partition. I notice that it's mounted at /boot/efi. My question is for people who are using UEFI disks and not MBR (MBR ...
ScriptAlexS's user avatar
2 votes
2 answers
8k views

Unknown Filesystem - grub rescue after Windows 10 update?

About a week ago Windows 10 ran its automatic updates and after that I'm unable to boot to ubuntu the way I was doing it (pressing f12 and manually selecting Ubuntu partition). Now it takes me to a ...
GiorgiMG's user avatar
2 votes
0 answers
609 views

Ubuntu 16 RAID5 running but primary GPT table is corrupt on 3 of 4 drives

RAID5 is operating but GPT has CRC error and/or is corrupt (depending on who give the error message). I have read all of the helps I can find on this and I did what they said and it worked... once ...
Micheal Morrow's user avatar
2 votes
2 answers
3k views

How to convert MBR partition table to GPT?

I need to install Windows 10 alongside of Ubuntu, but partition table type is MBR, I tried to turn off UEFI mode, use legacy-mode but Windows still don't wont to be installed. (I heard of gdisk ...
R S's user avatar
  • 2,439
2 votes
0 answers
818 views

GPT ext4 partition recovery - invalid backup header

When I run from a LiveCD to try to recover a non-booting system, I run gdisk /dev/sda and get Caution: invalid backup GPT header, but valid main header; regenerating backup header from main header. ...
batflaps's user avatar
  • 121
2 votes
0 answers
704 views

Windows corrupts primary GPT table

I have an external hard disk that I share between my Linux laptop and my Windows 10 desktop. The disk has a GPT table, with a NTFS partition and a partition encrypted with Truecrypt. The disk works ...
NickS's user avatar
  • 21
2 votes
1 answer
2k views

Partitions Grub UEFI GPT MBR

I'm having a problem with the partitions in my system. Yesterday, I wanted to try Arch Linux, so I installed it in a new partition and in the process I was told, since my system is UEFI, I had to ...
FranGoitia's user avatar
2 votes
1 answer
4k views

How to restore a LUKS partition?

My /home partition disappeared on my main HDD. I changed SATA slots, then I got strange "no lvm available" errors during boot when usually the password would be entered (I do not have any lvm setup at ...
redanimalwar's user avatar
  • 1,550
2 votes
1 answer
784 views

How to convert HDD from GPT partitioned to partitionless keeping BTRFS filesystem intact?

I have a 8TB Seagate Archive HDD partitioned with GPT: BTRFS filesystem (1TB approx), all the rest is now free. I would like to convert this HDD to partitionless (let BTRFS manage full drive) while ...
Artem Mygaiev's user avatar
2 votes
1 answer
1k views

Unable to install Ubuntu 12.10 on windows 8 machine/ error no5

Installing crashes halfway through "Copying Files," showing an I/O device error error number 5. There was problem in beginning of installation too--Ubuntu was not detecting the installed Windows 8 ...
JOBIN VARGHESE's user avatar
1 vote
0 answers
158 views

Issue with Ubuntu installation alongside pre-installed Windows

Although I browsed through solutions to many similar problems posted previously, I still could not succeed. The main issue is that during the installation of Ubuntu 22.04 in a USB stick (created using ...
Cbraz's user avatar
  • 11
1 vote
0 answers
1k views

gdisk MBR and GPT damaged

I'm trying to clone my SSD into a bigger one using CloneZilla, but I got a problem saying that my disk contains mismatched gpt and mbr partition. I tried the gdisk command to see what is wrong in ...
Maystro's user avatar
  • 111
1 vote
0 answers
185 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 ...
Marietto's user avatar
  • 575
1 vote
0 answers
922 views

Corrupted GPT on disks in a Logical Volume Group

On a Ubuntu 20.04 box, I have two 6TB disks in a LVG spanning both disks for a Logical Volume of 12TB. It has been working fine since I set it up approx a year ago. The two drives are in an ...
Ted Hendriks's user avatar
1 vote
0 answers
203 views

Help with creating a live USB with Ubuntu 20.10

I'm trying to create a live USB with the latest Ubuntu but without success. Steps I did: Downloaded the ISO image Verified the image I tried with gnome disks, ubuntu's Startup Disk Creator and ...
user avatar
1 vote
0 answers
585 views

Restoring a partition table using gdisk output

I seem to have messed up the partition table of my mobile phone, and I was wondering whether I can recreate it from the gdisk output that I still have, using the Ubuntu installation on my laptop. This ...
Pthagonal's user avatar
1 vote
2 answers
238 views

"Default boot device missing or boot failed" after erasing GPT

I wanted to install Ubuntu with dual-boot but the installer couldn't find the windows partition. I read online that erasing the GPT could help. I did so with gdisk (wich told me that I have MBR ...
Jojojojo's user avatar
1 vote
0 answers
303 views

default boot device missing or boot failed after destroying GPT data

I was trying to install Ubuntu 18.04 parallel to Windows 10. I was unable to find any of the partions while installing ubuntu and I came across this answer. I tried the steps mentioned by Walid Ammou. ...
Abhijith Bagepalli's user avatar
1 vote
0 answers
176 views

GPT HDD is only writable when formatted with NTFS, is read only with EXT4

I have a 1TB sata gpt hdd that I removed from an apple time capsule and I am attempting to use it with Xubuntu 18.04. It initially had HFS+ partitions on it however I wiped those and made the whole ...
tbfunk's user avatar
  • 11
1 vote
0 answers
106 views

GRUB recovery - help needed

During Ubuntu startup (not remember exactly, but no newer than 16.04) I got error Minimal Bash-like line editing is supported. For the firs word, TAB list possible command completions. Anywhere eise ...
Rupert Smith's user avatar
1 vote
0 answers
307 views

Multiple 2TB MSDOS partitions or 1 larger GPT partition for volume group

I have just expanded my 1+0 raid from a total of 2TB to 6TB. When adding each of the new drives I partitioned them using parted to create GPT based partitions to cover the entire of each of the ...
Alexis F's user avatar
1 vote
0 answers
367 views

Cloning a Ubuntu installation (including repositories, held packages & keys)

From How to list all installed packages we learn how to backup list of installed packages. From How to See list of Repository? we learn how to backup list of installed repositories. But how do we ...
WinEunuuchs2Unix's user avatar
1 vote
0 answers
3k views

working 14.04 ubuntu to error: no such device: grub rescue>

I'm a father and I was trying to get one more entry on gnucash after my youngest woke up. I had gnucash, keypass, chrome and LibreOffice calc up when my son found the power button.... Nooooooo! :D ...
Brian Bersbach's user avatar
1 vote
0 answers
847 views

Dual Boot Windows 10 & Ubuntu 14.04 MBR & GPT Partition Table problems

I have a Windows 10 and Ubuntu 14.04 dual boot system. I am a novice at Ubuntu but managed to get the dual boot up and running reliably. I am now trying to add a 3TB HD and partition it for use by ...
Rick's user avatar
  • 11
1 vote
1 answer
1k views

Dual Boot Windows 8 - Ubuntu 14.04 with msdos partition table

I have a self-installed Windows 8 on a disk with a msdos partition table. I boot in UEFI, and I have a 350m partition with EFI file of Microsoft. 1. Is it really possible to boot in UEFI with a ...
Raphaël Boucher's user avatar
1 vote
1 answer
171 views

problem deleting MBR data and GPT data

I am trying to install Ubuntu alongside windows 8 for the first time so I know nothing about Ubuntu and I deleted what so-called MBR or GPT data or both using Ubuntu live by typing (sudo gdisk /dev/...
Muhammad Alsaied's user avatar
1 vote
0 answers
5k views

JMicron JM20339 USB SATA Controller Problem

I Have 3bon-s35s SATA to USB converter(or controller). It use JMicron JM20339 chipset. Windows 7 can recognize WD 4TB HDD, but Ubuntu dosen't. dmesg shows below [ 2.990457] scsi 6:0:0:0: Direct-...
Jae-jong Shin's user avatar
1 vote
1 answer
80 views

Problem Partitions Dual Boot

I was trying to install a dual boot in my PC (I have Windows 7 Installed Already), it does not recognize my partitions, I even left non allocated space and nothing, it saw it as a free disk. Then i ...
Nicolas Hernandez's user avatar
1 vote
0 answers
608 views

Windows 8.1 Dual Boot Ubuntu 14.04 - dmraid and fixpart

I'm trying to install Ubuntu 4.14 on dual boot with Windows 8.1, but when beginning the LiveUSB the Ubuntum, the partitions created by Windows 8.1 are not recognized, reports that all is HD as ...
Jefferson's user avatar
  • 111
1 vote
1 answer
274 views

3TB partition disappeared by Windows 7

I am wondering if anyone can help me with a problem... I have a dual-boot Ubuntu and Windows 7 system. I bought a new 3TB HDD as I needed more storage space (the HDD is not used to boot the system). ...
nomadic's user avatar
  • 11
1 vote
0 answers
1k views

How to re-create the partition table?

I accidentally dd the first 512 bytes using dd if=/dev/zero of=/dev/sdb bs=512 count=1 and the partition table is now gone. Is there ANY way to re-create the partition table(/dev/sdb). My hard ...
Ram's user avatar
  • 111
1 vote
0 answers
198 views

Problem with the installation on ubuntu 14.04 LTS

I had a computer running Windows7 and wanted to change to Ubuntu. So I installed the 14.04 LTS version and all seemed to have gone cool. (I'd like to make clear that I want just Ubuntu in the ...
urraukua's user avatar
1 vote
0 answers
114 views

inconsistency in showing disk label

I've got my new laptop (thinkpad 440p) with windows 7.1 pre-installed and wanted to have single-boot ubuntu 14.04 on it. I wanted to change the disk partition table to "msdos" (legacy), so I change ...
Ehsan K. Mohammadi's user avatar
1 vote
1 answer
233 views

Installing 13.10 alongside preinstalled Windows 8

I followed this guide to a T: http://www.everydaylinuxuser.com/2013/09/install-ubuntu-linux-alongside-windows.html However, when I get to step 6, I just see my /dev/sda and it says it's completely ...
stags4.2.0's user avatar
1 vote
1 answer
652 views

Ubuntu + Windows 8 -> Dell 14z 5423 AHCI / ISRT

I just bought a Dell 14z 5423, which uses UEFI/GPT and Intel Smart Response on the Windows 8. I have been researching and studying how to use it as Dual boot. Thanks to this forum I was able to ...
Marlon Pascoal's user avatar
1 vote
1 answer
3k views

Ubuntu 13.04 doesn't see my 2TB hard drive

I have a small problem. I switched today from Windows 7 to Ubuntu 13.04 on my home PC. I have installed 3 hard drives - 250GB, 500GB and a 2TB. On the 250GB I have installed the system - clean ...
Moorti's user avatar
  • 11
0 votes
0 answers
59 views

LUKS Container lost due to partitioning by Windows?

I plugged a HDD with a LUKS container on it into Windows and opened the Disk Manager. A dialog appeared where I clicked "Format as GPT", not knowing what I was doing. Apparently Windows wasn'...
Philipp Murry's user avatar
0 votes
1 answer
60 views

Ubuntu boot problem, I think it's partition

After I chose Ubuntu in grub 2.06 I saw this error:
Ghost 's user avatar
0 votes
0 answers
97 views

Proper Way to Produce Image of Truncated GPT Drive

Another question addresses a scenario where truncate damages an image of a GPT drive. If I understand correctly, the advice there is to use gdisk to repair the damage. I would rather not cause the ...
Ray Woodcock's user avatar
0 votes
0 answers
78 views

Trying to restore Drive that I accidentally used DD on

I was attempting to use the DD command to create a bootable Ubuntu server USB. By accident, I ran the command to my boot drive. It ran for a few minutes, then I noticed and pressed control+z to halt ...
dpc's user avatar
  • 1
0 votes
0 answers
981 views

server installer for 22.04: can not select boot drive

I am providing an ubuntu installer from PXE boot with uefi/grub following this guide, except I have to use grub because syslinux/pxeboot doesn't run on uefi. The installer boots fine. I the drive I ...
FalcoGer's user avatar
  • 865
0 votes
0 answers
77 views

Dual Boot Windows/Linux—Same setup on Two Drives—Boot in Grub for all Four?

I have an old HDD (GPT) with Win 10 and Ubuntu 20.04. I added an SSD (GPT) with Windows 10 and Ubuntu 22.04. I unplugged the old HDD before I installed the SSD. What do I need to do to safely get ...
salmmus's user avatar
  • 83
0 votes
0 answers
126 views

Ubuntu 22.04 LTS dual boot with Windows 10 goes to Grub2 Rescue when reinserting old drive with both OS's

My system is old and bios only. However, I created a dual-boot setup on SSD for Ubuntu 22.04 LTS and Windows 10 in GPT format. Yes, I got it to work. Everything worked fine until I plugged the old HDD ...
salmmus's user avatar
  • 83
0 votes
0 answers
61 views

grub2 cannot detemine new created nvme1n1

I add drive nvme1n1 GPT, add the partition nvme1n1p1 (ext4) Here some outputs: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55.6M 1 loop /snap/core18/2667 loop1 ...
ilw's user avatar
  • 101
0 votes
0 answers
1k views

Fix USB flash drive with corrupt GPT table

I have a problem with USB flash drive (32GB) after unsuccess TransMac usage. Now the flash drive contains two partitions that can't be deleted and an empty space. gdisk: root@user-virtual-machine:/...
TwentySix's user avatar
0 votes
0 answers
526 views

How to extend root directory from 2TB to 4TB

I have a situation to extend root directory from 2TB to 4TB because of low diskspace. I have updated it in vmware setting 2tb to 4tb. In lsblk I can see /dev/sda is 4TB. when I was doing fdisk on /dev/...
Chava Koteswara Rao's user avatar
0 votes
2 answers
842 views

Executing grub2 command nativedisk before boot (for huge disks)

I moved an Ubuntu 20.04.4 to a 4TB GPT disk, booted bios_grub (i.e. using legacy BIOS). Grub2 allows this, as long as its stage2 code is installed at the start of the disk (like in sectors 34-2047). ...
filofel's user avatar
  • 121
0 votes
1 answer
1k views

Gparted or mkfs corrupting GPT backup header/table

------- Edit -------- This question is not about how to install Ubuntu to a USB drive (I already know how to do that). This question is about why standard utilities are corrupting GPT tables. ------- ...
Tracy's user avatar
  • 417