bug-xorriso
[Top][All Lists]
Advanced

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

Re: [Bug-xorriso] xorriso help


From: phillip beckford
Subject: Re: [Bug-xorriso] xorriso help
Date: Tue, 26 Apr 2016 12:35:16 +0000 (UTC)

hi,

I just wanted to let you know that I managed to solve my technical mystery with my code on github, and a very big thank-you Thomas who took the time to help me, i'm grateful indeed.
FYI: its was something about what you say in the last email about system space & chance of success, that made me move the script over to the production server and test it, and bob's-ya-uncal, an 8GB ISO was made. its kind-of funny that we already won the battle and didn't even know it.

once again many thanks,
kind regards

Phillip


From: Thomas Schmitt <address@hidden>
To: address@hidden
Cc: address@hidden
Sent: Tuesday, 26 April 2016, 10:05
Subject: Re: xorriso help

Hi,

some technical wishes:

If you add message output to your mails, please use copy+paste
to put it into the mail text. JPEGs are weighty and do not allow
me to copy+paste interesting message snippets.

I will not keep your recent mail in my mailbox for long, because
it adds 500 kB to every backup i make.

Since you started a thread on address@hidden, please put that
mail address into the Cc: field of your mail client.

----------------------------------------------------------------

phillip beckford wrote:
> xorriso1.jpg :
> grub-mkrescue -o "${WORK}"/live-cd.iso "${CD}" -J -iso-level 3
>  xorriso : FAILURE : Image size 639334s exceeds free space on media 377266s

The problem is that the image will have 639334 * 2048 = 1,309,356,032
bytes and your intermediate directory
  "${WORK}"
only offers 377266 * 2048 = 772,640,768 bytes of free space.
You will have to make room or direct the result ISO to a filesystem
with more free space.

Elsewise this run had chances to succeed. I am not sure whether
grub-mkrescue can enable all its goodies with the old xorriso 1.1.8.
But xorriso failed only when all its arguments were processed and
it was about to begin writing the ISO image.


> xorriso2.jpg :
> grub-mkrescue -o "${WORK}"/live-cd.iso "${CD}" -- -J -iso-level 3
>  xorriso : FAILURE : Not a known option:  '-J'

The error message is caused by a surplus "--" among the grub-mkrescue
arguments. Contemporary xorriso would rather complain
  xorriso : FAILURE : Not a known command:  '-J'
(xorriso-1.1.8 is 4.5 years old.)

So you obviously have a grub-mkrescue version which does not need
the argument "--" unless you want xorriso to leave mkisofs emulation
mode. E.g. if you want to burn to DVD directly.

----------------------------------------------------------------

> Dose this mean that because of the version we are forced to use a custom
> xorriso file

No.
(But later you might want to learn about the xorriso arguments
which grub-mkrescue composes for ISO production. See the for-loop
in my previous mail.)

xorriso-1.1.8 is quite old. As said, grub-mkrescue might have omitted
some of its newer capabilities, if it is substantially younger than
xorriso.

If you feel the need to test a contemporary xorriso, get

  https://www.gnu.org/software/xorriso/xorriso-1.4.2.tar.gz

and do

  mkdir "HOME"/xorriso_dir
  cd "HOME"/xorriso_dir
  tar xzf ...path.../xorriso-1.4.2.tar.gz
  cd xorriso-1.4.2
  ./configure && make

Try whether you got a working binary

  xorriso/xorriso -version

Obtain its absolute address

  ls $(pwd)/xorriso/xorriso

and use it with grub-mkrescue option --xorriso= . E.g.:

  grub-mkrescue ... --xorriso=/home/phillip/xorriso_dir/xorriso-1.4.2/xorriso/xorriso

If you prefer this version over 1.1.8, then uninstall xorriso by
the means of your system's package manager.
Then in the .../xorriso-1.4.2 directory do as superuser

  make install

Try as normal user, whether the new xorriso is found:

  xorriso -version



Have a nice day :)

Thomas




reply via email to

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