I am creating templates to allow users to freshly install various Linux distributions and now am working on this for FreeBSD.
I basically set the required files inside /boot configure /boot/grub.conf, tar.gz it so that it can be extracted to the root of a new domu. Then you choose the distro from the menu.
For FreeBSD I am using the files from: ftp://ftp.freebsd.org/pub/FreeBSD/r...ES/8.2/FreeBSD-8.2-RELEASE-amd64-bootonly.iso
I've set section in grub.conf for FreeBSD to:
Also tried /boot/kernel/kernel
I have seen that the root directive could be a little different from what I have here, but loader won't load at all through pygrub and kernel does not have any ELF notes. Even if I use readelf kernel -n it is empty though the FreeBSD kernel does have the ELF headers. So it seems pygrub won't boot from the FreeBSD kernel since it doesn't have ELF notes.
Anyone have any ideas what I could try to get this too boot for the installer to finish the job?
I basically set the required files inside /boot configure /boot/grub.conf, tar.gz it so that it can be extracted to the root of a new domu. Then you choose the distro from the menu.
For FreeBSD I am using the files from: ftp://ftp.freebsd.org/pub/FreeBSD/r...ES/8.2/FreeBSD-8.2-RELEASE-amd64-bootonly.iso
I've set section in grub.conf for FreeBSD to:
Code:
title FreeBSD 8.2 amd64 Fresh Install
root (hd0,0)
kernel /boot/bootloader
Also tried /boot/kernel/kernel
I have seen that the root directive could be a little different from what I have here, but loader won't load at all through pygrub and kernel does not have any ELF notes. Even if I use readelf kernel -n it is empty though the FreeBSD kernel does have the ELF headers. So it seems pygrub won't boot from the FreeBSD kernel since it doesn't have ELF notes.
Anyone have any ideas what I could try to get this too boot for the installer to finish the job?