grub4dos icon indicating copy to clipboard operation
grub4dos copied to clipboard

Both grub4dos and grub4UEFI can't see partitions beyond a deleted partition on GPT drives

Open Mythenadia opened this issue 2 years ago • 7 comments
trafficstars

Please bear with me. It's been years since I've posted here.

Both grub4dos and grub4UEFI can't see partitions beyond a deleted partition on GPT drives.

Take a drive with a GPT partition table and create 5 partitions on it.

Install grub4dos or grub4UEFI on the first partition (hd0,0) and boot it.

From a grub4dos command line, the "find" command returns: (hd0,0) (hd0,1) (hd0,2) (hd0,3) (hd0,4)

Next, delete the 3rd partition (hd0,2) and reboot grub4dos.

From a grub4dos command line, the "find" command now returns: (hd0,0) (hd0,1)

No attempts to access (hd0,3) or (hd0,4), which still exist, from grub4dos are successful.

Is this a bug in grub4dos/grub4UEFI?

Can anyone else reproduce this?

Should grub4dos scan all 128 GPT partition table entries to find partitions?

Mythenadia avatar Jun 17 '23 10:06 Mythenadia