Skip to contentSkip to conversation

eltorito support ..

DISCUSSION Kalamatee 2 participants 3 messages Mar 4, 2008 – Apr 2, 2008

lore
Share & tools
lore

Kalamatee

author
#0 lore raw
Quoted 3 lines

Im not having much joy testing the eltorito support ATM.

Ive made the image using grub-mkimage, then used cat to merge the

cdboot.img with the core file generated >using grub-mkimage, and generated an iso with this file but when trying to boot it the following is displayed ..

Quoted 2 lines

http://s175.photobucket.com/albums/w131/Kalamatee/AROS64/?action="">
Any ideas?

Oops... gmails reply broke the link I was meaning to show... this is the correct screenshot of what happens..

http://s175.photobucket.com/albums/w131/Kalamatee/AROS64/?action=view&current=x86_64-grub2cd.jpg

As you can see, it attempts to boot (the "welcome to grub" displays) but it cant find one of the biosdisk funcs.

I created the core image using biosdisk and iso9660 the same as in grub-mkrescue.

#1 lore raw
Quoted 7 lines · Kalamatee
Quoted 3 lines

Im not having much joy testing the eltorito support ATM.

Ive made the image using grub-mkimage, then used cat to merge the

cdboot.img with the core file generated >using grub-mkimage, and generated an iso with this file but when trying to boot it the following is displayed ..

Quoted 7 lines
Quoted 2 lines

http://s175.photobucket.com/albums/w131/Kalamatee/AROS64/?action="">
Any ideas?

Oops... gmails reply broke the link I was meaning to show... this is the correct screenshot of what happens..

http://s175.photobucket.com/albums/w131/Kalamatee/AROS64/?action=view&current=x86_64-grub2cd.jpg

It's possible that you have hit the same problem I encountered a while ago. gensymlist.sh doesn't have protection against compiler errors. So, if you set CC to something with a space, like "gcc -Dfoo", it will fail silently but produce symlist.c without any symbols, that would still be a valid C file.

The bug is still there.

./configure CC="gcc -Dfoo"
make
./grub-mkrescue --grub-mkimage=./grub-mkimage --pkglibdir=. grub.iso qemu -cdrom grub.iso

The error message is just like yours. symlist.c has an empty symbol table:

static struct symtab tab[] =

  {
    {0, 0}

};

Sorry, I should have reported it earlier.

The right fix would be to ensure that symlist.c would be invalid if the compiler fails, to protect compiler arguments, to capture compiler errors in gensymlist.sh and to recognize gensymlist.sh failure in the makefile. We have several layers of protection failing here.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
Quoted 7 lines · Pavel Roskin

Sorry, I should have reported it earlier.

The right fix would be to ensure that symlist.c would be invalid if the
compiler fails, to protect compiler arguments, to capture compiler errors in gensymlist.sh and to recognize gensymlist.sh failure in the makefile. We have several layers of protection failing here.

Should be fixed now. CC is quoted in gensymlist.sh now, and if an empty symtab is generated nevertheless, symlist.c won't compile, and make will notice it.

Signature · 2 lines
Regards,
Pavel Roskin