Questions tagged [guid-partition-table]

A "GUID Partition Table" (GPT) describes the partitions of a physical hard disk with the use of GUIDs (globally unique identifiers).

23 questions
16
votes
2 answers

How does the GRUB 2 UEFI loader know where to look for the configuration file (or where the 2nd stage's files are located)?

If I use GRUB 2 on a GPT-enabled partition, how does the loader "know" where to find its configuration file and other second stage's files? Note: I found some mentions about a configuration file which is located in the same folder as GRUB's EFI…
Sap
  • 914
  • 1
  • 6
  • 20
6
votes
4 answers

Detect GPT and MBR partitions with Powershell

Is there a way to tell if a disk has a GPT or an MBR partition with powershell?
Josh
  • 2,259
  • 4
  • 22
  • 25
4
votes
1 answer

Virtualbox fail to bootup guest from GPT physical partition

Virtualbox fail to bootup guest from GPT physical partition, it stop at a black screen with a cursor(doesn't blink) at the left top corner. Virtualbox version is 5.0.10 x64. PhysicalDrive0 is a GPT drive, Here is partition information: C:\Program…
Fengtao Ding
  • 706
  • 8
  • 17
4
votes
1 answer

How to read the GUID Partition Table (GPT) and its entries?

To read the MBR partition table we use an offset of 0x1be, similarly what is the offset for reading the GP(artition)T(able) entries (ie, number of partitions and their sizes). I am writing a C program using "gdisk" to create the partitions, I need…
3
votes
1 answer

How to partition table on Yii2?

A table named demo,now need to partition it just like demo1,demo2,demo3,....,demo10 So how to partition the table on Yii2? I probably known should add a method getTableName in Model.
tanteng
  • 648
  • 1
  • 6
  • 11
2
votes
1 answer

How is data stored on disk? - EFI GUID

I posted this question earlier on SuperUser but I feel it is more suited for programmers. If I understand correctly, according to GPT, the first 16 bytes of LBA 2 is the partition type GUID for the first partition on disk. In Windows Disk Management…
Chicken Wing
  • 53
  • 1
  • 5
1
vote
0 answers

booting google coral dev board from sd card

I'm trying to boot the coral Dev board from an SD card. I've followed this,but it doesn't work for me. basically the boot process doesn't begin. I'm using a 64gb SD card. also, when when I try to flash the .img [made using google coral Dev…
1
vote
1 answer

GPT FileSystem after exiting boot services in C/C++

I am creating an operating system and have strugled to find a way to implement a filesystem into it for the past several months. I can read files in boot services but after exiting boot services in UEFI the function can't read the file. I am trying…
IlcIliaDev
  • 11
  • 5
1
vote
0 answers

Problems with cloud-init to use gpt instead mbr

I downloaded iso "CentOS-7-x86_64-GenericCloud-2009.qcow2" for create a template of Centos 7 for kvm containers Proxmox. All is ok. But if I assign a disk with more than 2TB when I go to clone the container cloud-init resize the disk to the limit of…
Jorge
  • 11
  • 1
1
vote
0 answers

Get Volume Guid of EFI partition on Windows 2012 R2

I am trying to extract the VolumeGuid of EFI partition. I have been able to do it successfully on Windows 10 Machine using WMI query and Via code using C# ManagementObjectSearcher. I created a VHD with a GPT partition type within it I created the…
balajir712
  • 49
  • 4
1
vote
0 answers

How is the partition type GUID supposed to be interpreted?

According to Wikipedia and various other sources, the partition type GUID for a BIOS boot partition is 21686148-6449-6E6F-744E-656564454649. This is supposed to represent Hah!IdontneedEFI. The first line is how it's stored on disk, the second line…
user247702
  • 23,641
  • 15
  • 110
  • 157
1
vote
1 answer

Confusion about GUID Partition Table specification

I am writing software to utilize and manipulate GUID Partition Tables (GPT). I've been using a number of references, but in looking through the UEFI standards document concerning GUID Partition Tables, a number of questions have come up. On page…
Daniel Rudy
  • 1,411
  • 12
  • 23
0
votes
0 answers

error on querying partition table using wildcard operator in bigquery

I need to create a separate table/view from a partition table with daily data. I used this query: SELECT * FROM `awantec-gws-bigquery2.gmail_log_dataset_copy.daily_*` but I get this error: Views cannot be queried through prefix. First view…
0
votes
1 answer

Partition tables esp32 3mb no ota 1mb spiffs Platform io

I'm using esp32 whroom with platform io . my question is how do i set the the partition table to 3MB no OTA and 1MB to Spiffs i understand i need to use configuretion code in the platformio.ini file but couldn't find a good guide online , thank for…
Omer
  • 1
  • 2
0
votes
1 answer

In GUID Partition Table how can I know how many partitions there are?

I have a image of a USB with 3 partitions: Partition 1: FAT32 Partition 2: exFAT Partition 3: NTFS I am making a program that goes trough the partitions, but I am unsure of how I can know how many partitions my program should look for. By looking…
Europa
  • 974
  • 12
  • 40
1
2