[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

MBR bootable ISO images for GNU/kFreeBSD ?



Hi,

on occasion of this thread on debian-bsd list
  http://lists.debian.org/debian-bsd/2011/07/msg00237.html
i would like to ask how much effort it is to make ISO images of
Debian GNU/kFreeBSD bootable from memory stick.


-------------------------------------------------------------------
What i found out so far:

The images
  http://cdimage.debian.org/debian-cd/6.0.2.1/kfreebsd-amd64/iso-cd/debian-6.0.2.1-kfreebsd-amd64-netinst.iso
  http://cdimage.debian.org/cdimage/daily-builds/daily/current/kfreebsd-amd64/iso-cd/debian-testing-kfreebsd-amd64-businesscard.iso
boot by help of GRUB 1.98. They do not bear an MBR.

The same GRUB version was used to make this image bootable from stick:
  http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso
Robert Millan indicated that mini.iso was made by help of GRUB script
grub-mkrescue.

grub-mkrescue creates a "core" boot image file by
  grub-mkimage
This core image gets prepended file
  ${pc_dir}/cdboot.img
to generate the EL-Torito boot image file (for mkisofs option -b).
The same core image becomes an MBR based boot image file (for option -G)
by prepending
  ${pc_dir}/boot.img
So it might be easy to get an MBR boot image file if one can put some
lines of code into the producer of the El-Torito image file.

I installed package debian-cd on squeeze GNU/Linux and see in
  /usr/share/debian-cd/tools/boot/squeeze/boot-kfreebsd
that the El Torito boot image file stems from
  cdrom/debian-cd_info.tar.gz 
The producer of this tarball obviously knows how to create the file
  boot/grub/grub_eltorito
for GRUB 1.98. This file is used with mkisofs option -b.
Yet i did not find the code which produces cdrom/debian-cd_info.tar.gz .

Actually i riddle:
Where does boot/grub/grub_eltorito get produced ?
Is grub-mkimage used there ?


Have a nice day :)

Thomas


Reply to: