From owner-freebsd-stable@FreeBSD.ORG Sun Aug 25 22:41:54 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A315E297 for ; Sun, 25 Aug 2013 22:41:54 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm8.access.bullet.mail.bf1.yahoo.com (nm8.access.bullet.mail.bf1.yahoo.com [216.109.114.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42B3926B8 for ; Sun, 25 Aug 2013 22:41:54 +0000 (UTC) Received: from [66.196.81.162] by nm8.access.bullet.mail.bf1.yahoo.com with NNFMP; 25 Aug 2013 22:35:06 -0000 Received: from [98.139.221.50] by tm8.access.bullet.mail.bf1.yahoo.com with NNFMP; 25 Aug 2013 22:35:06 -0000 Received: from [127.0.0.1] by smtp103.sbc.mail.bf1.yahoo.com with NNFMP; 25 Aug 2013 22:35:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1377470106; bh=h575k7tdI2DSe/vD4eLbeo1a8pjSZbaqHSOW9MenFgw=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:CC:Subject; b=E+f9SrhkWfOwL8WHHdri6FjET3GNmbDDhhQx9UylqMbKcCWBaxIj5cEijoXrTDDcGX+geET/ZROiEhfYaxjavi2i5nm3PeklLP5UbI02PzDr/WuU0VzNvHRshjCTkhL5+SpS8nbhKZ7a17zZXQm+c8DY1F9cXKG+AyZc/Vm5ICc= X-Yahoo-Newman-Id: 429990.38961.bm@smtp103.sbc.mail.bf1.yahoo.com Message-ID: <429990.38961.bm@smtp103.sbc.mail.bf1.yahoo.com> Date: Sun, 25 Aug 2013 15:35:06 -0700 (PDT) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Ne8MyWYVM1kGusRgtZo7e4GlTnYb86OHopQDdhgeg33bev5 NF90bKUsOkwGBx_tfMQvq9xaKSMJSdRR7ae3ZM5Lx.AD36fqMFRM55euBs9h ILiTDYjcBO37YcIIdaBPXTE9gFWz575fpjTIJWtnrjb2fp6kV_DMGmbbLld7 eWxHjtONABuBxqojjdesTmVIFADzcM88.84xfnTVFjHH2lkYEnp2FKmTbwUX TPzii8.ddMCs2xn4G6HI9Azd6e0pvXZ0EN1.cwg.Z08NCpGEs3b9iovf6g1. HjfrrOnCf_6__TmZmYI8YUESE4pXUY4ER53scvC6_If6Gvt2Xhktm9vCLRZm dl1a6cnErTtXL1InkmByEKSsaOlrO9ni3pYI5S8keNIew7W6EObFjud_ZNR7 GMcWE8pHaKvmBs5UZ.vR59HLO7DimY3x6joFeESqVDsUJQFJVyfEsvS9acqh R516m9Wx27BTU04G9.ySHgbWBCRgB5RpduPlMc5uleZ8IU6eC.FRriS4X1Zx s8rE2W2FHfuAnX68ocTmVc3RwQCVO7Kf3rvQ6iReScQ6UsRnPfgoCzqxCsdO ObUNZcfL8 X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@74.130.200.176 with plain) by smtp103.sbc.mail.bf1.yahoo.com with SMTP; 25 Aug 2013 15:35:06 -0700 PDT From: "Thomas Mueller" To: freebsd-stable@freebsd.org Subject: Re: Change in loader or kernel: won't boot with kfreebsd in grub2 Cc: "Andrey V. Elsukov" , Juergen Lock X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 22:41:54 -0000 > 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 was trying to chainload the freebsd-boot partition! But grub2 didn't like it. > > 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. I remember pressing a key, but then the system rushed past the mountroot prompt into the debugger prompt. > > 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. I believe bsdlabel can be used to install boot code to a partition, but believe that is not for GPT. I could try bsdlabel on a giant floppy image as I used installboot on a giant floppy image for NetBSD. > Tom > HTH, > Juergen Tom