Skip to content

Where does kexecboot mount external SD card? #2

@druimalban

Description

@druimalban

I've got an external SD card.

It has two partitions - mmcblk0p1 is a vfat partition, with a kernel zImage on it, and a DTB omap4-droid4-xt894.dtb on it; mmcblk0p2 is an ext4 partition, with my root filesystem. I was able to boot this with a little bit of magic in safestrap, so I know this kernel and DTB work.

Now, I've got the following configuration in the kexecboot image:

LABEL=Linux on /dev/mmcblk0
PRIORITY=8
DTB=/mnt/omap4-droid4-xt894.dtb
KERNEL=/mnt/zImage
CMDLINE="rootfstype=ext4 root=/dev/mmcblk0p2"
TIMEOUT=3

In the debug info, I see something like "Found kernel image /mnt/zImage". I have tried varying combinations of /boot/, /, etc instead of /mnt/ in the KERNEL and DTB lines above. I've also tried without the CMDLINE there too.

Regardless, I can't boot.
Is there anything you might be able to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions