All of lore.kernel.org
 help / color / mirror / Atom feed
From: walt <wa1ter@myrealbox.com>
To: grub-devel@gnu.org
Subject: aout support almost working now
Date: Wed, 06 Feb 2008 11:23:14 -0800	[thread overview]
Message-ID: <fod1dq$frc$1@ger.gmane.org> (raw)

With Bean's last two commits I can almost replace legacy with grub2
at least on x86.  I have still one problem with the aout support that
Bean posted as a patch on Jan 27.

Using legacy, which loads the FreeBSD /boot/loader as the 'kernel',
loader then reads its config files from the /boot directory so it
knows what parameters to pass to the real kernel and also what menu
items to show the user.

Using grub2 with Bean's aout patch,  I can load /boot/loader and
then boot it successfully, but it seems that 'loader' can't find
its config files in the /boot directory.  This is what it prints:

Can't work out which disk we are booting from.
Guessed BIOS device 0xffffffff not found by probes,
defaulting to disk0:  can't load "kernel".

At least on my machine, disk0 is the floppy drive and loader does
actually go to try to read it before printing the error messages
I listed, and then it drops to its interactive prompt.

By examining the loader's variables it's clear that it never found
its usual config files in /boot.

BTW, I did set 'root' and 'prefix' to point at the correct partition
before booting the loader.

Any ideas what else to try?




             reply	other threads:[~2008-02-06 19:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 19:23 walt [this message]
2008-02-06 19:48 ` aout support almost working now Bean
2008-02-07  0:26   ` walt
2008-02-07  0:32     ` Robert Millan
2008-02-07 13:42       ` walt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fod1dq$frc$1@ger.gmane.org' \
    --to=wa1ter@myrealbox.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.