[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Formating a new Drive
Peter McCarthy wrote:
>
> Howdy
>
> this should be an easy one.
>
> I have installed a new HDD setup as /dev/hdb
> It is fdisk'ed with a Linux file system enabled.
> However I can't work out how to format the drive to make it ready for use.
> I tried fsck and it bailed on me (not suprising) as it is the File system
> checker.
> I tried mkfs -c /dev/hdb and it just keeps coming up with
> Usage: mkfs.minix [-c | -l filename] [-nXX] [-iXX] /dev/name blocks
You just need to tell it what type of filesystem to make.
/sbin/mkfs -t ext2 /dev/hdb
/sbin/mkfs.ext2 /dev/hdb (v=verbose can be useful to
show progress)
/sbin/mke2fs /dev/fd0
Either of the commands, mkfs, mkfs.ext2 or mke2fs, can be
used.
Do check the man pages for specific parameters.
Mike
--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:Mike.Lake@nospam.uts.edu.au Ph: 02 9514 1724 Fx: 02
9514 1628
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text