LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-13-2006, 08:54 PM   #1
Prio
LQ Newbie
 
Registered: Dec 2006
Location: Auckland, NZ
Distribution: Mandrake 9.1
Posts: 1

Rep: Reputation: 0
"Bad magic number in superblock" for a windows partition


Hi,

Background:
I recently installed Mandrake 9.1 on a Windows XP computer with 1 HD with C: and D: partitions. I resized the C: Partition to install Linux. However, after the installation Linux worked but WinXP didn't. So I reinstalled XP by formatting the D: drive.

The problem now is that when I try to boot Linux, it comes up with the error:
"Checking file systems
/dev/hda8
The superblock could not be read or does not descrive a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the super block is corrupt, and you might try running e2fsck with an alternate superblock
e2fsck -b 8193 <device>

fsck.ext3: Bad magic number in superblock while trying to open /dev/hda8
Failed to check filesystem. Do you want to repair the errors? (Y/N)
(beware, you can lose data)
"

I'm afraid to say 'Y' because my brother has his stuff on the D: drive. After saying 'N' I get dropped to the shell.

I think the /dev/hda8 is the new D: drive on XP. I ran scandisk on XP for the D: drive and it had no errors.

Can you please tell me how to fix this problem.
Thanks.
 
Old 12-14-2006, 09:12 AM   #2
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
please type "fdisk -l /dev/hda" on the console you are dropped to and post the results, this will help us understand what partitions are defined.

(btw: hda8 means this is the 4th logical partition in an extended partition, so it seems as if there are much more than the C: and D: partitions...

It seems as if your /etc/fstab contains wrong partition numbers and/or types, so linux thinks this partition is ext2/3 formatted instead of vfat or ntfs.
 
  


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
harddrive won't mount: bad magic number in superblock sohmc Linux - Software 2 01-18-2006 07:35 AM
ext2, ext3 bad magic number in superblock shuuhen Linux - General 1 12-13-2005 01:29 AM
"...bad superblock" error when mounting cdrom Trinity22 Linux - Hardware 4 09-19-2004 07:59 PM
bad magic number in superblock crazynachos Linux - Games 1 04-15-2004 01:43 PM
bad magic number in superblock crazynachos Linux - Newbie 1 04-14-2004 02:09 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration