From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 16:44:24 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 15999106564A for ; Wed, 7 Jan 2009 16:44:24 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id 92ED08FC13 for ; Wed, 7 Jan 2009 16:44:23 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.72] (unknown [192.168.1.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 0108AE85F5; Wed, 7 Jan 2009 16:44:22 +0000 (WET) Message-ID: <4964DBE5.2000807@gmail.com> Date: Wed, 07 Jan 2009 16:44:21 +0000 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Steve Bertrand References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> <20090107143450.GA12360@rebelion.Sisis.de> <4964C3CF.7000804@ibctech.ca> In-Reply-To: <4964C3CF.7000804@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Brian McCann , Matthias Apitz , Polytropon , freebsd-questions Subject: Re: FreeBSD USB Install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 16:44:24 -0000 Steve Bertrand wrote: > Matthias Apitz wrote: >> El d=EDa Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropo= n escribi=F3: >> >>> On Wed, 7 Jan 2009 08:25:45 -0500, "Brian McCann" wrote: >>>> Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb >>>> drive, but every time I try it fails. sysinstall says "Unable to ma= ke >>>> new root filesystem on /dev/da0s1a1. Command returned status 38". >>>> When I switch to the debug console, I get "cg 0: bad magic number". >>>> This thumb drive was being used on my Windows machine previously, th= en >>>> I re-formatted it as UFS to use it on a FreeBSD machine...so I know >>>> the thumb drive itself works. Can someone shed some light on this >>>> problem? >>> I could only suggest to eliminate all slices and partitions on the >>> thumb drive (such as it was a new "disk" right from the factory) >>> and let sysinstall put slice and partitions onto it. >> The problem is that 'from the factory' sometimnes they come already Wi= ndows-like >> formated; I've wiped out all with: >> >> # dd if=3D/dev/zero of=3D/dev/da0 bs=3D1m >> >> (double check that /dev/da0 is really the device you want to clean) >=20 > sysinstall will provide you an option to erase any existing 'partitions= ' > that exist on the drive during install, so the 'dd' is redundant. >=20 > I've never installed directly to a thumbdrive before. Normally I'd > install to a hard disk, pear it down, and then effectively copy the > system to the thumb drive manually. I end up with a system as such (so = I > don't need a hard disk): >=20 > router# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0a 939M 410M 454M 47% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/md0 31M 20K 28M 0% /tmp > /dev/md1 15M 36K 14M 0% /var/run > /dev/md2 31M 318K 28M 1% /var/log > /tmp 31M 20K 28M 0% /var/tmp >=20 > That said, installing to a USB disk through sysinstall should > technically (AFAIK) be no different than installing to a standard SCSI > hard disk (da0). >=20 > What options are you supplying when you reach the 'FDISK Partition > Editor' screen? >=20 > Also, if you are installing the system via sysinstall that is running o= n > an already installed FreeBSD, you must use the 'w' option before 'q'. > Quit within the disk editor while running under FreeBSD does not imply > 'write'. (This being opposed to booting from a CD to install). >=20 > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >=20 I've installed 7.0 on an USB IDE drive last week. At the time the USB=20 drive had a Linux distro on it which I destroyed, place the install CD=20 on the CD drive, selected boot from USB, the drive showed up on=20 sysinstall, and performed a pretty standard FreeBSD install. Regards.