Comment 8 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 Fri, Nov 17, 2017 at 3:31 PM, James <email address hidden> wrote:

> Here is my process:
> 1. set UEFI in the BIOS
> 2. commission the machine
>
> 3. Kept everything default in maas
> 536.9 MB fat32 /boot/efi - NO MOUNT OPTIONS.
> 10.0 TB ext4 /
> 3.1 Curtin results:
> http://paste.ubuntu.com/25982879/
> 3.2 Deploy failed with message:
>
> Booting local disk...
> error: no such device: /efi/ubuntu/shimx64.efi.
> error: File not found.
>
> Press any key to continue...
>
> GNU GRUB version 2.02~beta2-36ubuntu3.14
>

Related bugs I think:

https://bugs.launchpad.net/maas/+bug/1647827
https://bugs.launchpad.net/maas/+bug/1711203

Both of which cover a PXE boot + UEFI + shim sort of error
which looks like your seeing.

>
>
> 4. custom partitioning
> 1 GB fat32 /boot/efi - 'boot' option.
> 10 GB SWAP
> 10 TB ext4 /
> 4.1 Curtin results:
> http://paste.ubuntu.com/25983227/
> 4.2 Deployment failure.
> NOTE: Can not make an unpartitioned 1MB partition with label: bios_grub
>

If your node is still considered UEFI to MAAS, I don't think it will let
you make the bios_grub partition.

If you commision in bios mode, then use GPT as the partition table type; it
should let you create
something like this:

      - id: bios_boot
        type: partition
        size: 1MB
        number: 15
        device: main_disk
        flag: bios_grub

The partition number doesn't matter, just the flag and location.
And I think we learned, suggested that the boot partition be placed
close to the start of the disk so as the offset to the boot partition is not
beyond 2TB.

I think that means it would need to be defined before adding the root
partition
which would exceed 2TB while in BIOS mode.

> 5. BIOS not UEFI works.
>
> --
> 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
>