Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 20:43:11 +0000
From:      nox@FreeBSD.ORG (Juergen Lock)
To:        Thomas Mueller <mueller6724@bellsouth.net>
Cc:        "Andrey V. Elsukov" <ae@FreeBSD.org>, freebsd-stable@freebsd.org, Juergen Lock <nox@FreeBSD.ORG>
Subject:   Re: Change in loader or kernel: won't boot with kfreebsd in grub2
Message-ID:  <20130825204311.GA61785@hub.freebsd.org>
In-Reply-To: <339077.27046.bm@smtp105.sbc.mail.bf1.yahoo.com>
References:  <339077.27046.bm@smtp105.sbc.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 24, 2013 at 08:53:31PM -0700, Thomas Mueller wrote:
> Some updates:
> 
> I could see what happens if I try to boot the FreeBSD boot partition on the hard drive using the Super Grub Disk with chainloader.
> 
> If that works, it would boot FreeBSD 9.0-BETA1, but I would see if it works.
> 
> That failed (invalid signature).
> 
You probably need to chainload a freebsd-boot partition, _if_ you
want to chainload at all.

> I could also try
> kfreebsd /boot/kernel/kernel
> 
> That failed to boot the proper partition, went to the debugger (db>), whereupon all I could type was "reboot".
> 
 You didn't get a mountroot prompt?  If you did you can try typing a
question mark and return, that should list possible partitions to mount
root from.  If you didn't, or you don't want to do this manually you
need to set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ada0p1 from grub2,
or wherever your root partition is.

> Now can I safely install boot into the partition to be booted, as I did with NetBSD on USB stick?
> 
> gpart -p /boot/boot -i 3 
> 
> That would be for /dev/ada0p3, but I am afraid of damaging something.
> 
 That would need to be on a freebsd-boot partition, and you want
/boot/gptboot not /boot/boot.

> Tom
> 
 HTH,
	Juergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130825204311.GA61785>