OS programming using grub

3.5k views Asked by At

I found a website online to learn Operating system programming. I did the first tutorial and just followed with what they did. I came to the last step where I type "grub-mkrescue -o myos.iso isodir". However, I get a warning saying "your xorriso doesn't support '--grub2-boot-info' please use xorriso 1.2.9 or later". I'm not sure what to do. Any help would be appreciated. Thanks!

The tutorial I used is http://wiki.osdev.org/Bare_Bones. I tried writing it myself and also tried just copying the code and seeing if it works but I get the same problem.

I am also using Debian.

1

There are 1 answers

0
Thomas Schmitt On BEST ANSWER

You may get xorriso from your operating system's package management as either "xorriso" or "libisoburn" (where it is the command line frontend). On Debian 8 and 9 it is

apt-get install xorriso

If no such package is offered or if it is too old (like in Debian 7), then you may get the GNU xorriso tarball from

https://www.gnu.org/software/xorriso/#download

Current stable release is:

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

Build by

tar xzf xorriso-1.4.6.tar.gz
cd xorriso-1.4.6
./configure --prefix=/usr
make
echo "Use with grub-mkrescue option --xorriso=$(pwd)/xorriso/xorriso"