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
make bootable iso with grub 2
make bootable iso with grub 2
Enjoy my life!------A fish with a tattooed retina
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: make bootable iso with grub 2
The wiki page YOU linked tells you
1: to make an grub 2 image (with instructions)
2: to make a bootable cd using that image
What about that did you not understand?
1: to make an grub 2 image (with instructions)
2: to make a bootable cd using that image
What about that did you not understand?
Re: make bootable iso with grub 2
ok, after hours, i got it done as the tuto.
my problem before is that i dont understand the reason why. and after i read some other articles in my mother tongue, i got it.
grub-mkimage generates a core image, which lack of a "bootsect", and the cat add the "bootsect" cdboot.img to it. and the output of the cat is the stage2_eltorito we used before.
and another one is, with MY METHOD of creating the iso file, if i use a grub.cfg newer than the core, it wont show the menu. and a genisoimage in makefile works pretty good. i walked a round
now, grub2 support both multiboot2 and elf64. my next step is to find out how i can use grub to set vesa mode. it seems much easier in grub2 than in grub leagency.
thank you,
lemonyii
my problem before is that i dont understand the reason why. and after i read some other articles in my mother tongue, i got it.
grub-mkimage generates a core image, which lack of a "bootsect", and the cat add the "bootsect" cdboot.img to it. and the output of the cat is the stage2_eltorito we used before.
and another one is, with MY METHOD of creating the iso file, if i use a grub.cfg newer than the core, it wont show the menu. and a genisoimage in makefile works pretty good. i walked a round
now, grub2 support both multiboot2 and elf64. my next step is to find out how i can use grub to set vesa mode. it seems much easier in grub2 than in grub leagency.
thank you,
lemonyii
Enjoy my life!------A fish with a tattooed retina