From owner-freebsd-current@FreeBSD.ORG Sat Feb 7 21:14:26 2009 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 B600C106564A for ; Sat, 7 Feb 2009 21:14:26 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from relay0.elcom.ru (relay0.elcom.ru [84.53.200.16]) by mx1.freebsd.org (Postfix) with ESMTP id 690C88FC0C for ; Sat, 7 Feb 2009 21:14:26 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by relay0.elcom.ru (Postfix, from userid 65534) id 2D48F506B0; Sat, 7 Feb 2009 23:55:34 +0300 (MSK) Received: from conroe. (static-241-239.domolink.elcom.ru [84.53.241.239]) (Authenticated sender: p3ccmasm) by relay0.elcom.ru (Postfix) with ESMTPA id 0B646506AA for ; Sat, 7 Feb 2009 23:55:33 +0300 (MSK) Date: Sat, 7 Feb 2009 23:55:28 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <1977211221.20090207235528@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: boot2 and ntldr on sata2 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: Sat, 07 Feb 2009 21:14:27 -0000 Hi, All. People, may be realy need to add compile in boot command line, souch as /boot.config staticaly in boot2.c instead of dynamic load it at bootstrap process. I have sata2 disk with 4 primary partition: [ntfs] [bsd] (/var, /usr) [bsd] (/, swap) [ntfs] then system bootup from ntldr with bootpart 2.6 support, I got an error `Invalid Partition' then try boot with command `0:ad(4,3,a)/boot/loader bootstrap process finished succesful! I tryed set in /sys/boot/i386/boot2/boot2.c dsk.drive=0; // may be here must be 0x80 ?? dsk.unit=4; dsk.slice=3; dsk.part=0; i had error 1 lba 0 ... may be i realy set wrong number to dsr.drive I try to add at line 258, after if ((ino = lookup(PATH_CONFIG))) fsread(ino, cmd, sizeof(cmd)); line: memcpy(cmd, "0:ad(4,3,a)/boot/loader\0\0", 24); after this system boot sucess! ps: sorry for my english. -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656