getting error grub2-mkrescue
getting error grub2-mkrescue
HI Team
When i try to create
grub2-mkrescue -o bootable.iso
getting error message :
grub2-mkrescue: warning: Your xorriso doesn't support ‘--grub2-boot-info’. Some features are disabled. Please use xorriso 1.2.9 or later..
kindly help on this issue.
When i try to create
grub2-mkrescue -o bootable.iso
getting error message :
grub2-mkrescue: warning: Your xorriso doesn't support ‘--grub2-boot-info’. Some features are disabled. Please use xorriso 1.2.9 or later..
kindly help on this issue.
Re: getting error grub2-mkrescue
Hi,
if the xorriso package of your operating system is too old, consider
to get and compile GNU xorriso:
This will produce a binary named ./xorriso/xorriso which can be run at
the place where you built it. Try:
This binary can then be used by grub-mkrescue:
(I know the program under the name "grub-mkrescue" without "2".
But if grub2-mkrescue wants to use xorrisofs option --grub2-boot-info then
it must be very similar to grub-mkrescue of GRUB 2.)
You may move "$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso to a more
convenient address as you like.
Have a nice day
Thomas
if the xorriso package of your operating system is too old, consider
to get and compile GNU xorriso:
Code: Select all
mkdir "$HOME"/xorriso
cd "$HOME"/xorriso
wget https://ftp.gnu.org/gnu/xorriso/xorriso-1.4.6.tar.gz
tar xzf xorriso-1.4.6.tar.gz
cd xorriso-1.4.6
./configure --prefix=/usr
make
the place where you built it. Try:
Code: Select all
"$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso -version
Code: Select all
grub2-mkrescue -o bootable.iso --xorriso="$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso
But if grub2-mkrescue wants to use xorrisofs option --grub2-boot-info then
it must be very similar to grub-mkrescue of GRUB 2.)
You may move "$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso to a more
convenient address as you like.
Have a nice day
Thomas
Re: getting error grub2-mkrescue
It's not too old, it's not part of the distro at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: getting error grub2-mkrescue
Hi,
then GNU xorriso is the way to go.
It depends only on vanilla stuff like libc and libpthread.
Other not-so-vanilla stuff like development headers and runtime of libz,
libacl, libreadline is optional at configuration time and not needed for
the features used by grub-mkrescue.
(I wonder, though, why grub2-mkrescue complains about a missing option
when it misses the whole xorriso program.)
Have a nice day
Thomas
then GNU xorriso is the way to go.
It depends only on vanilla stuff like libc and libpthread.
Other not-so-vanilla stuff like development headers and runtime of libz,
libacl, libreadline is optional at configuration time and not needed for
the features used by grub-mkrescue.
(I wonder, though, why grub2-mkrescue complains about a missing option
when it misses the whole xorriso program.)
Have a nice day
Thomas
Re: getting error grub2-mkrescue
Hi
When i followed the above mentioned steps getting error.
[root@dk xorriso-1.4.6]# grub2-mkrescue -o bootable.iso --xorriso="$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso
grub2-mkrescue: warning: Your xorriso doesn't support ‘--grub2-boot-info’. Some features are disabled. Please use xorriso 1.2.9 or later..
i also tried to updated the xorriso with yum update xorriso its giving me message
No package xorriso available.
No packages marked for update
When i followed the above mentioned steps getting error.
[root@dk xorriso-1.4.6]# grub2-mkrescue -o bootable.iso --xorriso="$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso
grub2-mkrescue: warning: Your xorriso doesn't support ‘--grub2-boot-info’. Some features are disabled. Please use xorriso 1.2.9 or later..
i also tried to updated the xorriso with yum update xorriso its giving me message
No package xorriso available.
No packages marked for update
Re: getting error grub2-mkrescue
Hi,
Does the following xorriso run report its version ?
should put out this line and a few others
Assuming that grub2-mkrescue stems from
http://git.savannah.gnu.org/cgit/grub.g ... mkrescue.c
let's try what it is supposed to do in function check_xorriso() as called
in line 598.
Do you get the output line
when you run
?
> i also tried to updated the xorriso with yum update xorriso its giving
> me message
> No package xorriso available.
Since grub-mkrescue unconditionally depends on xorriso, Centos should
package xorriso from source libisoburn if it packages grub-mkrescue.
Centos already seems to have the other two libraries libburn and libisofs,
albeit in well aged versions.
Have a nice day
Thomas
Does the following xorriso run report its version ?
Code: Select all
"$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso -version
Code: Select all
GNU xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.
http://git.savannah.gnu.org/cgit/grub.g ... mkrescue.c
let's try what it is supposed to do in function check_xorriso() as called
in line 598.
Code: Select all
if (check_xorriso ("grub2-boot-info"))
Code: Select all
--grub2-boot-info Patch boot image at byte 2548
Code: Select all
"$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso -as mkisofs -help 2>&1 | fgrep grub2-boot-info
> i also tried to updated the xorriso with yum update xorriso its giving
> me message
> No package xorriso available.
Since grub-mkrescue unconditionally depends on xorriso, Centos should
package xorriso from source libisoburn if it packages grub-mkrescue.
Centos already seems to have the other two libraries libburn and libisofs,
albeit in well aged versions.
Have a nice day
Thomas
Re: getting error grub2-mkrescue
Hi,
can it be that the $HOME directory of the user who built xorriso
is not the $HOME of the user who runs grub2-mkrescue ?
In this case let the user who built show the full absolute path
and use that address with option --xorriso=
In my case it would be
Have a nice day
Thomas
can it be that the $HOME directory of the user who built xorriso
is not the $HOME of the user who runs grub2-mkrescue ?
In this case let the user who built show the full absolute path
Code: Select all
echo "$HOME"/xorriso/xorriso-1.4.6/xorriso/xorriso
In my case it would be
Code: Select all
/home/thomas/xorriso/xorriso-1.4.6/xorriso/xorriso
Thomas
Re: getting error grub2-mkrescue
Hi Thomas,
I tried with the steps which you have mentioned i doesn't help, can you tell me the difference between grub2-mkrescue command
and what is the need of core kernel we can see at the time of booting
Regards
Kanna
I tried with the steps which you have mentioned i doesn't help, can you tell me the difference between grub2-mkrescue command
and what is the need of core kernel we can see at the time of booting
Regards
Kanna
Re: getting error grub2-mkrescue
Hi,
since there is no xorriso provided by CentOS it should cause no
confusion with the package management if you install it systemwide.
As superuser go into the xorriso-1.4.6 directory and do
Aftwerwards, the normal users should get a few text lines from
If this works, then you can run grub2-mkrescue without giving the full
path of the xorriso binary:
> can you tell me the difference between grub2-mkrescue command
> and what is the need of core kernel we can see at the time of booting
xorriso is not needed at boot time. It rather packs up the ISO 9660
filesystem image and equips it with boot entry points for the various
boot firmwares which may boot up the ISO.
With a bootable ISO for x86 computers the entry points are usually
ready for the following firmwares: BIOS, 32 bit x86 EFI, 64 bit x86 EFI.
The supported boot media are CD-ROM and hard disk (including USB sticks
and some memory card adapters).
xorriso installs an El Torito boot catalog pointing to BIOS boot image
and to the EFI System Partition, an MBR with x86 code for BIOS, and a
GPT partition table which points to the EFI System Partition.
The MBR code, the BIOS boot image, the EFI System Partition, and the
boot related files in the ISO are provided by GRUB.
Have a nice day
Thomas
since there is no xorriso provided by CentOS it should cause no
confusion with the package management if you install it systemwide.
As superuser go into the xorriso-1.4.6 directory and do
Code: Select all
make install
Code: Select all
xorriso -version
path of the xorriso binary:
Code: Select all
grub2-mkrescue -o bootable.iso
> can you tell me the difference between grub2-mkrescue command
> and what is the need of core kernel we can see at the time of booting
xorriso is not needed at boot time. It rather packs up the ISO 9660
filesystem image and equips it with boot entry points for the various
boot firmwares which may boot up the ISO.
With a bootable ISO for x86 computers the entry points are usually
ready for the following firmwares: BIOS, 32 bit x86 EFI, 64 bit x86 EFI.
The supported boot media are CD-ROM and hard disk (including USB sticks
and some memory card adapters).
xorriso installs an El Torito boot catalog pointing to BIOS boot image
and to the EFI System Partition, an MBR with x86 code for BIOS, and a
GPT partition table which points to the EFI System Partition.
The MBR code, the BIOS boot image, the EFI System Partition, and the
boot related files in the ISO are provided by GRUB.
Have a nice day
Thomas