[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installation tests with GRUB on GPT disks



Hi!

I have been testing the installation of GRUB in debian-installer on disks
with GPT labels. Unfortunately, that doesn't work as grub-install
complains it cannot find the filesystem for /dev/vdiska1.

Looking at the partition table with parted, it seems that the actual problem
is a corrupted GPT partition table (see below).

Since a new partition table is created by debian-installer, it shouldn't be
corrupted at this point. So, I'm wondering what problem we are running
into.

I will have a look at the partman-partitioning source code but if someone
wants to perform their own tests in the meantime, the test installation
image can be found here:

> https://people.debian.org/~glaubitz/debian-cd/debian-10.0-sparc64-NETINST-1.iso

Adrian

=============================================================================

root@debian:/# parted /dev/vdiska                                               
GNU Parted 3.2                                                                  
Using /dev/vdiska                                                               
Welcome to GNU Parted! Type 'help' to view a list of commands.                  
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                              
Error: /dev/vdiska: unrecognised disk label
Model: Unknown (unknown)                                                  
Disk /dev/vdiska: 17.2GB
Sector size (logical/physical): 512B/8192B
Partition Table: unknown
Disk Flags: 
(parted) q                                                                
root@debian:/# fdisk -l /dev/vdiska
The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/vdiska: 16 GiB, 17179869184 bytes, 33554432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 8192 bytes
I/O size (minimum/optimal): 8192 bytes / 8192 bytes                             
Disklabel type: gpt                                                             
Disk identifier: 2D6D55DD-FA7D-41E8-8920-919C31964B57                           
                                                                                
Device          Start      End  Sectors  Size Type                              
/dev/vdiska1     2048 29687807 29685760 14.2G Linux filesystem                  
/dev/vdiska2 29687808 33552383  3864576  1.9G Linux swap                        
root@debian:/#

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Attachment: pEpkey.asc
Description: application/pgp-keys


Reply to: