LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2007, 08:48 PM   #1
pueblonative
Member
 
Registered: Jun 2006
Location: Pueblo, Colorado
Distribution: OpenSuse
Posts: 55

Rep: Reputation: 15
dumpe2fs


Okay, I'm studying for my LPIC-1 and looking at the dumpe2fs command, I keep getting complaints about a bad magic number. What does that mean?

Specifically, this:
linux-1u45:/home/jmeyer # dumpe2fs /dev/sda2
dumpe2fs 1.39 (29-May-2006)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock.
 
Old 02-23-2007, 09:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I'd say that means the partition is not ext2 (or 3) or that it is corrupted.

I think the "magic number" is like a tag that helps programs find certain data structures (eg the last two bytes of the mbr)
 
Old 02-23-2007, 09:09 PM   #3
pueblonative
Member
 
Registered: Jun 2006
Location: Pueblo, Colorado
Distribution: OpenSuse
Posts: 55

Original Poster
Rep: Reputation: 15
Which is real strange, since the computers working well.
 
  


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




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