LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   partitioning and formatting (cfdisk) (https://www.linuxquestions.org/questions/linux-newbie-8/partitioning-and-formatting-cfdisk-343181/)

snip128 07-14-2005 01:28 PM

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...:rolleyes:

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)

michaelk 07-14-2005 01:32 PM

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?

Matir 07-14-2005 01:33 PM

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. :)

snip128 07-14-2005 05:37 PM

thanks! works just fine now :)

Matir 07-14-2005 09:25 PM

No problem. Glad you got it working. :)


All times are GMT -5. The time now is 02:36 PM.