make bootable iso with grub 2
Posted: Sat Sep 18, 2010 10:47 am
i spend my whole saturday and made a grub iso in my own way with UltraISO and simply a stage2_eltorito.
and soon i found it can't meet my needs, and worked on grub2 for hours, until now, sep.19, 0:30.
it cannot load my kernel with ELF64 format(is it?), and seems to support Multiboot 0.6.96 only. i downloaded Multiboot1.6 here, and read both version.
does grub 2 support Multiboot1.6 ? if yes, it will be good to use it, for i dont have to objcopy my ELF64 to ELF32, and can get multiboot info more easier.
i got grub 1.98, and did sth with the grub in fc13.
i replace stage2_eltorito with iso9660_stage1_5 in fc13.amd64, and put stage2 in /boot/grub, but it stopped with "Loading stage1.5" on the screen. and i tried to use stage2, but even worse.
i searched the forum, several guys asked same problem, but no answer.
and i read http://wiki.osdev.org/GRUB_2#ISO_instructions, but it is a little confusing for me, for i didnt do it as http://wiki.osdev.org/Bootable_El-Torit ... RUB_Legacy (but i read it), and the files is really strange for me.
my idea is, load stage2 with iso9660_stage1_5, and then stage2 will act as stage2_eltorito. is it right and how can i implement it?
if any one have more simple way to do it, please tell me, though i prefer a stage2_eltorito of grub2.
thank you,
lemonyii
and soon i found it can't meet my needs, and worked on grub2 for hours, until now, sep.19, 0:30.
it cannot load my kernel with ELF64 format(is it?), and seems to support Multiboot 0.6.96 only. i downloaded Multiboot1.6 here, and read both version.
does grub 2 support Multiboot1.6 ? if yes, it will be good to use it, for i dont have to objcopy my ELF64 to ELF32, and can get multiboot info more easier.
i got grub 1.98, and did sth with the grub in fc13.
i replace stage2_eltorito with iso9660_stage1_5 in fc13.amd64, and put stage2 in /boot/grub, but it stopped with "Loading stage1.5" on the screen. and i tried to use stage2, but even worse.
i searched the forum, several guys asked same problem, but no answer.
and i read http://wiki.osdev.org/GRUB_2#ISO_instructions, but it is a little confusing for me, for i didnt do it as http://wiki.osdev.org/Bootable_El-Torit ... RUB_Legacy (but i read it), and the files is really strange for me.
my idea is, load stage2 with iso9660_stage1_5, and then stage2 will act as stage2_eltorito. is it right and how can i implement it?
if any one have more simple way to do it, please tell me, though i prefer a stage2_eltorito of grub2.
thank you,
lemonyii