morpheus_bootloader::tui::distro_launcher::iso_boot

Function extract_iso_boot_files

Source
pub fn extract_iso_boot_files(
    iso_path: &str,
    esp_root: *mut FileProtocol,
) -> Result<(Vec<u8>, Option<Vec<u8>>, String), IsoBootError>
Expand description

Mount an ISO file and extract kernel + initrd information

Returns (kernel_data, initrd_data, boot_params)