Page 1 of 1

Grub boot CD image

Posted: Wed Aug 20, 2008 6:31 am
by xDDunce
hi,

I have been searching for the ISO image of a grub boot CD. i have seen it before but i only downloaded floppy image, but now i want to make my OS more compatible (because everyone knows the floppy drive is an endangered species).

I've searched google for bout an hour and could not find it. so if anyone knows where i can get the image, i would be very thankful!

the reason i cannot make the image is that the directions to compile the Stage2_ElTorito binary is very unclear.

Thanks in advance,

James.

Re: Grub boot CD image

Posted: Thu Aug 21, 2008 12:46 am
by xyzzy
Hi,

I keep a precompiled copy of stage2_eltorito in my source repo. You can download it from http://svn.exclaim-project.org/websvn/f ... 2_eltorito

Then to make an ISO from it (assuming you have Linux or Cygwin), create a temporary directory, copy your kernel into it. Then make a grub subdirectory and copy stage2_eltorito and a menu.lst file into it. This menu.lst should do the trick - of course you need to change the paths:

Code: Select all

default 0
timeout 10

title My Kernel
	kernel /kernel.elf
Then to create the ISO - replace <temp directory> with the path to your temporary directory:

Code: Select all

mkiso -R -l -b grub/stage2_eltorito -boot-load-size 4 -boot-info-table -no-emul-boot -o cdrom.iso <temp directory>/

Re: Grub boot CD image

Posted: Thu Aug 21, 2008 12:26 pm
by xDDunce
thanks for the reply Alex, i will be downloading soon! currently no possible computer to use as a development environment as my laptop just died on me so only left with the family computer. i'm getting a macbook(gift from old folks for passing GCSEs - aren't they kind?) soon though so i will be back up and running real soon.

James.

Re: Grub boot CD image

Posted: Wed Aug 27, 2008 6:01 pm
by xDDunce
thanks alex! it works great! having a little trouble using the menu.lst file but i think it is just the virtual cd emulator i'm using.

thanks for the help!

James.