From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 20:56:39 2009 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 763F7106567D for ; Sat, 7 Feb 2009 20:56:39 +0000 (UTC) (envelope-from root@masm.elcom.ru) Received: from relay0.elcom.ru (relay0.elcom.ru [84.53.200.16]) by mx1.freebsd.org (Postfix) with ESMTP id 260118FC19 for ; Sat, 7 Feb 2009 20:56:39 +0000 (UTC) (envelope-from root@masm.elcom.ru) Received: by relay0.elcom.ru (Postfix, from userid 65534) id AB409506B2; Sat, 7 Feb 2009 23:56:41 +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 81093506AC; Sat, 7 Feb 2009 23:56:41 +0300 (MSK) Date: Sat, 7 Feb 2009 23:56:36 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <228194658.20090207235636@masm.elcom.ru> To: "Victor M. Blood" , In-Reply-To: <122010701.20090205172937@masm.elcom.ru> References: <122010701.20090205172937@masm.elcom.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: How to change default boot loader location 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: Sat, 07 Feb 2009 20:56:39 -0000 Hi, All. problem solved by hack-fix /sys/boot/i386/boot2.c On 05.02.2009, Victor M. Blood wrote: > I have a SATA-II disk, which split for 4 primary partitions, eg: > 1. NTFS (Active) / ntldr > 2. BSD (/var, /usr) > 4. NTFS > 3. BSD (/, swap) > * partitions showed as 'how it's phisicaly placed on drive' > Used bootpart I have create 'freebsd.bin' and try to loadup it into > ntldr, boot.ini > eg: bootpart 2 LBA freebsd.bin > Freebsd loader shows two error messages about 'Invalid Partition' and > prompt me > boot: 0:ad(0,a)/boot/kernel/kernel > Then I 'by hands' try: 0:ad(4,3,a)/boot/loader, Free BSD has normal > start loader, menus, kernel, etc... works! > I try write this line in /boot.config, but have no any result... > eg: echo "0:ad(4,3,a)/boot/loader" >/boot.config > Help me please, how I can get autoboot from slice 3, unit 4 ? > 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