Page 1 of 1
Creating ISO with grub2
Posted: Mon Oct 25, 2010 3:09 pm
by opengeek
I've finished to copy the Bare Bone kernel in C from the wiki.
Now I'm trying to create an .iso file with grub2 bootloader on it to boot my the Bare Bone kernel in VirtualBox.
I've read some wiki pages but everything that I've tried doesn't work.
Someone knows how to do it?
Thank you.
Re: Creating ISO with grub2
Posted: Mon Oct 25, 2010 3:14 pm
by JamesM
Re: Creating ISO with grub2
Posted: Mon Oct 25, 2010 3:32 pm
by opengeek
I've read this 3 or 4 times tonight, I'm not the typical guy that starts asking without trying all his weapons first.
Re: Creating ISO with grub2
Posted: Mon Oct 25, 2010 3:54 pm
by opengeek
[com]buster and reavengrey pointed me in the right direction in the IRC.
Re: Creating ISO with grub2
Posted: Tue Oct 26, 2010 3:09 am
by JamesM
opengeek wrote: I've read this 3 or 4 times tonight, I'm not the typical guy that starts asking without trying all his weapons first.
That's fine, but I wasn't to know that from your initial post!
Re: Creating ISO with grub2
Posted: Tue Oct 26, 2010 8:47 am
by egos
Creating ISO with grub2 is not problem if kernel module answers multiboot specification.
Re: Creating ISO with grub2
Posted: Thu Oct 28, 2010 9:56 am
by KotuxGuy
Easy:
GRUB_2
I wrote most of that page, and tested the instructions.
Then again, I wrote it over 6 months ago, but still..
Anyway, try the "ISO Instructions" section. I boot my OS with those instructions.
EDIT: I just broke 80 posts! Yipee!
Re: Creating ISO with grub2
Posted: Fri Oct 29, 2010 7:19 pm
by HiGuys
You can't use stage1 and stage2, you need to use stage2_eltorito, a file used specifically for CDs and CD images(iso).
You can get it here:
ftp://ftp.linuxforum.hu/mirrors/frugalw ... 2_eltorito
This one should work, haven't made sure this is the right one.
Re: Creating ISO with grub2
Posted: Sat Oct 30, 2010 4:58 pm
by KotuxGuy
He never said anything about stage1 or stage2.
Besides, those, IIRC, are for
GRUB Legacy, not
GRUB2!
Use the generated eltorito.img from the "ISO Instructions" section in the
GRUB 2 wiki page, instead.
That image is for GRUB2. stage1 and stage2/stage2_eltorito are for GRUB Legacy.