LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-16-2004, 11:48 AM   #1
msross
LQ Newbie
 
Registered: Aug 2004
Location: Nashville, TN
Posts: 3

Rep: Reputation: 0
Unhappy Invalid argument passed to ext2 library while setting up superblock


I solved this problem. How do I delete this message form this forum?

Mark



Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 14593 117218241 5 Extended
[root@explorer /]# mkfs -t ext2 /dev/sdb1
mke2fs 1.35 (28-Feb-2004)
/dev/sdb1: Invalid argument passed to ext2 library while setting up superblock
[root@explorer /]#

Last edited by msross; 09-17-2004 at 09:31 AM.
 
Old 09-20-2004, 09:01 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
It would be better if you just post your solution, then anyone else with a similar problem can find out what you did.
 
Old 10-15-2004, 11:36 AM   #3
johnniefp
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
yeah, like me now!

Its so annoying when you see the same problem your having after googleing and then all you read is "I fixed it" :end:

Arrrggg!
 
Old 11-03-2004, 06:19 AM   #4
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
and like me
I only found this:
http://www.sage.org/mailarchive/sage.../msg00532.html

but i didnt found an alternative

johnniefp: did you found a solution?
 
Old 11-03-2004, 06:42 AM   #5
johnniefp
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
I didn't find a solution as such. What I did do is go back to square one and fdisk'ed the drive from the rescue command line.

I followed this and it worked.

http://www.idevelopment.info/data/Un...ive_ext3.shtml
 
Old 11-04-2004, 06:36 AM   #6
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
What i found:
- Must reboot after resize

- Must define the partition type as ext2/ext3 .
This is
"83 Linux" or
"85 Linux extended" to cfdisk/fdisk?

I set type=85

- Maybe is something wrong with the BIOS & hdd. Maybe we have to recheck the jumpers and all this stuff. I think here is the problem

Anyone know if the problem can be caused when resizing an other partition on the same hdd where linux run?

msross: if you read this topic can you post the solution?
 
Old 11-06-2004, 09:36 AM   #7
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
Finally, i solved the problem
I set the bus cable to "Cable Select" & the hdd got formated
 
Old 05-26-2008, 10:21 PM   #8
Crewsr3
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: Disabled
Cool For Clairifcation...

Quote:
Originally Posted by JJX View Post
Finally, i solved the problem
I set the bus cable to "Cable Select" & the hdd got formated
I was also running into this error. For some reason when I changed the hard drive jumper from master to cable select I was able to fix it. After moving the jumper I reformatted and then the mkfs command worked.

Before I added it to my current system as a second disk it was set to cable select. My guess would be that if you formated the disk as cable select and changed the jumper to master and then formated it again that it might also work. I have not tried it but I think it would work.
 
Old 10-24-2008, 12:45 PM   #9
PhilipIsPDR
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Hi - I experienced this problem and found that the solution was in fdisk - rather than selecting extended as the type of partition, I chose primary partitions only. I was then able to mkfs.ext3 all partitions.
 
Old 07-09-2009, 03:58 AM   #10
stevedonovan
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
This is a very good clear, step-by-step introduction:

http://www.ehow.com/how_1000631_hard-drive-linux.html

And I've found that the best way to experiment is to work with VMware images. Like get an .iso of something really small and cute (like Tiny Core Linux), get an empty virtual disk, and play away without the anxiety of dealing with actual hardware.

steve d.
 
Old 09-03-2009, 02:05 PM   #11
joschi03
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Hi

Have you created an extended partition? If so, you have to add to the extended partition a logical partition, which you add, after creating the extended partition, also with fdisk -> n (add partition).
Afterwards you can run mkfs.ext3 /dev/sda3. You get the error if you would like to format the extended partition, so sda3 is the logical.
To one extended partition you can add multiple logical partitions.

Greets
Joschi
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext2 Superblock Error elamigo2004 Linux - Software 6 11-26-2005 12:07 PM
Invalid UTF8 string passed to pango_layout_ Curtux Mandriva 0 05-24-2005 07:42 PM
alsamixer invalid argument subaruwrx Linux - Software 1 03-12-2005 01:34 PM
SIOCSIFADDR: Invalid argument - setting up network hamish Linux - Networking 5 05-03-2004 10:42 AM
[ Invalid Argument on 'iptables' ] benleung Linux - Security 1 09-23-2003 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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