From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 19 09:26:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D83B106566B for ; Thu, 19 Jun 2008 09:26:45 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 034388FC23 for ; Thu, 19 Jun 2008 09:26:44 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Jun 2008 11:26:43 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m5J9Qe68005472; Thu, 19 Jun 2008 11:26:40 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 19 Jun 2008 11:26:40 +0200 From: Matthias Apitz To: Ed Schouten Message-ID: <20080619092640.GA5246@rebelion.Sisis.de> References: <20080619082740.GA3700@rebelion.Sisis.de> <20080619091432.GG93496@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080619091432.GG93496@hoeg.nl> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 19 Jun 2008 09:26:43.0358 (UTC) FILETIME=[9644EBE0:01C8D1EE] Cc: FreeBSD Hackers Subject: Re: moving FreeBSD installation disk1 to an USB stick X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 09:26:45 -0000 El día Thursday, June 19, 2008 a las 11:14:32AM +0200, Ed Schouten escribió: > You could consider installing FreeBSD by hand. Just make sure you > get a bootable FreeBSD system on that USB stick and do this: > > bsdlabel -w -B /dev/ad0 # assuming ad0 is the eeepc flash > # just do bsdlabel -e /dev/ad0 if you want to add multiple slices > for i in a d e f g ... # any partitions you have > do > newfs -U -O 2 /dev/ad0$i > done > > # mount all your partitions in /new > mkdir /new > mount /dev/ad0a /new > mkdir /new/var > mount /dev/ad0d /var > > # make sure you have the `base' and `kernels' directories on > # your USB stick and do this: > cd /X.Y-RELEASE/base > DESTDIR=/new sh install.sh > cd ../kernels > DESTDIR=/new sh install.sh generic > mv /boot/GENERIC/* /boot/kernel/ > > # create a /etc/fstab file > vi /etc/fstab > > Good luck! Thanks, Ed, for this hint; this is also more or less how the recipe is to make that boot-able USB stick; I've just played around with /usr/sbin/sysinstall and realised (what I've never used before) that you can choose as installation source also any point in the file system; so if I put /packages from disk1 to the USB stick as well I could perhaps mount it after booting it and run /usr/sbin/sysinstall and point it to that directory. Will let you know once the beast arrives here. Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa