support ALT rescue

This commit is contained in:
longpanda 2021-10-19 23:07:27 +08:00
parent 7c1370dcb0
commit f3e267a09e
2 changed files with 8 additions and 1 deletions

View file

@ -978,6 +978,12 @@ static grub_err_t ventoy_linux_locate_initrd(int filt, int *filtcnt)
}
}
/* skip hdt.img */
if (file->size <= VTOY_SIZE_1MB && grub_strcmp(node->name, "/boot/hdt.img") == 0)
{
continue;
}
if (grub_strcmp(file->fs->name, "iso9660") == 0)
{
node->iso_type = 0;