Comment 5 for bug 1717031

Revision history for this message
Ryan Harper (raharper) wrote : Re: [Bug 1717031] Re: bios/efi maas deployment failure with drives over 2TB

On Wed, Sep 13, 2017 at 11:09 PM, James <email address hidden> wrote:

> Ryan, I did as you suggested. I enabled UEFI and re-commissioned my
> machine (I did not do this earlier). This did change the default storage
> options to:
>
> sda-part1 536.9 MB fat32 /boot/efi
> sda-part2 8.0 TB ext4 /
>
> Installation is successful as well:
> https://pastebin.com/ZFuKwGGk
>
> However, upon boot, I am greeted with:
>
> Booting local disk...
> error: no such device: /efi/ubuntu/shimx64.efi
> error: File not found.
>

This is an existing grub issue; let me find the bug.

https://bugs.launchpad.net/maas/+bug/1687729

> I'll release the machine again. In regards to the bios_boot partition
> mentioned in comment 2. How do you specify the number option and 1MB
> size ( 5MB is the smallest I can choose)? Also, this is under BIOS, not
> EUFI correct (just trying to be clear)? Should the flag be bios_grub or
> grub_bios? You use both versions.
>

MAAS knows how to do this; you shouldn't need to do anything.

For BIOS booting with GPT, grub needs a place on disk to stuff some of it's
loaders, on MBR/MSDOS there was some "empty" space that grub used, with
GPT, that doesn't exist any more, so grub needs a special partition labeled
for grubs use. 5MB is fine, 1MB is more than enough space. The flag to use
is 'bios_grub'. Sorry for the confusion.

And, you shouldn't have to input any of that. MAAS should know that your
machine
is in BIOS vs. UEFI after commissioning, and if the storage devices
detected are
> 2TB it should set the partition table to GPT and include a bios partition
and set the
flag accordingly.

If you're seeing that commissioning in BIOS mode and with disks of size >
2TB do not
generate a storage configuration that's bootable, then there's a MAAS bug
to get fixed.

>
> In regards to your question, the RAID is independent of the BIOS/UEFI
> option but I did not commission again after I changed from BIOS to UEFI
> earlier, hence the different result.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1717031
>
> Title:
> bios/efi maas deployment failure with drives over 2TB
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/curtin/+bug/1717031/+subscriptions
>