LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 15
Format hardisk ?


Hi...
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,940

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
aaa
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
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:43 AM.

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