Skip to content

Mounting FDE ext4 filesystem within fastboot #317

Description

@tborealis

I'm working on a FDE provision, using the new IDP provisioner. Part of my requirement is to push a few device specific files into the root filesystem during the provisioning process.

I haven't had much success and am a bit stuck. I'm using a post-flash hook on the idp-provisioner to do the following:

FASTBOOT_SPEC="$1"
STORAGE="$3"
fastboot -s "${FASTBOOT_SPEC}" oem cryptopen "${STORAGE}p2" cryptroot # OKAY
fastboot -s "${FASTBOOT_SPEC}" oem mount "/dev/mapper/cryptroot" "/mnt/my-rootfs" ext4 # Invalid argument

# stage and push the files

I'm a stuck at this point. I can't see any further diagnostics. The only return from the mount is "Invalid argument". It looks like the decryption worked, why can't I mount the FS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions