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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
8k views

gdisk Warning: Secondary partition table overlaps the last partition by 33 blocks!

I’m going to change MBR to GPT using gdisk but when I type: sudo gdisk /dev/sda I have a warning tell me: Warning! Secondary partition table overlaps the last partition by 33 blocks! You will ...
0 votes
1 answer
5k views

Cannot mount GPT Windows partition

I had a Windows 7 machine with 167GB. I wanted to install Ubuntu on it, so I shrank the partition into 111GB and 56GB. Afterwards I installed Ubuntu 14.10 32-bit in the newly created 56GB partition. ...
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 ...
0 votes
1 answer
5k views

Parted input/output error while making a new GPT table

I have damaged usb drive. Tried making a new table with GParted, not finishing the operation. also tried with parted, it's printing input/output error while making GPT table. scanned with badblocks ...
0 votes
0 answers
54 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'...
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@...
0 votes
1 answer
58 views

Ubuntu boot problem, I think it's partition

After I chose Ubuntu in grub 2.06 I saw this error:
0 votes
0 answers
85 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 ...
1 vote
0 answers
152 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 ...
15 votes
4 answers
46k views

Convert MBR partition to GPT without data loss

I have an MBR partition which I want to convert to GPT without loosing all my data. Bios is UEFI. I am not an expert of hard disks, so please be patient. I have seen this and this but I cannot ...
3 votes
1 answer
13k views

The CRC for the main partition and back up partition table are invalid

I've been having problems with my HDD since I tried dual booting Ubuntu 14.04 with Windows 8.1. When I was installing from the Ubuntu installer I was receiving input/output error during write on /dev/...
0 votes
0 answers
74 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 ...
3 votes
1 answer
4k views

Installing Ubuntu on MacBook Air 1,1

I've wanted to give my MacBook Air 1,1 a new life with Ubuntu. It seems this computer has a 64-bit CPU, so it should run current versions of Ubuntu. However, when I try to I install the ISO to the USB ...
0 votes
0 answers
934 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 ...
1 vote
1 answer
1k views

restore ext4 HD after creating GPT partition table

I have a windows10 - ubuntu 18.04 dual boot computer. Three drives on it: 512 GB SSD with ubuntu system 1 TB HD with windows system 1 TB HD Ext4 formatted (the problematic one) for extra data ...
0 votes
1 answer
454 views

converting MBR disk with UEFI boot to GPT

I have a MBR disk which I want to convert to GPT without losing my data and OSs (ubuntu and Manjaro) (my boot is UEFI not BIOS) this is my fdisk -l /dev/sdb output : Disk /dev/sdb: 931.51 GiB, ...
2 votes
1 answer
3k views

Manual Cloning of a mutli partition gpt disk to smaller target

Ok so I have a Asus Laptop that came with 2x 128 GB ssd and its setup as a raid 0 totaling 256 GB. The first 4 partitions are the important ones. I assembled the raid with mdadm and cloned the entire ...
13 votes
3 answers
9k views

Why does the first partition start at sector 34 when I choose "Guided - Use entire disk" during install?

After choosing "Guided - Use entire disk" during installation of Ubunsut Server 12.04 I find that the first partition starts on sector 34. Why that specific sector and not the first one? (parted) ...
13 votes
4 answers
32k views

Convert from EFI to BIOS boot mode

I have a Samsung Notebook NP900X4C with an LUKS encrypted installation on it. The system is booting in UEFI mode. The problem is that the samsung-notebook kernel module is disabled in UEFI mode and ...
0 votes
0 answers
125 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 ...
0 votes
0 answers
76 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 ...
0 votes
0 answers
60 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 ...
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:/...
1 vote
1 answer
1k views

Unable to install GRUB in /dev/nvme1n1 grub-install failed

I had already installed Ubuntu 22.04 in /dev/nvme1n1 before but due to my incorrect fiddling with the wrong NVIDIA drivers I got the system unstable so decided to reinstall it. In /dev/nvme1n0 I have ...
2 votes
1 answer
1k views

My /boot/efi is not pointing to the right ESP partition

I have a computer with 2 storage devices. I would like to have Windows on one and Linux on the other. For a variety of reasons, I want them as separate as possible. I'm using UEFI. I installed Kubuntu ...
2 votes
1 answer
3k views

Trying to access data from PMBR / GPT disk

I've taken an SSD from another (Windows/Linux dual boot) PC and I'm trying to access the data. The problem is that GParted reports 'unallocated' and Ubuntu's "Disks" utitilies reports '...
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 ...
-2 votes
2 answers
3k views

How to boot Ubuntu with legacy BIOS and GPT, without to need Grub, LiLo or UEFI in extra partition or on ubuntu partition?

