Warn when asked to create additional partitions on a isohybrid-flashed disk
Submitted by Fabian Greffrath
Link to original bug (#756114)
Description
Hi there,
I have tried the following:
(1) Flash a USB key with an isohybrid image (e.g. Parted Magic) using dd
(2) Open g-d-u, click the empty space behind the written partitions (>7BG in my case), and choose to create a new partition, e.g. fat32
(3) g-d-u will fail spectacularly, showing obscure error messages from e.g. the "wipe" utility. The USB key is scrambled afterwards.
It should be possible to detect that a USB key has been flashed using an isohybrid image. Please detect this case and prevent the user from trying to fiddle around with the fake partition table and boot sector created by this method.
Thanks,
Fabian
Version: 3.18.x