Date: Mon, 30 Jul 2007 23:14:30 +0200 From: Rolf G Nielsen <lazlar@lazlarlyricon.com> To: Cyrus <skeletonman.bn@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: secondary hdd Message-ID: <46AE54B6.8020802@lazlarlyricon.com> In-Reply-To: <b898119e0707301320x13d5e17aof1a1b8b7f3c03ef2@mail.gmail.com> References: <b898119e0707301320x13d5e17aof1a1b8b7f3c03ef2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AE54B6.8020802>