LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2005, 02:28 PM   #1
snip128
Member
 
Registered: Jan 2004
Location: Delaware
Distribution: gentoo
Posts: 96

Rep: Reputation: 15
partitioning and formatting (cfdisk)


well, i formatted a partition with the "Linux" FS with cfdisk...and...i cant mount it O.o what i do is type in

mount /dev/hdc2

but, i change the value for the fs in /etc/fstab everytime...i've tried reiserfs ext2 and ext3 and it keeps saying its not the right fs...so...whats left? now, im assuming that every time i mount, it goes back to the fstab...im kinda new to debian...but...yea...im pretty confused now lol...

Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
i always used to use qtparted...easy program, reliable, but, i tried installing qtparted and parted, and both failed saying it needed the libuuid...which comes with a few programs...and its there (in my lib dir)...so im pretty much screwed there...but anyway...

i sorta remember using a command a long time ago for some other distrib..like mk2fs or something like that, but of course that command isn't found...

soo....either tell me how i can mount it, or tell me how to make it a fs like reiserfs or ext3 (preferbly reiser)...

thx in advance

(and please don't tell me to google it, i already tried...searching for "linux fs" or "partition program" under google.com/linux didnt help...at all lol)
 
Old 07-14-2005, 02:32 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,959

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
cfdisk just creates the partition but does not format. You need to use mkfs to format the partition. What filesystem do you want to use?

Last edited by michaelk; 07-14-2005 at 02:34 PM.
 
Old 07-14-2005, 02:33 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
cfdisk just creates partitions. You must create a filesystem (aka, format) it using one of the following:
Code:
mkfs -t ext2 /dev/hdc2
mkfs -t ext3 /dev/hdc2
mkfs -t reiserfs /dev/hdc2
There are many available filesystems. Google that for details.
 
Old 07-14-2005, 06:37 PM   #4
snip128
Member
 
Registered: Jan 2004
Location: Delaware
Distribution: gentoo
Posts: 96

Original Poster
Rep: Reputation: 15
thanks! works just fine now
 
Old 07-14-2005, 10:25 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
No problem. Glad you got it working.
 
  


Reply


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
Partitioning -- where to find cfdisk squinn Red Hat 1 08-23-2005 10:23 AM
Partitioning in sectors - cfdisk Moloko Linux - Hardware 0 10-27-2004 09:25 AM
Partitioning with CFdisk MRK Slackware - Installation 2 09-29-2004 03:40 PM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 10:01 PM
partitioning with Cfdisk SBarretDolph Linux - Newbie 1 01-21-2004 06:48 AM


All times are GMT -5. The time now is 03:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration