From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 20:32:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F12CF16A4D0 for ; Fri, 11 Mar 2005 20:32:01 +0000 (GMT) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C16943D54 for ; Fri, 11 Mar 2005 20:32:01 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 52325 invoked from network); 11 Mar 2005 20:29:56 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 11 Mar 2005 20:29:56 -0000 X-pair-Authenticated: 200.115.214.28 Date: Fri, 11 Mar 2005 17:30:38 -0300 From: Alejandro Pulver To: "Freek Nossin" Message-ID: <20050311173038.464be084@ale.varnet.bsd> In-Reply-To: <20050311201636.63DA98011702@smtp-out3.tiscali.nl> References: <200503111959.j2BJxsV04066@clunix.cl.msu.edu> <20050311201636.63DA98011702@smtp-out3.tiscali.nl> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: 'Jerry McAllister' cc: freebsd-questions@freebsd.org Subject: Re: format slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 20:32:02 -0000 On Fri, 11 Mar 2005 21:16:49 +0100 "Freek Nossin" wrote: > > -----Original Message----- > > From: Jerry McAllister [mailto:jerrymc@clunix.cl.msu.edu] > > Sent: vrijdag 11 maart 2005 21:00 > > To: Freek Nossin > > Cc: freebsd-questions@freebsd.org; alejandro@varnet.biz > > Subject: Re: format slice > > > > > > > > Thank you for your suggestions, I followed them and this is what > > happened: > > > > > > pcwin451# fdisk -s > > > /dev/ad0: 39704 cyl 16 hd 63 sec > > > Part Start Size Type Flags > > > 1: 63 20820177 0x07 0x00 > > > 2: 20820240 19201392 0xa5 0x80 > > > > > > Part 1 is the one I want to convert to a freebsd slice. > > > > > > Now I used fdisk -f with the input > > > > > > p 1 0 0 0 > > > > > > the operation succeeded. I did again: > > > > > > pcwin451# fdisk -s > > > /dev/ad0: 39704 cyl 16 hd 63 sec > > > Part Start Size Type Flags > > > 2: 20820240 19201392 0xa5 0x80 > > > > > > And this was indeed the output I expected. So I thought lets see > > > what sysinstall thinks of all this. Selecting fdisk in the menu > > > showed me a > > disk > > > layout where the NTFS partition still was on the disk. > > > > > > Disk name: ad0 FDISK > > > Partition Editor > > > DISK Geometry: 39704 cyls/16 heads/63 sectors = 40021632 sectors > > (19541MB) > > > > > > Offset Size(ST) End Name PType Desc > > > Subtype Flags > > > > > > 0 63 62 - 12 unused > > > 0 > > > > > > 63 20820177 20820239 ad0s1 4 NTFS/HPFS/QNX > > > 7 > > > 20820240 19201392 40021631 ad0s2 8 freebsd > > > 165 > > > > > > > > > How can this be? I've always assumed that sysinstall uses the > > > fdisk > > tool? > > > And which one is "correct"? Is it wise to try creating a new slice > > > with fdisk? > > > > Well, is one of them reading only the in-memory label and the other > > reading the label on the disk? When you did the fdisk, did you > > make sure it changed on disk. Then, did the in-memory label get > > updated? > > > > ////jerry > > > /stand/sysinstall would be the one that read the in-memory label. The > other way around seems impossible to me. But then how can these two be > different? I did close /stand/sysinstall and restarted. The in memory > one *should* be updated right? If this wasn't the case than it seems > to me like bug in sysinstall, or more likely, freebsd itself. > Normally I should simply try rebooting the system and all ambiguities > should be solved. The problem is I'm working remote and rebooting is > kind of a risk. > > _______________________________________________ > 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" Hello, I do not know about that, but I think the best option is to do the procedure manually, as indicated by Jerry. Best Regards, Ale