From owner-freebsd-questions Sun Dec 29 23:58:54 2002 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 B08E637B401 for ; Sun, 29 Dec 2002 23:58:52 -0800 (PST) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 997B943EB2 for ; Sun, 29 Dec 2002 23:58:51 -0800 (PST) (envelope-from nk@viteno.net) Received: from fwd03.sul.t-online.de by mailout07.sul.t-online.com with smtp id 18Suox-0001CM-01; Mon, 30 Dec 2002 08:58:47 +0100 Received: from viteno.dyns.net (520054833674-0001@[80.131.29.102]) by fmrl03.sul.t-online.com with esmtp id 18Suoo-21qckKC; Mon, 30 Dec 2002 08:58:38 +0100 Received: from nk by viteno.dyns.net with local (Exim 4.10) id 18Suon-00016O-00; Mon, 30 Dec 2002 08:58:37 +0100 To: "Murat Bicer" Cc: freebsd-questions@freebsd.org Subject: Re: interactive fdisk From: Norbert Koch X-Attribution: viteno X-Face: 9,{UOz`879Gt1t?~vOo"iN!BBRwO, freebsd-questions@freebsd.org Date: Mon, 30 Dec 2002 08:58:37 +0100 In-Reply-To: <20021230063419.5608818D8E@www.fastmail.fm> ("Murat Bicer"'s message of "Mon, 30 Dec 2002 01:34:19 -0500") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Native Windows TTY Support, i386-unknown-freebsd4.7) References: <20021230063419.5608818D8E@www.fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender: 520054833674-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Murat Bicer" writes: Hi! > Is there a linux fdisk like utility on freebsd that can be used > interactively? > > What is /stand/sysinstall configure fdisk calling? From my understanding of the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html I'd say it's calling a series of commands like those below. ,---- | 12.3.2 Using Command Line Utilities | | 12.3.2.1 Using Slices | | This setup will allow your disk to work correctly with other operating | systems that might be installed on your computer and will not confuse other | operating systems' fdisk utilities. It is recommended to use this method for | new disk installs. Only use dedicated mode if you have a good reason to do | so! | | # dd if=/dev/zero of=/dev/da1 bs=1k count=1 | # fdisk -BI da1 #Initialize your new disk | # disklabel -B -w -r da1s1 auto #Label it. | # disklabel -e da1s1 # Edit the disklabel just created and add | # any partitions. | # mkdir -p /1 | # newfs /dev/da1s1e # Repeat this for every partition you created. | # mount /dev/da1s1e /1 # Mount the partition(s) | # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. | | If you have an IDE disk, substitute ad for da. On pre-4.X systems use wd. `---- norbert. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message