From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 10:51:21 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD60A16A468 for ; Fri, 23 Nov 2007 10:51:21 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from smtp.elcom.ru (smtp.elcom.ru [84.53.200.28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F36513C461 for ; Fri, 23 Nov 2007 10:51:21 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by smtp.elcom.ru (Postfix, from userid 65534) id 2EB4F3D86D1; Fri, 23 Nov 2007 13:51:18 +0300 (MSK) Received: from VMHOST (dsl-212-78.elcom.ru [84.53.212.78]) by smtp.elcom.ru (Postfix) with ESMTP id 0E1943D86BE for ; Fri, 23 Nov 2007 13:51:18 +0300 (MSK) Date: Fri, 23 Nov 2007 13:51:31 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <172375325.20071123135131@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Need help with boot loader. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 10:51:21 -0000 Hi, All. Expirements with /boot/boot2 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