From owner-freebsd-questions@FreeBSD.ORG Tue Dec 30 14:27:25 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 1BD66106566B for ; Tue, 30 Dec 2008 14:27:25 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAF38FC08 for ; Tue, 30 Dec 2008 14:27:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBUERMRk093001; Wed, 31 Dec 2008 01:27:22 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 31 Dec 2008 01:27:22 +1100 (EST) From: Ian Smith To: David Scialom In-Reply-To: <20081229100518.846A610656ED@hub.freebsd.org> Message-ID: <20081231001712.X51566@sola.nimnet.asn.au> References: <20081229100518.846A610656ED@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Unable to modify sysid with Fdisk 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, 30 Dec 2008 14:27:25 -0000 In freebsd-questions Digest, Vol 244, Issue 1, Message 6 On Sun, 28 Dec 2008 17:45:52 +0100 David Scialom wrote: > Hello, > > It seems that it is impossible to modify the sysid with fdisk since FreeBSD > 6.2. I am actually using FreeBSD7.0. > When I want to modify my the sysid from 165(ufs) to 12(Fat32) i get the > message "Geom not found: da0" and no change is made: da0 is stock with sysid > = 165. The detail are provided below. I tried also to do the same from the > install FreeBSD CD without success. > > As someone a solution ? David, I've skimmed through this thread so far, but I didn't notice anyone suggest, well, not doing it that way. You want to change the MBR slice type of da0 from ufs to doswin32. Is that to put an msdosfs filesystem on it? Or is it already formatted as one of those? Is it a 1GB USB memory stick? Inserted but not mounted? Try just deleting the existing ufs slice (assuming it's on a disk not in use) then readd that same size slice (here, whole disk) as type 12. That shouldn't touch any slice's data at all, just the MBR (and you've already dd'd the whole GB raw da0 disk to backup just in case ..) I've used the fdisk wrapper in sysinstall to slice usb stick disks, sometimes with both msdos and ufs slices, just because I prefer that interface rather than maybe miscalculating an offset or size .. ymmv. And from the darkside, FDISK x: /MBR probably still works :) HTH, Ian