You have the basic steps right, you need to set the fstype to msdos
using disklabel. After starting disklabel -E edit the slice a. The
first question it will ask you is the fstype, type "?" and you will
get a list of filesystems that you can set. To use a particular one
just type the hex code that appears on the left of the name and press
enter, finish the rest of the prompts and finally save the changes.

To format the disk with FAT32 you need to create a new filesystem
using newfs. To create a FAT32 filesystem i usually do "newfs -t msdos
/dev/rwd1i". After the command completes your disk is ready to use.

Hope this helps.

On 11/6/10, OpenBSD Geek <[email protected]> wrote:
> Hi,
>
> I added a second disk to my OpenBSD 4.7 machine.
> i done this :
> fdisk -e w
> I created a first full partition type : 0b
>
> when i type : fdisk wd1, i have the following
> 0: 0B      0   0   1 -  41609  15  63 [           0:    41942880 ] Win95
> FAT-32
>
> Now, i suppose i need a slice to format it.
> disklabel -E wd1
> I created a slice a but FSTYPE is 4.2BSD. I'm wrong somewhere.
> disklabel wd1a
> #                size           offset  fstype [fsize bsize  cpg]
>   a:         41943040                0  4.2BSD   2048 16384    1
>   c:         41943040                0  unused
>
> How can i proceed to format a disk FAT32 ?
> thanks

Reply via email to