grub-devel
[Top][All Lists]
Advanced

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

Re: grub-shell: Pass -no-pad to xorriso when building floppy images


From: Thomas Schmitt
Subject: Re: grub-shell: Pass -no-pad to xorriso when building floppy images
Date: Thu, 16 Jan 2014 15:05:44 +0100

Hi,

> +    mkrescue_args="${mkrescue_args} -- -no-pad"

This "--" is most probably not what you want.

man grub-mkrescue says (and xorriso indeed does it):

  "Option -- switches to native xorriso command mode."

But -no-pad is not a native xorriso command.

  $ xorriso -as mkisofs -- -no-pad

throws

  xorriso : FAILURE : Not a known command:  '-no-pad'

Better do it without the double-dash so that it gets
interpreted by the mkisofs emulation which knows it
as option:

  mkrescue_args="${mkrescue_args} -no-pad"


Have a nice day :)

Thomas




reply via email to

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