Detect alpine initrd files named initramfs*; use rootfstype=ext4 for an ext4 root fs
Changes:
- For kernel files starting
vmlinu[zx]check for initrd files startinginitramfs - If the the root fs type is ext4, use kernel param
rootfstype=ext4to ensure the root can be mounted correctly
This fixes a couple issues I ran into with linux-boot-prober based grub config for an Alpine Linux single partition ext4 root detected via 90fallback:
- The
initramfs*filenames of theinitrdweren't recognized - The resulting boot got stuck at trying to mount the root fs as it wasn't being treated as ext4