From owner-freebsd-questions Sat Feb 6 11:15:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12797 for freebsd-questions-outgoing; Sat, 6 Feb 1999 11:15:17 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12791 for ; Sat, 6 Feb 1999 11:15:14 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id OAA27314; Sat, 6 Feb 1999 14:16:38 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902061916.OAA27314@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Can I format the Dos partition? In-Reply-To: <199902061817.CAA00871@trans.hk.hi.cn.> from "caijj@trans.hk.hi.cn" at "Feb 7, 99 02:17:01 am" To: caijj@trans.hk.hi.cn Date: Sat, 6 Feb 1999 14:16:38 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG caijj@trans.hk.hi.cn wrote, > > I have tow partitions on my hard disk, one is msdos, the other > is FreeBSD. Now I want to format the msdos partition to FreeBSD, > how can I do? I don't want to reinstall the system. > Thanks! I just helped someone through this on the list a few weeks ago. Here is what you need to do, 1) Go into fdisk and change the 'sysid' of the first slice to 165. 2) Next you need to use disklabel on the first slice (the DOS "partition") look at the disklabel manpage. If auto labeling does not work, use the disklabel on the second slice as a template for the first one. In fact, using the second slice's label as a starting point for a new one is what we ended up doing with the person I helped. Email me directly if you need more help. HTH. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message