On 04/06/2010 07:27 PM, Salvador Fandino wrote:
> AFAIK, this procedure is not documented in any place and it is quite
> handy in order to install OpenBSD on boxes that already have a recent
> Linux inside and use grub2 as the boot manager:
> 
> 0) do any preparatory work needed: backup your data, resize your
> partitions, create a new one for OpenBSD, etc.
> 
> 1) download bsd.rd and move it to the Linux root partition:
> 
>   # wget ftp://ftp.openbsd.org/pub/OpenBSD/4.6/i386/bsd.rd
>   # mv bsd.rd /openbsd.rd
> 
> 2) add the following entry to /etc/grub.d/40_custom
> 
>   menuentry "Install OpenBSD from RAM disk" {
>     set root=(hd0,1)
>     kopenbsd /openbsd.rd
>   }
> 
> replacing (hd0,1) by the partition id corresponding to the Linux root
> file system.
> 
> (you may need to modify also /etc/default/grub in order to make grub2
> menu visible)
> 
> 3) regenerate grub configuration:
> 
>   # update-grub

I'm on Gentoo Linux , so i think normally you should try with
`grub-mkconfig'
e.g grub-mkconfig > /tmp/grub.cfg && cp /tmp/grub.cfg /boot/grub/grub.cfg

Not all system ships with `update-grub' script.

> 
> 4) reboot:
> 
>   # reboot
> 
> 5) When the grub menu pops up select "Install OpenBSD from RAM disk"
> 
> 
> ... and install OpenBSD
> 
> 
> Cheers,
> 
> - Salva
> 


-- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode

Reply via email to