Questions tagged [gpt]

Use this tag for GPT partition tables.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

How can I use existing EFI partition when installing Arch

I'm trying to install Arch Linux for the first time - I used the following video to learn how to do it: https://www.youtube.com/watch?v=pxTTp7gDRn4 In the video, the person explains how to do it in ...
0
votes
1answer
19 views

Using dd to restore a partition backup from MBR disk to GPT one

I have an ext4 partition backed up with dd on a MBR hard drive that I would like to restore to a new GPT hard drive. Can I just create an empty partition of the exact same size on that new GPT drive ...
0
votes
0answers
10 views

Recover Data from Formatted USB (HFS -> GPT)

I was applying this command on Wrong External HD diskutil eraseDisk MS-DOS GPT /dev/disk3 Now, I want to know, how to recover my files with structure... Before Format /dev/disk3 (internal, ...
0
votes
0answers
19 views

Backing up a device and restoring it including its partitions

Currently I'm going through each partition doing: mount -o rw /dev/mmcblk1pX /mnt/pX cd /mnt/pX # backing up: tar -czvf /tmp/partitionX.tar.gz . ... # something went wrong, restoring: tar -xzvf /...
0
votes
0answers
21 views

add additional msdos based partition using maximal amount of space

Stumbled about a problem with gpt: [root@someserver ~]# parted /dev/sdb GNU Parted 2.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: VMware ...
0
votes
1answer
32 views

Using gparted before installing Windows 10

I will be installing Windows 10 and Linux (dual-boot) on a new computer in a couple of days. I would like to use GPT instead of MBR for the partition table. As I understand it (and have done in the ...
1
vote
0answers
70 views

Partition table not recognized by any of the partition management tools

I have an Android 8.0.0 device (https://www.tvbox-manufacturer.com/product_category/fire-tv-stick/) with eMMC as a storage medium. The eMMC is removable (BGA socket on the Board). The device boots ...
0
votes
0answers
73 views

Resize Raw Image with GPT Partition Table

I'm attempting to resize a raw image (created with dd) containing a GPT partition table and several NTFS partitions. I mounted the image using losetup, ran partprobe to update the partitions the ...
2
votes
1answer
145 views

repair gpt after cloning to smaller drive

I had a gpt-partitioned drive, with unpartitioned space at the end, I used dd to clone it to another smaller drive. Unfortunately Linux won't see the partitions on the cloned drive. My understanding ...
0
votes
0answers
83 views

Any known install iso images using MBR partition and BIOS only installer?

I have a legacy BIOS motherboard which has broken USB-HDD boot capability. The manufacturer has stopped supporting it a long time ago although I subsequently obtained a slightly newer BIOS image and ...
2
votes
1answer
51 views

Can't disable swap on a GPT-based system

I want to disable swap on several running ubuntu 16.04 servers. I'd like, if possible, not to reboot them. From my research, it seemed that running swapoff -a to disable swap until the next reboot ...
0
votes
1answer
52 views

How to determine sizes using sgdisk partitioning in bash script

I'm using sgdisk in a bash script similar to this: sgdisk --clear /dev/vda --set-alignment=1 --new 1:34:2047 --typecode 1:EF02 -c 1:"grub" -g /dev/vda sgdisk --new 2:2048:16779263 --typecode 2:8300 -...
3
votes
1answer
313 views

UEFI booting using live USB media used for MBR legacy booting

To create a UEFI live USB (running Ubuntu if that matters), my understanding is that the simplest method is to create a FAT32 partition and copy the files from the last ISO there. I would also have to ...
0
votes
0answers
57 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. ...
1
vote
1answer
54 views

disk partitioning gui RHEL CentOS 7

question: should it be /dev/sdb that is mounted or /dev/sdb1 that is mounted when dealing with disks other than your operating system disk? My issue is that with the Utilities - Disks from the ...
1
vote
2answers
383 views

How to avoid naming of partitions with parted?

If I run these commands: parted -s /dev/sda \ mklabel gpt \ mkpart primary 1MiB 261MiB \ set 1 esp on \ mkpart primary 261MiB 50GiB \ mkpart primary 50GiB 550GiB \ mkpart ...
0
votes
0answers
130 views

parted: resizefs -1s did not work but resizefs -100% works

I'm trying to resize the GPT partition to the end of disk (SD card) using following: $ sudo parted -s /dev/sdg -- resizepart 8 -1s But I got the following error Error: Unable to satisfy all ...
1
vote
0answers
539 views

Install Debian 10 on a system which have both GPT and MBR

I have a notebook which has two drives: one is an SSD and the other is an HDD. It also currently has both Windows 10 (SSD) and Windows 7 (HDD): I want to remove Windows 7 and install Debian 10. As I'd ...
2
votes
1answer
323 views

Grub not starting after moving drives

So I've got a Debian 9 machine with 5 hard drives in it. I tried moving these drives to a new machine and hoping they would boot. When I did this, I got "normal.mod not found" and it kicked me to grub ...
2
votes
1answer
187 views

On UEFI laptop, Linux Mint has crashed twice

In the last 2 months, I have installed Linux Mint 19.1 on two laptops. On the older of the two, a Samsung Rv511 (ca. 2011) using MBR partitioning, there have been no problems at all. Linux Mint has ...
2
votes
2answers
213 views

How to determine if a PC has a combination of GPT disk and legacy BIOS boot, where the boot code is read from the MBR?

In a comment, Johan wrote: In the rare combination GPT disk + legacy BIOS boot, the boot code is read in the old-fasioned way from the MBR What is the proper way to determine if a PC has the ...
0
votes
0answers
47 views

Mounting windows server 2016 Azure VM GPT basic NTFS partition on linux

I have an azure blob (a .vhd disk) which is a copy of a windows data disk created by taking a snapshot of the live disk, then copying that snapshot to a temporary blob, which is the blob I have ...
0
votes
1answer
354 views

How to recover lost data after disk MBR to GPT conversion?

When I curiously selected to "create a new partition table" and the new type of it is GPT, GParted poped a warning message that "I may loss all...", but I still clicked yes, as I thought all the ...
1
vote
1answer
110 views

GPT header Backup

The first 512 bytes of MBR disk contains boot code and partition table, backing up (dd command) this area is useful. I have switched to GPT right now, and want make a backup, is it in the same way to ...
-2
votes
2answers
591 views

Kali Linux installation on USB drive

I want to install Kali Linux on a 64 GB USB drive and want to take it just anywhere and plug it in any PC and have my setup up and running. IOW I just want a HDD like complete Kali Linux portable ...
1
vote
0answers
72 views

unable to create a bootable USB Debian Stretch disk using LVM with GPT partitions

I'm stuck for several days whith a issue when I try to create a bootable USB disk GPT partitonned. I would like this disk to be like a bootable "backup" disk for my live system. (In fact the system ...
2
votes
2answers
1k views

How to mount a device of gpt type?

In Linux Mint 18.3 which boots from an HDD, I want to mount an external SSD. When I run the command sudo fdisk -l, I get all the drives and partitions as well as the SSD and when I run sudo blkid, I ...
0
votes
1answer
748 views

What do the partition table types and flags mean in the output of parted?

In the output of sudo parted -l: Model: WD My Passport 0748 (scsi) Disk /dev/sdb: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size ...
-3
votes
1answer
53 views

In GPT, can a partition be partitioned further into partitions?

I heard that GPT makes MBR's distinction between primary partition, logical partition, and extended partition disappear. In GPT, can a partition be partitioned further into partitions, in the same ...
1
vote
1answer
227 views

Installation and booting scenarios for combinations of boot sector (GPT or MBR), firmware (BIOS or UEFI)?

I think all the confusions in this post come from coexistence of old and new technologies and abuse of terminology such as mentioned in https://en.wikipedia.org/wiki/...
0
votes
1answer
68 views

What is a generic name for the sector which stores the partition table of a disk?

If a disk uses GPT partitioning method, is its first sector still called MBR? What is a generic name for the sector which stores the partition table of a disk? Thanks.
1
vote
3answers
1k views

How install legacy grub to gpt uefi disk?

I have new computer with UEFI. I formated the disc as GPT (not MBR), made few small partions on start (as placeholders for UEFI, for boot, for swap etc ...) then larger partition for system / (and ...
0
votes
1answer
1k views

Am I able to install Arch Linux with the 100MB EFI partition that Windows 10 had already created on installation?

I want to dual-boot Arch Linux alongside Windows 10, which is already installed. I am using UEFI-GPT. On Windows 10 installation, it creates an EFI system partition as required by UEFI. This ...
0
votes
1answer
173 views

Dual Boot Linux Partition shows as Partition Table: loop in parted (Why?)

Recently I was checking into my partition scheme on my dual boot laptop (Peppermint OS, Windows 10). I was surprised by the output from parted /dev/sda12 (my Linux root partition) Model: Unknown (...
1
vote
0answers
29 views

Realigning GPT partitions to 4k sector boundaries?

If I have an HDD with GPT, and the partitions are not aligned to 4k sector boundaries, is there a tool to realign the partitions to 4k sector boundaries? Suppose I have UEFI stuff on the HDD in ...
0
votes
1answer
1k 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
45 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?
13
votes
2answers
5k 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
2k 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
1k 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
38 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
360 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 ...
2
votes
1answer
880 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
350 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): ...
5
votes
1answer
3k 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 ...
1
vote
0answers
537 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
858 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
2k 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
1k 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
1k 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 ...