Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-05-2003, 02:52 AM   #1
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
Format hardisk ?

I just got a new hardisk and I want to format this drive. What's the command ?
I'm using cfdisk, and FS type is Linux. But I can't mount it.
I've tried to use Win95 FAT32, still can't mount it (mount -t vfat /dev/hdb1 /mnt/hdb).
Can someone help me ? Thanks.
Old 11-05-2003, 03:15 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Minor technical questions, please. Where is the thing? Did you put it on the Primary IDE controller, or the Secondary IDE controller? Did you set the drive's jumper to Slave, Master, Cable Select? What have you done so far? Is it detected by your BIOS? What operating systems are you running on your computer?

Can you post the results of this, which you need to do as root? ->
fdisk -l (that's a lower case L)

You might have got the cart before the horse there.
Old 11-05-2003, 07:29 AM   #3
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You can 'format' in many different filesytems in Linux. You need to make a filesystem on a partition (format) before you can mount.

For ext2:
mke2fs /dev/<device>

For ext3:
mke2fs -j /dev/<device>

For FAT32:
mkdosfs -F 32 /dev/<device>
Old 11-05-2003, 07:33 PM   #4
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Original Poster
Rep: Reputation: 15
Thank you, that's what I need.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing from hardisk javedakhtar Red Hat 5 07-26-2005 04:33 AM
partition and format hardisk draggin Debian 1 02-24-2005 05:11 PM
format hardisk on slackware jordy22 Linux - Newbie 4 01-22-2005 08:52 PM
external hardisk pantera Linux - Laptop and Netbook 2 10-16-2004 07:03 AM
"which files to copy to hardisk for Hardisk installation " Rehan1 Linux - Newbie 9 08-21-2004 03:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration