Jump to content

Creating a grub + pc_efi boot CD


Tader
 Share

1 post in this topic

Recommended Posts

Some time ago I created a CD for booting using netkas' pc_efi bootloader. Using this CD you can boot your system if you have not yet installed the bootloader or when your bootloader does not work anymore.

 

 

You will need three things:

  1. The attachment grub_cd.tar.gz.
  2. Netkas' pc_efi bootloader. You sure will know where to find it.
  3. The tool mkisofs which you can get by installing the package cdrtools from MacPorts.

What to do:

  1. Unpack the grub_cd.tar.gz attachment somewhere.
  2. Copy the boot_v8 file from Netkas' pc_efi bootloader in the directory grub-cd/boot.
  3. Start Terminal, cd to the folder which contains the grub-cd directory and use the following command to create an iso file:
    mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub-cd.iso grub-cd
  4. Burn the iso to a CD.

Comments:

  • If you use a different named version of the bootloader, make sure you update the file grub-cd/boot/grub/menu.lst accordingly.
  • You can add additional files to the grub-cd folder before creating the iso file. For example I added Taruga's HDAPatcher and some other extensions for my system.
  • You can add any bootloader you want if you know how to edit the file grub-cd/boot/grub/menu.lst.
  • The file stage2_eltorito has been compiled from unmodified source which can be found here: ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
  • MacPorts can be found here: http://www.macports.org/ To install mkisofs, first install MacPorts, then issue the following command in Terminal: sudo port install cdrtools

grub_cd.tar.gz

Link to comment
Share on other sites

 Share

×
×
  • Create New...