LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-07-2004, 08:00 AM   #1
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Rep: Reputation: 15
what is superblock? problem while booting


it is a newly installed Gentoo Linux and seems not successful

i got the following message while booting:

........

* checking all filesystems...
fsck.ext2 : No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem(and not swap or ufs or something else). than the superblock is corrupt and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>.


* Fsck could not correct all errors, manual repair needed [!! ]

.......


what can i do to fix this problem? and what is superblock?
 
Old 10-07-2004, 08:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
As a brand new Gentoo installation, i'd guess that you've not updated /etc/fstab correctly, as /dev/BOOT is a default entry there, and if you'd edited that yourself you'd be asking your question in a different way so i'd say nip back to the install doc at gentoo.org and find the part about fstab editing. if you are unsure how you've partitioned your system, run "fdisk -l" and that should tell you what you'd need.
 
Old 10-07-2004, 08:33 AM   #3
rabbit7
LQ Newbie
 
Registered: Oct 2004
Location: Switzerland
Distribution: Gentoo/ FreeBSD
Posts: 12

Rep: Reputation: 0
you have to replace BOOT with the name of your boot partition

usually /dev/hda1

hd = hard disk
a = master hardisk on primary ide controller
1 = first partition

if you have 2 hardisk for example it would be

/dev/hdb1

configuration of /etc/fstab is discussed in the gentoo handbook right here :

http://www.gentoo.org/doc/en/handboo...?part=1&chap=8

just boot your computer with the livecd
mount your root partition and redit the file
 
Old 10-07-2004, 09:21 AM   #4
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
thanks very much!
i edited /etc/fstab and it is ok now
 
Old 10-27-2004, 12:03 PM   #5
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Rep: Reputation: 30
I am using mandrake linux 9.2 and ebery thing was working fine but I resized a partition through WINDOWS XP (that partition was of FAT filesystem). But on next boot GRUB was corrupted, I reinstalled it and boot LINUX but it gave me exactly the same errors?
I have tried
e2fsck -b 8193 /dev/hda9
but it told that it can't open /dev/hda9 due to corrupted superblock and ........
What should I do now? please help me as I am unable to boot LINUX now.
My root partition is /dav/hda7
SWAP partition is /dev/hda8
/usr partition is /dev/hda9
and it is affected.
Pls help
 
Old 10-28-2004, 03:08 AM   #6
rabbit7
LQ Newbie
 
Registered: Oct 2004
Location: Switzerland
Distribution: Gentoo/ FreeBSD
Posts: 12

Rep: Reputation: 0
my experience is that windows and windows tools do messy things with foreign partition.
Sometimes their not even nice to there own flavor of formats.
My recomondation is to never resize a fat or ntfs partition in windows. there are linux tools which do the job just a liittte better. ( at least for ntfs, as much as i know )
its possible that windows has screwd up your partition table. You might wanna compare with the one you've had bevore.
ohh you didnt save the partiton table? too bad.
you could trie some repair tools, but their doomed to fail.
And if thats your /usr partition its not worth it anyways. ( if some files wont be recovered or named wrongly your system will be screwed up anyways )
my tip to you is.
reinstall. its most probably the fastest and the most clean solution


Greets Ben
 
Old 10-28-2004, 09:31 AM   #7
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Rep: Reputation: 30
Yeah it was may big mistake that I hadn't save my partition table. Now it was very great system, I managed and mintained it very well and installed a lot of updates and packages from net, so now I want to recover it on any expense, pplease tell me about it.
Today I ran several commands including e2fsck, debugfs and mke2fs, one of them gave me the location of alternates superblock, and they were 32768, 98304 and 163840, I tried as
e2fsck -b 32768 /dev/hda9
it checked it and I recieved a message that filesystem was modified, I then ran fsck but it again gave me the previous error message that superblock is corrupted. I now ran with 98304 and it again did preety well stuffs including making and fixing group, inode errors, the system remained busy for almost 3 minutes but on running fsck it worked and said that filesystem is good, I rebooted but again gave the same errors but this time the fsck was looking for /dev/hda11 and the considerable thing is that my HDD doesn't contain /dev/hda11, instead on /dev/hda7 and /dev/hda9 it said that every thing is OK. WHat can I do now that the fsck doesn't look for hda11 instaed of hda9?
Pls help
Any way thanks for ur reply.
 
Old 10-29-2004, 10:03 AM   #8
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Rep: Reputation: 30
Oh I got sucess in getting superblock correct, but now the system boots but without any service started. No service is starting, what should I do now? please help.....
 
Old 10-29-2004, 01:28 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what do ou mean? they all fail? or nothing even tries to start? do you get a login?

also please do not hijack threads. when you have a problem, start new, well written thread in the approriate forum. your problem has nothing in common with the original one, other than the word "superblock"
 
Old 10-30-2004, 02:13 PM   #10
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Rep: Reputation: 30
The first message I got is the fail message of activating swap after that it mounts my /usr partition but after that I recieve a long list of fail messages in front of many services, and after that I got login but only in console, the X server doesn't start. I think that I did wrong wrong by updating superblock because I just had to update my /etc/fstab and change the root device from /dev/hda11 to /dev/hda10 but now what should I do?
I am thinking of starting new thread but I found that in searching google so I posted here otherwise I was going to post a new one.
Thank U very much.
 
  


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
superblock problem while booting siku Linux - General 2 11-18-2004 10:53 PM
superblock problem lazyvan Fedora 0 06-23-2004 10:44 PM
RAID problem with Superblock EwanG Linux - Software 1 05-21-2004 04:17 PM
Upon booting error message about bad superblock on ext2 device sharpie Linux - Newbie 10 01-30-2004 03:11 AM
Partition Superblock Problem? RGS32 Linux - General 1 07-24-2003 11:32 PM


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