Date: Mon, 30 Dec 2002 08:58:37 +0100 From: Norbert Koch <viteno@t-online.de> To: "Murat Bicer" <murat@bicer.org> Cc: freebsd-questions@freebsd.org Subject: Re: interactive fdisk Message-ID: <vzhecw9bv6.fsf@viteno.dyns.net> In-Reply-To: <20021230063419.5608818D8E@www.fastmail.fm> ("Murat Bicer"'s message of "Mon, 30 Dec 2002 01:34:19 -0500") References: <20021230063419.5608818D8E@www.fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
"Murat Bicer" <murat@bicer.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vzhecw9bv6.fsf>