LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-22-2004, 01:31 PM   #1
soujrnr
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!

Thanks.

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

Rep: Reputation: 45
soujrnr; try this; http://www.tldp.org/HOWTO/HOWTO-INDEX.
section4:4.1.8/4.3.11/4.5.1
answers may be there + work arounds.
 
Old 12-09-2005, 05:08 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration