From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 14:49:29 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 22463106571E for ; Thu, 5 Feb 2009 14:49:29 +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 C5E568FC3A for ; Thu, 5 Feb 2009 14:49:28 +0000 (UTC) (envelope-from root@masm.elcom.ru) Received: by relay0.elcom.ru (Postfix, from userid 65534) id 2E43050685; Thu, 5 Feb 2009 17:29: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 097E850653 for ; Thu, 5 Feb 2009 17:29:40 +0300 (MSK) Date: Thu, 5 Feb 2009 17:29:37 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <122010701.20090205172937@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 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: Thu, 05 Feb 2009 14:49:31 -0000 Hi, All. 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