From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 29 09:32:58 2010 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EFC01065673 for ; Wed, 29 Sep 2010 09:32:58 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2378FC13 for ; Wed, 29 Sep 2010 09:32:58 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 0D93A13DF42 for ; Wed, 29 Sep 2010 13:32:56 +0400 (MSD) Date: Wed, 29 Sep 2010 13:32:54 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <642536497.20100929133254@serebryakov.spb.ru> To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: NanoBSD (8.1-STABLE): can not boot with boot0sio & can not change boot0cfg / active partition X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 09:32:58 -0000 Hello, Freebsd-embedded. I have two problems with NanoBSD built from 8.1-STABLE sources (1) I have serial console configured for speed 115200. I have "BOOT_COMCONSOLE_SPEED=3D115200" setting, but boot0sio hangs. "mbr" works fine, but "boot0cfg" can not change booting slice in this case. (2) When I try to use fdisk to change booting slice ("fdisk -1 -a ad0") it complains after all questions (why, oh, why fdisk doesn't have "not ask anything" mode WITHOUT config file?!): Should we write new partition table? [n] y fdisk: Class not found fdisk: Failed to write sector zero hostname# boot0cfg can not install boot0sio too: hostname# boot0cfg -B -b /boot/boot0sio ad0 boot0cfg: write_mbr: /dev/ad0: Operation not permitted hostname# So, I can not upgrade NanoBSD in-place, because I can not swap bootable partition :( --=20 // Black Lion AKA Lev Serebryakov