From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 01:25:41 2010 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 1A8CC106564A for ; Fri, 5 Mar 2010 01:25:41 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id C6D8F8FC0A for ; Fri, 5 Mar 2010 01:25:40 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.43]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Mar 2010 17:25:40 -0800 Message-ID: <4B905D8B.3090708@a1poweruser.com> Date: Fri, 05 Mar 2010 09:25:31 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Martin McCormick References: <201003041717.o24HHkVT027574@dc.cis.okstate.edu> In-Reply-To: <201003041717.o24HHkVT027574@dc.cis.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 05 Mar 2010 01:25:40.0995 (UTC) FILETIME=[C4B9D530:01CABC02] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Booting MFS from Secondary Partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 01:25:41 -0000 Martin McCormick wrote: > I have hit one of these impenetrable walls in which nothing > seems to work but I know it should. I have tried several > versions of /boot.config to no avail. The idea is exactly the > same principle as described in depenguinator which is software > that lets one use grub in Linux to install FreeBSD on a working > Linux system. The idea is to steal the swap partition, put mfsboot > there, and then tell grub to boot from that partition rather than the > normal active one. > > The manual for boot.config makes me think I should be > able to just put in the information describing the secondary > partition and it should cause a boot from that one but: > > /boot.config: 1:ad(0,b)/boot/loader -P > > FreeBSD/i386 boot > Default: 1:ad(0,b)/boot/loader > boot: > error 1 lba 0 > No /boot/loader > > The mfsboot image works when started from the primary > partition so I am stuck as to why boot.config is not starting > from that secondary partition. > The present boot.config is: > > 1:ad(0,b)/boot/loader -P > > If mfsbsd was starting, shouldn't it see its boot > loader? > > Is there a mfsbsd discussion list? Surely, somebody else > has hit this brick wall, also. > > From what I read in this freebsd.org article http://www.freebsd.org/doc/en/articles/remote-install/index.html There is hard coded logic that is stopping you from doing what you want. Looks like you are SOL. Booting mfsBSD Now that the mfsBSD image is ready, it must be uploaded to the remote system running a live rescue system or pre-installed Linux® distribution. The most suitable tool for this task is scp: # scp disk.img root@192.168.0.2:. To boot mfsBSD image properly, it must be placed on the first (bootable) device of the given machine. This may be accomplished using this example providing that sda is the first bootable disk device: # dd if=/root/disk.img of=/dev/sda bs=1m If all went well, the image should now be in the MBR of the first device and the machine can be rebooted. Watch for the machine to boot up properly with the ping(8) tool. Once it has came back on-line, it should be possible to access it over ssh(1) as user root with the configured password. The mfsbsd process has new maintainer, Martin Matuska Email him for help.