Web lists-archives.com

Re: Installing Debian on a Minnowboard Turbot with installer on USB stick?

On May 27, 2018, at 5:38 AM, Thomas Schmitt <scdbackup@xxxxxxx> wrote:

> Hi,
> i typo'ed:
>> deletion of GPT partition 2 because it overlaps
>> with the EFI partition,
> Partition 1 needs to be delted. Number 2 is the EFI partition.
> Further it comes to me that the gdisk session is best done one the
> USB stick with the ISO already copied onto it. This will give gdisk
> a chance to install the backup GPT at the real end of the device.
> If re-usal of the nearly-GPT in the ISO yields no success, try to
> let gdisk convert the MBR partition table to GPT. For that you will
> have to copy again the original ISO onto USB stick, because the original
> MBR partition table did not survive gdisk's previous conversion effort.
> Have a nice day :)
> Thomas

Thank you Thomas, for your detailed explanation and test procedure!

I tried your procedure (dd the iso to a stick, then use disk to modify the stick’s GPT).  I actually tried it twice: Once using the original GPT, second using the original MBR to reconstruct the GPT.
Unfortunately, it didn’t work.

The first problem was that the stick still wasn’t recognized as bootable.
I was able to work around that by doing some command-line stuff in the EFI firmware — telling it to boot the file “fs0:\efi\boot\bootx64.efi”
That got me into the installer, but after it did the language/locale picking, when the installer went looking for the CD, it complained that 
    Incorrect CD-ROM detected
    The CD-ROM drive contains a CD which cannot be used for installation…

Do you think it would work if I used disk to create a GPT that had partition 1 of they “EF00” start and end where the original partition 2 started and ended?

Thanks for your help so far!