grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Booting FreeBSD 10 from grub on Solaris 11.1 (grub 1.99)
@ 2014-07-19 21:44 Noel Hunt
  2014-07-19 21:55 ` seth.goldberg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Noel Hunt @ 2014-07-19 21:44 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]

I have a FreeBSD 10.0/Solaris 11.1 dual-boot machine. Solaris was
installed after FreeBSD and since it uses grub by default I am using
that to boot. Currently I am just invoking /boot/loader from grub.cfg
in Solaris to boot FreeBSD, but I would like to boot directly. This
just doesn't work.

I have installed grub2 on FreeBSD via ports, and run `grub-mkconfig'
to get some entries for grub.cfg which I have simply applied to the
Solaris installation (via the custom.cfg script).

But, this entry just doesn't work. I have tried running each command
by hand at the grub CLI with debugging but after all the debug output
is printed (not revealing anything abnormal) the screen goes black
and the machine reverts to the normal power-on screen, and the
boot selection process starts all over again.

This is the entry:

menuentry 'FreeBSD, with kFreeBSD kernel' {
        insmod part_gpt
        insmod ufs2
        search --no-floppy --fs-uuid --set=root 53a87fa1e9b6256d
        echo 'Loading kernel of FreeBSD kernel ...'
        kfreebsd  /boot/kernel/kernel
        kfreebsd_loadenv   /boot/device.hints
        kfreebsd_module_elf     /boot/kernel/ufs.ko
        set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/53a87fa1e9b6256d
        set kFreeBSD.vfs.root.mountfrom.options=rw
}

If I could see what actually happens at the grub `boot' I might be
able to fix this, but it doesn't look like there are any other debug
mechanisms for grub apart from `set debug=all'.

I tried to add different flags to the kernel invocation, -v and -d but
nothing happened. The screen goes black and reverts to a normal
grub boot menu.

Are there any mechanisms inside grub to get more debugging
information?

Noel Hunt

[-- Attachment #2: Type: text/html, Size: 2422 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-20 11:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19 21:44 Booting FreeBSD 10 from grub on Solaris 11.1 (grub 1.99) Noel Hunt
2014-07-19 21:55 ` seth.goldberg
2014-07-19 23:35 ` Vladimir 'phcoder' Serbinenko
2014-07-20 11:23 ` Andrey Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).