grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] a.out support for multiboot and freebsd


From: Bean
Subject: Re: [PATCH] a.out support for multiboot and freebsd
Date: Mon, 11 Feb 2008 06:28:27 +0800

Hi,

The following patch support freebsd a.out and elf, now you can load
the kernel directly.

1. Boot through loader:

set root=(hd0,0,a)
freebsd /boot/loader

It should be able to deduce the root device from the root variable.

2. Booting directly:
freebsd (hd0,0,a)/boot/kernel/kernel
freebsd_loadenv (hd0,0,a)/boot/devices.hints
set FreeBSD.vfs.root.mountfrom=ufs:ad0s1a

environment variable for FreeBSD has the FreeBSD. prefix, the prefix
is removed before jumping to kernel code.

Please note that you need to set root device explicitly using
vfs.root.mountfrom.

-- 
Bean

Attachment: a4.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]