From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 21:14:34 2007 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 8386916A420 for ; Mon, 30 Jul 2007 21:14:34 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 464CA13C4A5 for ; Mon, 30 Jul 2007 21:14:32 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from trapper.homedns.org (213.114.40.248) by proxy1.bredband.net (7.3.127) id 46A848D60012C6AA; Mon, 30 Jul 2007 23:14:30 +0200 Received: from trapper.homedns.org (localhost [127.0.0.1]) by trapper.homedns.org (8.13.8/8.13.8) with ESMTP id l6ULEUHa002001; Mon, 30 Jul 2007 23:14:30 +0200 (CEST) (envelope-from lazlar@lazlarlyricon.com) Message-ID: <46AE54B6.8020802@lazlarlyricon.com> Date: Mon, 30 Jul 2007 23:14:30 +0200 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.5 (X11/20070716) MIME-Version: 1.0 To: Cyrus References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------070408060204070308000708" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: secondary hdd 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: Mon, 30 Jul 2007 21:14:34 -0000 This is a multi-part message in MIME format. --------------070408060204070308000708 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Cyrus wrote: > ok, i origainly had windows xp pro on my machine, i installed freebsd 6= =2E2. > my machine has a 40gb seagate disk for o/s, and a 160 gb WD disk for > storage. >=20 > my question is, how do i go about formating the 160 gb, from ntfs to uf= s for > use in freebsd? and make it automount when system boots? >=20 > Thank you > Cyrus > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" >=20 >=20 >=20 The simplest way if you're new to FreeBSD would be to use sysinstall.=20 Just type sysinstall at the promt in the console. In the menu select=20 Configure, then Fdisk. If you know the device name of the disk in=20 question, you need only select that one in the list that shows up,=20 otherwise select all. You will now see a screen with info about the each = disk you selected, one at a time. For the disk(s) you do not want to=20 change, just hit ESC and select None in the list that appears. When you=20 come to the disk you want to use as secondary, select the slices one by=20 one and press D for each one. When all slices have been deleted, just=20 press A, then W. When you're done, go back to the main menu and select Label. Then you=20 will see a screen with all the slices you configured, and available=20 space in each one. Select the one in the secondary disc and press C to=20 create a partition. You'll be asked to enter the desired size of the new = partition, and if you want just one partition on the entire disk, just=20 press enter. If you want more than one partition, repeat this until=20 you're satisfied, then make a note the device name(s) created (for=20 instance ad1s1e) and press W. The partition(s) will be formated. I don't think this will make the disk automount, so you'll have to edit=20 your /etc/fstab file, which contains info on all the filesystems to be=20 mounted on boot, one line per entry. This is what an fstab entry looks li= ke /dev/ad1s1e /usr ufs rw 2 2 First is the file system's device node, then under what directory you=20 want it to be mounted, third is the filesystem type (should be ufs for=20 native FreeBSD partitions), fourth is options (rw means read/write, see=20 man fstab for other options). The last two columns should be set to 2,=20 except for the root filesystem (should be 1) and swap, procfs and other=20 specialities (should be 0). Once you're done, save the file and reboot,=20 and you're disc should be automatically mounted. --=20 V=C3=A4nligen / Sincerly, Rolf Nielsen --------------070408060204070308000708--