How to configure to boot Ubuntu with legacy BIOS and GPT, without to need to install Grub, LILO, UEFI or other additional bootmanager in extra partition or on ubuntu partition? Or does the GPT no more ...
3 votes
3 answers
40k views

Why do I need to create a bios-grub partition when I install 12.04?

Is the bios-grub partition in Ubuntu 12.04 mandatory? I have used 11.04, 11.10 and 12.04, But I was never asked for this. Today I tried a fresh installation of Ubuntu 12.04 and for the first time ...
1 vote
0 answers
182 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 ...
0 votes
0 answers
518 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/...
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 ...
0 votes
2 answers
825 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). ...
4 votes
1 answer
5k views

How to partman/preseed with GPT

I need to make partitions of a server which has a 3TB HDD. This partitions must be done using preseed file(automatic). I've been searching but I can't clearly understand how partman works in the ...
0 votes
1 answer
985 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. ------- ...
0 votes
1 answer
109 views

Warning relating to GPT while installing Ubuntu on Dell Inspiron 15R 5537 alongside Windows 7

I am receiving the following warning while attempting to install Ubuntu on my Dell Inspiron 15R 5537 laptop which already has Windows 7 installed: /dev/sda contains GPT signatures, indicating that it ...
2 votes
1 answer
9k views

ZFS partition type and GPT partition label

Earlier I created a new partition with FSTYPE zfs_member, and (I think) I set the GPT partition label to the new name of the ZFS pool, and then created the ZFS pool in this partition (zpool create ... ...
0 votes
0 answers
299 views

How do I force a drive to use the backup GPT table?

Every question and answer I can find appears to be the opposite of my current problem. 8TB NTFS USB drive (~85% full) connected to single boot Ubuntu 20.04 server, shared with Windows workstations via ...
2 votes
1 answer
2k views

Errors while installing Ubuntu 20.04 on a Mac Mini A1993

Idecided to install Ubuntu on my Mac Mini, and delete the macOS partition. While installing Ubuntu 20.04 on my Mac Mini 2018 model A1993 I came across some errors and the installer wasn't able to ...
-1 votes
1 answer
45 views

In the ubuntu desktop os all hard drive installation process; manually partitioning process to create in a gpt disk an efi partition; which contains s [closed]

In the ubuntu desktop os all hard drive installation process; manually partitioning process to create in a gpt disk an efi partition; which contains some boot files; the partition is primary or logic?
1 vote
1 answer
5k views

How to fix - "“GPT detected. Please create a BIOS-Boot partition” while using boot-repair"

I had Windows 8 and Ubuntu 14 on my Dell XPS. I tried deleting Windows from Ubuntu by using this: https://help.ubuntu.com/community/OS-Uninstaller I re-started my machine and saw a message which said ...
1 vote
1 answer
20k views

How to change GPT to MBR?

I can't see my second hard drive, which is GPT, in Linux. I mean I can't mount it or use data from it. On Windows it is all good. I load Windows8\Ubuntu from GRUB, which uses MBR on the first HDD. As ...
3 votes
4 answers
25k views

Is it safe to remove "diag" flagged partitions?

I have a samsung laptop which came with windows 8 on a 1TB HDD. I am preparing my disk with gparted. I expected to see 2 or 3 partitions but there are actually 7! Now I've brushed up on UEFI and gpt ...
2 votes
1 answer
207 views

Plugged in ext4 to Windows, how to recover the data in Ubuntu?

I moved all my data to a new drive and it seems to be lost. Please help me to recover the data. Here is what I did to make the problem occur: I moved, not copied the data. (First mistake) The HDD was ...
1 vote
0 answers
906 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 ...
13 votes
6 answers
155k views

GRUB menu not showing with dual-boot UEFI mode installation

Previously I had Dell Inspiron Laptop with Legacy Boot and MBR disk partitioning with pre-installed Ubuntu 12.04. I needed dual boot with Windows. So I formatted it completely using Live USB, ...
0 votes
1 answer
274 views

Ubuntu fails to boot : freezes while starting services

I use Ubuntu 20.04. I just switched hard drives. I went from an MBR to a GPT partitioned hard drive. The problem is when I run Ubuntu on my new hard drive, the boot process stops when starting ...
1 vote
1 answer
575 views

moving Ubuntu installation on a dual boot system to a new hard drive

I had an old Windows 7 pc in a cleanroom, on which I installed Ubuntu 20.04 last year. It boots in legacy Bios. But the hard drive was quite small and as I started requiring more libraries on the ...
2 votes
0 answers
110 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 (...
0 votes
1 answer
46 views

Boot problems, win8,win10,ubuntu, efi, gpt

I apologize as this I'm sure has been asked several times,it just seems I can't figure it out, I have win8, win10 and ubuntu, I installed debian once, before win8 I had win7, well, I add my boot ...

1
2 3 4 5
7