You are not logged in.

#1 2013-05-30 07:47:44

mirakulous
Member
Registered: 2013-05-30
Posts: 2

[SOLVED] Removing archiso's UEFI boot failed using xorriso

I'm trying to remove UEFI boot support of the latest archiso since I have to boot the install CD on my MacBook2,1 (which doesn't support UEFI, only supports 32-bit EFI).

I follow this guide but this is the xorriso output:

    libburn : SORRY : Neither stdio-path nor its directory exist
    xorriso : FAILURE : Cannot aquire drive 'stdio:~/archiso.iso'
    xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

Can anyone help me with this?

Last edited by mirakulous (2013-05-30 09:34:04)

Offline

#2 2013-05-30 08:42:50

scdbackup
Member
Registered: 2013-05-30
Posts: 73

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

Hi,

the example in the wiki is wrong with this option:
  -output "~/archiso.iso"
 
At least my olde bash does not expand "~" but only ~ (without
quotes). Compare the outcome of:

  echo "~/archiso.iso"
  echo ~/archiso.iso
 
So xorriso gets to see "~/archiso.iso" and fails to find Directory "~".
You get the same effect with shell command ls:

  ls -d "~"
  ls -d ~
   
The example from the wiki should rather be something like:
   
$ xorriso -as mkisofs -iso-level 3 \
    -full-iso9660-filenames\
    -volid "ARCH_201212" \
    -appid "Arch Linux CD" \
    -publisher "Arch Linux <https://www.archlinux.org>" \
    -preparer "prepared like a BAWSE" \
    -eltorito-boot isolinux/isolinux.bin \
    -eltorito-catalog isolinux/boot.cat \
    -no-emul-boot -boot-load-size 4 -boot-info-table \
    -isohybrid-mbr "/mnt/iso/isolinux/isohdpfx.bin" \
    -output "$HOME/archiso.iso" "/mnt/iso/"


I will now try to edit it by my brand new forum account.

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

Usually i do not subscribe to password sites for helping users
of xorriso. But archlinux is so nicely following my releases
and even packaged xorriso-tcltk. So thank you, guys ! smile)

A public place to get support for xorriso would be

  bug-xorriso@gnu.org

which is not only for bug reports but also for requests and cries
for help.
If your report exposes private data, then contact

  scdbackup@gmx.net

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

Have a nice day smile

Thomas

Offline

#3 2013-05-30 08:51:44

scdbackup
Member
Registered: 2013-05-30
Posts: 73

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

Well, the wiki does not let me in.

Probably it is better to point skilled archlinux users to my above post
and to ask them to for improving the example until it works.
Bystanders: please do so.

If any questions arise about xorriso: please use above mail addresses.
(I would also help with general problems around burning of CD, DVD, BD.)

Offline

#4 2013-05-30 08:52:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

The wiki requires a separate registration: you can use the same username if it is not already taken...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-05-30 09:33:42

mirakulous
Member
Registered: 2013-05-30
Posts: 2

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

Thank you Thomas, your solution did not work, xorriso still outputs the same error. I managed to fix it by copying archiso content to a folder with rw permissions then built. Worked.

Offline

#6 2013-05-30 12:09:10

scdbackup
Member
Registered: 2013-05-30
Posts: 73

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

> xorriso still outputs the same error.

You mean that
  -output "$HOME/archiso.iso"
still caused an error message about
  'stdio:~/archiso.iso'

Hm. What do you get from

  echo "$HOME"

To jasonwryan:
Here we can see why i am the wrong person to edit the archlinux wiki.
My $HOME contains "/home/thomas", the one of mirakulous might be "~".

Offline

#7 2013-05-30 21:36:34

saw2th
Member
Registered: 2013-05-30
Posts: 8

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

I'm having the same trouble OP was having in removing UEFI support from the Arch ISO. Could you perhaps upload your modified ISO file to Dropbox or Mega? Thanks in advance.

Offline

#8 2013-05-31 08:31:49

scdbackup
Member
Registered: 2013-05-30
Posts: 73

Re: [SOLVED] Removing archiso's UEFI boot failed using xorriso

Hi,

as upstream programmer of xorriso i would really appreciate
to see this fixed in the wiki ... or yielding a bug report
if xorriso is to blame.

I tried the following with success on my quite outdated
GNU/Linux system:

$ wget http://mirror.de.leaseweb.net/archlinux … 1-dual.iso

# mount -o loop /dvdbuffer/archlinux-2013.05.01-dual.iso /mnt/iso

$ xorriso -as mkisofs -iso-level 3 \
    -full-iso9660-filenames\
    -volid "ARCH_201305" \
    -appid "Arch Linux CD" \
    -publisher "Arch Linux <https://www.archlinux.org>" \
    -preparer "prepared like a BAWSE" \
    -eltorito-boot isolinux/isolinux.bin \
    -eltorito-catalog isolinux/boot.cat \
    -no-emul-boot -boot-load-size 4 -boot-info-table \
    -isohybrid-mbr "/dvdbuffer/archlinux-2013.05.01-dual.iso" \
    -output "$HOME/archiso.iso" "/mnt/iso/"
 
(I do not have SYSLINUX development installed, but the ISO image
bears a suitable -isohybrid-mbr template at its start. So i use
that one.)

This yields
  GNU xorriso 1.3.0 : RockRidge filesystem manipulator, libburnia project.
  ...
  xorriso : UPDATE : 107 files added in 1 seconds
  xorriso : NOTE : Copying to System Area: 32768 bytes from file '/dvdbuffer/archlinux-2013.05.01-dual.iso'
  libisofs: NOTE : Aligned image size to cylinder size by 55 blocks
  ...
  Written to medium : 260608 sectors at LBA 0
  Writing to 'stdio:/home/thomas/archiso.iso' completed successfully.


The original ISO reports on inquiry of its content

  $ xorriso -indev  /dvdbuffer/archlinux-2013.05.01-dual.iso -toc
  ...
  Boot record  : El Torito , ISOLINUX isohybrid MBR pointing to boot image
  Boot catalog : '/isolinux/boot.cat'
  Boot image   : '/isolinux/isolinux.bin' , boot_info_table=on
  Boot image   : '/EFI/archiso/efiboot.img' , platform_id=0xEF

The repacked one reports no EFI boot image that is reachable
via El Torito

  $ xorriso -indev /home/thomas/archiso.iso -toc
  ...
  Boot record  : El Torito , ISOLINUX isohybrid MBR pointing to boot image
  Boot catalog : '/isolinux/boot.cat'
  Boot image   : '/isolinux/isolinux.bin' , boot_info_table=on


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

If this does not work for archlinux users, then please tell
me the version of xorriso that fails, the necessary preparations,
the program arguments used, and the messages of xorriso.


Have a nice day smile

Thomas

Offline

Board footer

Powered by FluxBB