bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unclear error message when using -append-partition


From: Brian C. Lane
Subject: Unclear error message when using -append-partition
Date: Wed, 13 Apr 2022 11:22:42 -0700

I'm in the process of switching Fedora's boot media to use grub2 instead
of syslinx, and ran into a problem debugging a typo in the cmdline I was
using.

I didn't pass that absolute path in the line:

-append-partition 2 C12A7328-F81F-11D2-BA4B-00A0C93EC93B images/efiboot.img

and the error reported was:
xorriso : UPDATE :     311 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 512 bytes from file 
'/usr/lib/grub/i386-pc/boot_hybrid.img'
libisofs: FAILURE : Cannot open data file for appended partition
xorriso : FAILURE : Failed to prepare session write run
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE....

Which made me think it was an error with boot_hybrid.img when I actually
needed to pass the full path to efiboot.img

It would be helpful if error messages like this would print the path of
the file they were looking for and did not find. I had to figure it out
by using strace and looking to see what it was trying to open :)

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




reply via email to

[Prev in Thread] Current Thread [Next in Thread]