Questions tagged [gpt]
Use this tag for GPT partition tables.
255
questions
-1
votes
0
answers
34
views
How to install Clear Linux in a Surface Go from Xubuntu
I'm running Xubuntu in my Surface Go 3 and now I want to move to Clear Linux. But I'm quite a noob and I'm facing some obstacles.
The facts are these:
-Initially, from Windows 11, I created a bootable ...
0
votes
1
answer
18
views
Copying a partition in GParted results in larger partition?
I copy a 300 GB partition using GParted, and paste it onto an existing 500 GB partition. After two hours of transfer it says it's attempting to resize the newly pasted partition, and immediately fails ...
0
votes
0
answers
63
views
'lsblk' is not displaying the GPT partition label after formatting the disk
My lsblk is not showing gpt partition label for one disk partition, which was freshly formatted with
mkfs.ext4 -v -L MyLabel mydev
somehow the partition was not labeled properly afterwards. I didn't ...
0
votes
0
answers
55
views
Debian did not work on USB
I have been facing difficulties reinstalling Debian using the legacy and MBR approach on a GPT USB. Previously, I used to install Linux distributions on USB flashes and create a dd image for backup ...
7
votes
1
answer
468
views
Is it important to delete GPT/MBR labels before reformatting/repartitioning?
I've seen some disk formatting/partitioning discussions that mention destroying existing GPT/MBR data structures as a first step:
sgdisk --zap-all /dev/nvme0n1
I wasn't previously aware of this, and ...
0
votes
0
answers
23
views
GPT root partition unable to grow; options?
I have the following partitions on my disk and lots of free space at the end of the disk. I need to grow root partition to occupy most to the space(Some for Swap) without loosing partition content. ...
2
votes
1
answer
294
views
KDE Partition Manager not seeing full disk size after cloning Windows 10 (UEFI) to larger SSD: how to move the secondary GPT table?
(Solved. See below)
After having cloned a SSD to a larger one, I want to move the Recovery partition at the end of the clone, and then expand the Windows partition to benefit from the additional ...
0
votes
2
answers
83
views
Does erasing the MBR will touch the partition table?
If I run this dd command to blank the first bytes of a MBR, will it have an effect on the current partition table of this disk (or just on grub)? Will the partitions still be recognized?
dd if=/dev/...
1
vote
1
answer
103
views
Dangerous to create partitions in unallocated space on the same disk as the running Linux system?
For context, I have a Fedora KDE installation whose partitions take up half my SSD. The other half I left unallocated when I installed Linux.
Although I'm aware that it's dangerous to attempt to ...
1
vote
1
answer
658
views
Fixing an ext4 whole-device filesystem and corrupt GPT partition table
I have an issue very similar to the question here:
https://askubuntu.com/questions/1370421/restore-ext4-hd-after-creating-gpt-partition-table
My problem seems to be that I had an ext4 filesystem which ...
3
votes
1
answer
292
views
Why is my backup GPT partition table corrupt on my MD RAID 1? And why does the kernel only see 1 randomly picked member disk a time?
I have 2 disks, each 1TB in size, and both of them are a member of an MD RAID-1 array, as created by this command:
mdadm --create /dev/md0 /dev/sda /dev/sde --level=1 --metadata=1.0
The argument --...
1
vote
2
answers
77
views
archlinux in a different HDD
I have a PC with a mechanical interrupt in order to enable different hdds and use different OSs. Windows has bee installed with bios legacy and I am trying to install archlinux-uefi.
At the end of ...
2
votes
2
answers
10k
views
How to fix "Bad magic number in super-block"
I try to move all data from one SSD to another SSD. The old SSD is 500 GB, and the new SSD is 1000 GB.
Firstly I've created a backup:
dd if=/dev/nvme0n1 | gzip -c /media/ubuntu/local/backup1.img.gz
...
0
votes
0
answers
473
views
How to install Grub2 on a newly created GPT partition?
I have an Ubuntu system, installed on a wired, (legacy BIOS bootable) USB HDD, that I would like to convert to UEFI boot.
I was trying to follow this: https://gist.github.com/cjyar/...
1
vote
0
answers
238
views
Is ddrescue/dd cloning compatible with GPT/UEFI boot?
I used ddrescue many times for failing HDDs with MBR partition tables. It always worked perfectly and if the failing HDD was bootable, the clone booted, too.
Now I have a possibly failing SSD, but ...
1
vote
1
answer
1k
views
Fix GPT after using dd to clone a smaller disk onto a larger disk
I used dd to clone a smaller disk onto a larger disk, however now when booting I'm getting dmesg errors of:
[Fri Sep 30 11:48:43 2022] GPT:Primary header thinks Alt. header is not at the end of the ...
2
votes
0
answers
306
views
How are partition numbers (sda1, sda2, sda3, ...) determined?
In my experience, partition numbers have nothing to do with the physical ordering on the disk. And a newly created partition tends to have a larger number.
How are partition numbers determined? Are ...
0
votes
1
answer
353
views
How can I clone from 1TB MBR ssd to 4TB GPT ssd?
I have a raspberry pi with a 1TB hard drive. I managed to fill it up, so I purchased a new 4TB hard drive to replace it.
I then used software called "Macurim Reflect" to clone the previous ...
0
votes
0
answers
2k
views
Unable to mount EFI partition because of "wrong fs type, bad option, bad superblock". lsblk doesn't show UUID, while cgdisk does. MBR/GPT problem?
The backstory to this question.
After erasing crypto_LUKS headers as specified in frostschutz's answer, I tried following this guide again. I got stuck at mounting Mac's EFI partition to /mnt/boot ...
0
votes
0
answers
249
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
158
views
GPT partition deleted and unable to mount disk
I accidentally deleted GPT partition table. Now I can't mount or see any data on my HDD. I tried every possible solution on internet instead it got worse. There is no back up.
On disks this is what it ...
0
votes
1
answer
372
views
FreeBSD could not boot any more as /dev/gpt/rootfs was no longer created, how to fix this?
I have in my /etc/fstab
/dev/gpt/rootfs / ufs rw 1 1
and gpart list shows a partition with the rootfs label:
3. Name: nvd0p3
Mediasize: 16105245696 (15G)
Sectorsize: 512
...
2
votes
2
answers
649
views
Install Linux via USB: Boot shows "Boot option restore"
Question: How can I manually boot Linux on EFI systems with Grub?
Where I'm stuck:
I'm trying to install a custom kernel, root file system, and grub on an x64 computer. The USB stick has an equivalent ...
0
votes
1
answer
422
views
Problem creating a disk image of an SD card
I have built a custom image of Armbian with a partition size of 3.1 GB, and I am now finished working with it. It is currently written to a bootable 64 GB SD card which is using a GUID partition table ...
1
vote
1
answer
1k
views
Can you use MBR with UEFI - a question about the UEFI specification
I am reading through the UEFI standard: https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf
On page 115 section 5 it discusses the GPT disk layout. I'm a bit confused as to ...
2
votes
1
answer
1k
views
Does Coreboot/SeaBIOS support GPT partition table?
Few days ago, I flashed my x230 with coreboot with this tutorial.
Now, while I was installing Funtoo using its GPT-Partitioning guide (not using MBR-Partitioning),
I got following error:
EFI ...
0
votes
1
answer
2k
views
manipulating the protective MBR on a GPT disk
I would like to add an empty partition of type 0x00 to the beginning of the protective MBR of a GPT-formatted disk. I've found a way to do this, but the method relies on fdisk enhancements not ...
0
votes
1
answer
1k
views
Partitions not visible while dual booting Kali with Windows 11 with GPT disk
While trying to install Kali Linux as a secondary OS with Windows 11(primary OS), the partition created for Kali is not visible during the Graphical Install.
The hard drive I'm trying to install kali ...
1
vote
3
answers
3k
views
fdisk output: "new DOS disklabel"
I have a question about what is happening here. Does "a new DOS disklabel" here mean a DOS partition table has been created? In other words, that a DOS partition table has been created by ...
1
vote
0
answers
3k
views
Command to install GRUB2 on a BIOS boot partition
For a BIOS system with a single GPT fixed volume and a freshly-created BIOS boot partition at /dev/sda1 carrying the bios_grub flag, is the correct command to install / embed GRUB2 (i.e., core.img) to ...
0
votes
0
answers
456
views
Booting a 2-partition Windows 10 installation from GRUB2 command-line
I'm using a GRUB2 prompt after booting from a Linux rescue USB flash drive (finnix-123) - trying to boot my Windows 10. It is on an SSD with MBR rather than GPT, with two partitions: one of about 100 ...
0
votes
1
answer
415
views
Change the file system of a partition without deleting its content
I have a 2tb hard drive containing gpt and a single 2tb partition with ext4 file system. The partition has one 1.5tb file inside it. I want to change the type of file system of this partition from ...
0
votes
0
answers
108
views
What is an appropriate end sector for expanding my partition to the end of the drive?
Ubuntu 20.04. I have recently cloned a 1TB storage SSD dedicated to my Nextcloud instance to a 2TB SSD.
However, the partition remains 1TB, so I want to resize it to the end of the new disk.
I ...
2
votes
1
answer
5k
views
How to create a GRUB BIOS boot partition using sectors 34 to 2047?
How can I create a partition for the GRUB legacy boot of GPT disks using free sectors between the GPT (33) and the first aligned partition (2048)?
If I already have partitioned all other sectors, ...
2
votes
3
answers
2k
views
parted: create swap partition on gpt disk (one liner) not working
I am trying to create a swap partition in my script using parted based on the Arch Linux guidance.
https://wiki.archlinux.org/title/Parted#Partition_schemes
Somehow it is always sort of skipping the ...
1
vote
2
answers
656
views
How many partitions can be created for linux on GPT?
I know it's up to 128 for windows OS. Does the same limit apply to Linux? So this limit is actually a limit of GPT?
0
votes
1
answer
209
views
How is the value of the "unique partition GUID" is generated?
From UEFI spec 2.8, GPT partition entry array definition (5.3.3), I understand that Unique Partition GUID is to "uniquely identify every partition that will ever be created". And the ...
2
votes
1
answer
1k
views
MBR converted to GPT based system, how to boot Linux and Windows
How to boot GPT based system to Linux and Windows? This is not a question of starting from a fresh GPT based system, but starting from a MBR converted to GPT based system.
My Asus laptop initial setup,...
1
vote
1
answer
351
views
Increase disk size and change from MBR to GPT
I have a CentOS server on VMware that has, among others, a disk of 1.5TB, with a single xfs partition using the whole disk. This disk/partition is running out of space, so I need to increase its size ...
0
votes
0
answers
726
views
Cannot boot (any more) from MBR SSD drive even if legacy BIOS is enabled
The situation is simple to describe in fact:
A MBR-partitioned Kingston SSD of 1TB containing Windows 10 and Kubuntu was moved to a new (HP) laptop: in order to boot there, legacy support had to be ...
10
votes
3
answers
3k
views
Undoing wipefs --all --force /dev/sda? /dev/sda
OS: Debian Bullseye, uname -a:
Linux backup-server 5.10.0-5-amd64 #1 SMP Debian 5.10.24-1 (2021-03-19) x86_64 GNU/Linux
I am looking for a way of undoing this wipefs command:
wipefs --all --force /...
3
votes
1
answer
100
views
GPT disk looks different in external docking bay and internal swap bay
I have a hard disk that I use for backups via a USB 2.0 docking station. The disk has a GPT and one single ext4 partition. Everything is fine via the docking station, but if I attach the disk to an ...
1
vote
0
answers
378
views
System boots with MBR, but not with GPT
I have a Linux image made with Yocto that boots on a Pocketbeagle. For the learning experience, I'm trying to move it to using GPT.
For MBR, I am using the following beaglebone-yocto.wks description:
...
0
votes
1
answer
49
views
Linux/Windows Dualboot: Does it make sense to repartition a whole drive when reinstalling Linux?
Assumed we have a MS-Windows/Linux dualboot system that works completely fine:
partitioning scheme: gpt
sda1: Windows
sda2: Linux Root
sda3: Linux Home
Unfortunately this installation is pretty aged,...
0
votes
2
answers
458
views
How can you move an image of a GPT drive to a smaller device?
I have a 64GB SD card with Linux (Debian) installed on it.
I want to move it to a smaller SD Card (16 GB).
I used resize2fs and cfdisk to resize the filesystem and partitions, so that now, they look ...
0
votes
0
answers
393
views
GPT to MBR: gdisk overlap
I have a 256GB NVMe SSD drive and this is other system drive, which my friend converted from MBR to GTP.
This is my output. I used gdisk to convert GPT to MBR, but I have a problem.
Problem: MBR ...
0
votes
1
answer
827
views
exFAT Refusing to mount - The primary GPT table is corrupt
I am trying to mount a 4TB exFAT HD on my Manjaro Linux 5.9.11 system. It refuses to mount using the default kernel drivers:
mount: /home/user/Ark: wrong fs type, bad option, bad superblock on /dev/...
1
vote
0
answers
110
views
How to Backup a disk with corrupted GPT?
My hard disk is failing. Booting into Live Ubuntu, fdisk -l says "GPT table is corrupt, Backup appears okay, using it".
I need to take a backup of the files on the disk ASAP. It doesn't show ...
0
votes
1
answer
750
views
Can I mount a gpt disk with ntfs partition on an mbr booted linux system
System: Linux Mint 20 x64 cinnamon booted on mbr formatted disk.
I inserted a new hdd containing a gpt and a ntfs partition (next to a small MSR partition, which doesn't matter here I guess). GParted ...
1
vote
1
answer
931
views
How do I start a Windows 10 partition on a MBR partitioned disk on a system that otherwise uses GPT/UEFI GRUB?
Okay, let me explain. This is a UEFI computer. It has two disks. The primary disk is partitioned with GPT and boots via GRUB2 to an Arch Linux partition. The secondary disk is partitioned with MBR and ...