From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 14:24:56 2008 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 A58AE1065672 for ; Tue, 9 Dec 2008 14:24:56 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 42BDF8FC08 for ; Tue, 9 Dec 2008 14:24:55 +0000 (UTC) (envelope-from robin@reportlab.com) Received: by ey-out-2122.google.com with SMTP id 6so688656eyi.7 for ; Tue, 09 Dec 2008 06:24:54 -0800 (PST) Received: by 10.210.137.14 with SMTP id k14mr177150ebd.175.1228832694601; Tue, 09 Dec 2008 06:24:54 -0800 (PST) Received: from ?192.168.0.3? (host-82-44-127-245.static.telewest.net [82.44.127.245]) by mx.google.com with ESMTPS id i6sm154881gve.2.2008.12.09.06.24.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 06:24:53 -0800 (PST) Message-ID: <493E7FAF.5060107@chamonix.reportlab.co.uk> Date: Tue, 09 Dec 2008 14:24:47 +0000 From: Robin Becker User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: questions-list freebsd References: 493D246C.80008@chamonix.reportlab.co.uk <493D53A9.3000106@janh.de> In-Reply-To: <493D53A9.3000106@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: install freebsd from inside another operating system 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: Tue, 09 Dec 2008 14:24:56 -0000 Jan Henrik Sylvester wrote: > Robin wrote: > > I'm just wondering if it is possible to install FreeBSD from inside a > > bootstrap operating system such as a knoppix or ubuntu preinstall? > > http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html > > Cheers, > Jan Henrik > well I tried pretty hard with the depenguinator, but it doesn't work for me. I have an 8.10 ubuntu system with swap on sda5. I had to fix a buglet related to ARG_MAX being missing while compiling glob.c, but otherwise the build seemed to work. Have done all the suggested fixes ie making the partition bootable, changing the type to freebsd, but at boot time I get "12 : Invalid device requested.". I suspect there's some residual problem related to not having exactly the same setup as the author's. One thing I noticed is that the bootsector is not built with knowledge of the target partition, but I don't know exactly how I could fix that, but presumably it's supposed to boot as freebsd. I see it sets partition to 4, 50000 sectors size. -- Robin Becker