From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 19:00:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4C8016A50C for ; Mon, 19 Nov 2007 19:00:11 +0000 (UTC) (envelope-from root@masm.elcom.ru) Received: from smtp.elcom.ru (smtp.elcom.ru [84.53.200.28]) by mx1.freebsd.org (Postfix) with ESMTP id 82F3213C447 for ; Mon, 19 Nov 2007 19:00:11 +0000 (UTC) (envelope-from root@masm.elcom.ru) Received: by smtp.elcom.ru (Postfix, from userid 65534) id 1D7203D89C8; Mon, 19 Nov 2007 22:00:00 +0300 (MSK) Received: from VMHOST (dsl-212-78.elcom.ru [84.53.212.78]) by smtp.elcom.ru (Postfix) with ESMTP id E24D13D89C2 for ; Mon, 19 Nov 2007 21:59:59 +0300 (MSK) Date: Mon, 19 Nov 2007 22:00:12 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <279516922.20071119220012@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Need help with bootloader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 19:00:11 -0000 Hi, All. I'm add to /sys/boot/i386/boot2/boot2.c in function dskread(...) some `debug' output when it search for needle slice in loop if dsk.slice==0 printf("Found %u\n", dp[i].dp_typ); then FreeBSD loadsup by pressing key F2 in boot0 menu F1. dos F2. FreeBSD \ boot: 0:ad(0,0,a)Found: 7 Found: 165 /\- normaly boot else if BSD loadsup from ntldr boot file /boot/boot1, bootstrup aborted by 'Invalid slice' and command boot: 0:ad(0,0,a)Found 113 Found 102 Found 102 Found 112 No /boot/loader ... Failed !!! why? Can any one help me to understand this !? drvread in both bootstrap processes must read sector 0 on drv 0, or be failed and report error! But it's seems to be work normaly. -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656