From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 15:43:39 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 6E106106564A for ; Fri, 9 Jan 2009 15:43:39 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6858FC19 for ; Fri, 9 Jan 2009 15:43:38 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so3990366yxb.13 for ; Fri, 09 Jan 2009 07:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=mztrkOPtqV4EzJuPlVS4jLo7YQuymlwnEyvlhl1YcUQ=; b=Osrl9QkAT591yr6+tfx6OZy9TvIPr2EiOSDPd9LKLhs0UbHofnCjf+EgkWaqodQRux H8N/amSftZavFbSmFT6l3mO/7AyKowPCz3Xx+0Na5UoPTviL1Mw5EDXnpPIfCaR8YDJg jm4LId5DHGsuGAUKcK5yeSZKnbwYG/bwJUAY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WWtIsnBkQjN42+4N33Ywun68AxY9CGkZh7tkf2HxERk4lymq/7j8iZyPyvScYL3T1a e+iTmeGc/6Q6LAcuHQWdQ72y1wd2m5nc2tIP5llz+SFO8Xvvf7DMMoZyKvfLNkd1dbIe /nolqImaRz5LNROQCoGYYSNKpNANdGlqW9pYI= Received: by 10.151.147.17 with SMTP id z17mr4318407ybn.129.1231515818399; Fri, 09 Jan 2009 07:43:38 -0800 (PST) Received: by 10.151.72.8 with HTTP; Fri, 9 Jan 2009 07:43:38 -0800 (PST) Message-ID: <2b5f066d0901090743v494c4c08ufeeec2dec319d0f0@mail.gmail.com> Date: Fri, 9 Jan 2009 10:43:38 -0500 From: "Brian McCann" To: "chris. scott" In-Reply-To: <2b5f066d0901090709m6c1000efi7d411800f16cf732@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2b5f066d0901081136n257f114akb9ebd628fd6f93a2@mail.gmail.com> <49671922.8040906@snaffler.net> <2b5f066d0901090709m6c1000efi7d411800f16cf732@mail.gmail.com> Cc: freebsd-questions Subject: Re: FreeBSD USB Install 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, 09 Jan 2009 15:43:39 -0000 > > Well this just got a LOT more frustrating and interesting. I made a > stick following those directions using a new stick...worked fine, > booted off of it...did some work on it...somehow the filesystem got > very corrupted in one of various things I was doing to it (I think it > was when I accidentially unplugged it before running a sync and > umount). I figured it'd just be easier to start over and build it > again from scratch. So...I try to newfs it ("newfs -U -L FreeBSDStick > /dev/da1s1a", and newfs fails with "cg 0: bad magic number" . Now I'm > really getting pissed. So...I run a dd ("dd if=/dev/zero of=/dev/da1 > bs=1m"), and do the whole thing over...here's the console output: > > umm# dd if=/dev/zero of=/dev/da1 bs=1m > dd: /dev/da1: short write on character device > dd: /dev/da1: end of device > 3830+0 records in > 3829+1 records out > 4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec) > umm# fdisk -BI /dev/da1 > ******* Working on device /dev/da1 ******* > fdisk: invalid fdisk partition table found > fdisk: Geom not found: "da1" > umm# bsdlabel -B -w da1s1 > umm# newfs -U -L FreeBSDStick /dev/da1s1a > /dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048 > using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > with soft updates > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, > 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, > 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200 > cg 0: bad magic number > > So now I'm getting seriously ticked off. Anyone have any ideas what > the heck could be causing this? This thumb drive was working fine > with FreeBSD! I'm trying a dd on a thumb drive w/o specifying a block > size / BS...we'll see what that does...but I'm still open to > suggestions since I'm just about out of ideas. > > Thanks! > --Brian > > To the list of things tried...add formatting the USB stick with the HDD Low Level Format Tool (http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/). Still no joy... --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters"