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

Bug#924053: live-build: UEFI shows grub> on HP250 G6 2SX60EA



Hi,

adrian15 wrote:
> 2.1.1)  The live cd media will be the first one to be found by the
> grub's search command. That's ok, that will work in most systems.

I always wondered why debian-cd and debian-live rely on file paths
with such low entropy. No individual distinction between versions is
recognizable. So two live ISOs in two DVD drives or USB sticks could cause
quite some confusion.


> 4) And, well, I might try an obvious patch that searches with regex both
> /live/vmlinuz and /live/vmlinuz1 and give us more feedback about it.

Or a dedicated unique identification file path ?

An empty file in an alreay existing directory would cost 0 or 2048 bytes
in the ISO.
Even in a conservative 8.3 name it would be possible to expose 56 bit
with a birthday paradox threshold of 256 million. A plain hex encoding
could expose 44 bit of random id (~ 4 million children in the class).

If reproducibility is of concern, then the filename could be derived
from some version-dependent strings like the ISO's volume id. All
mangled through md5sum and tr 'a-f' 'A-F', the first eleven result
characters would yield a quasi-unique DOS style file name.


Have a nice day :)

Thomas


Reply to: