From owner-freebsd-stable@FreeBSD.ORG Mon Apr 23 16:57:26 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FD3216A403 for ; Mon, 23 Apr 2007 16:57:26 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id F0E0513C44C for ; Mon, 23 Apr 2007 16:57:25 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B29D219E023; Mon, 23 Apr 2007 18:57:24 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id A6EE119E019; Mon, 23 Apr 2007 18:57:19 +0200 (CEST) Message-ID: <462CE56E.5090603@quip.cz> Date: Mon, 23 Apr 2007 18:57:18 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <4614F7C1.3010704@seclark.us> <20070405142809.GE308@deviant.kiev.zoral.com.ua> <46155401.9010903@seclark.us> In-Reply-To: <46155401.9010903@seclark.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: btx crashes when booting 6.1 from usb cdrom X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 16:57:26 -0000 Stephen Clark wrote: [...] >> If you could build custom boot images, try >> http://people.freebsd.org/~kib/realbtx >> realbtx.2.patch is the patch, and loader is the /boot/loader built >> with that >> patch applied. If you could rearrange CD image with that loader put into >> /boot, then try to load from it and report results. >> >> CAUTION: Do not install boot2 or loader on your harddrive, code had very >> little exposure and may cause you machine to become unbootable. >> >> >> > Hi Konstantin, > > Thanks this worked. I have another question though. I mounted the distro > 1 cd and > cd to /cdrom and did > tar cSf - . |(cd /usr/myboot;tar xSf -) > so I could move in the new loader program. The problem is I ended up > with an > iso file system after I did > mkisofs -R -no-emul-boot -b boot/cdboot -o /tmp/bootable.iso /usr/myboot > that was 991mb which was to big to put on a CD. Where did I go wrong? > > Since this was only a test I rm'ed packages, rescue and release > directories, but how did it all > fit on the CD originally? Many files are hardlinked on the original media (for example all in /rescue is hardlink to one binary), but tar makes a copy of each file. Miroslav Lachman