Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-22-2004, 12:31 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Maine
Distribution: Mandrake 10 and Suse 9.*
Posts: 28

Rep: Reputation: 15
Partitioning a new hard drive

I partitioned a second hard drive with two partitions, hdc1 and hdc2. Now I assume I need to create a file system. I'm trying to use ext3. I was able to use the following command for hdc1:

#mkfs -t ext2 -j /dev/hdc1

When I tried the same statement with hdc2, the second half of the drive, I got the following message:

# mkfs -t ext2 -j /dev/hdc2
mke2fs 1.34 (25-Jul-2003)
/dev/hdc2: Invalid argument passed to ext2 library while setting up superblock

What the heck does that mean? Am I not able to use the same mkfs statement to set up ext3 in the second partition of that drive?

Your help would be greatly appreciated!


Old 06-22-2004, 03:35 PM   #2
Senior Member
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
soujrnr; try this;
answers may be there + work arounds.
Old 12-09-2005, 04:08 PM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If you are formatting the two partitions for installing a Linux then don't bother because the installer would not trust you and always format them. You only need to format them for self use.

I always use

mke2fs -j /dev/hdc1
mke2fs -j /dev/hdc2

It is quite easy to member as you are making ext2 filing system. The -j is to have a journal system so that the ext2 effectively becomes ext3 type.


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 my hard drive bluemandrin Linux - Newbie 2 12-09-2005 04:18 PM
partitioning hard drive marie-p Linux - Newbie 5 01-14-2005 12:23 PM
Partitioning a hard drive phoenix_wolf Linux - Newbie 5 12-04-2004 01:50 AM
Hard drive partitioning FuGeE Linux - Laptop and Netbook 4 09-19-2004 07:48 PM
partitioning my hard drive stearic Linux - Newbie 1 01-07-2001 10:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 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