LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-05-2007, 08:50 PM   #1
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Rep: Reputation: 16
How do i fix this boot issues ...need help


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), then the superblock/dev/sda6:clean; 6574 1/13118464 file, 26970410/104944580 blocks is corrupt ,and you might try running e2fsck with alternate superblock

e2fsck -b 8193 <device> what would i do to this help me
 
Old 12-05-2007, 09:42 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I'll translate:
Quote:
the superblock could not be read or does not describe a correct ext2 filesystem.
The file-system is corrupt, in a non recoverable way.

Quote:
if the device is valid and it really contains an ext2 filesystem
This is so unusual that the program may have made a mistake. Does that partition exist? Does it contain an ext2 file system (ext3 is fine too)? If yes to both questions, then:

Quote:
then the superblock/dev/sda6:clean; 6574 1/13118464 file, 26970410/104944580 blocks is corrupt
... it's definitely corrupt. But the corruption may be limited to the primary superblock.

Quote:
and you might try running e2fsck with alternate superblock: e2fsck -b 8193 <device>
... so you should try scanning from the backup superblock that ext filesystems keep handy. man e2fsck to understand.

Quote:
what would i do to this
Well, first answer the questions above. If they pan out, then the suggestion is to run:

e2fsck -b 8193 /dev/sda6

You'll probably have to do this as root from a recovery mode or a live session.

(8193 is the location of the backup superblock, if you have the default 1k block sizes.)
Good luck and I hope you made backups.
 
Old 12-05-2007, 09:59 PM   #3
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
superblock cause im not sure ..

the first thing that i do is i mount the external drive to mnt/Mandriva then after that i configure the fstab then after that i restart linux box then this problem came up...is there any effect from what i did??
 
Old 12-05-2007, 10:15 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Quote:
Originally Posted by methoxcy View Post
the first thing that i do is i mount the external drive to mnt/Mandriva then after that i configure the fstab then after that i restart linux box then this problem came up...is there any effect from what i did??
You should have mentioned all of this in your original post.

Start over, describe exactly everything you did prior to this error. I am assuming it booted fine before?

Details are important. Post the fstab file and tell us what changes you made, as well as anything else actually relevant to the issue.

You have obvious created the problem. What boot loader are you using? Post the config file for it.
 
Old 12-05-2007, 11:02 PM   #5
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
Boot loader prblem

i connect external harddrive (ntfs format) before cause i want to make a backup for my files so i mounted it "mount dev/sdb1 mnt/Mandriva" then after that i go to fstab "vi etc/fstab" then configure the table

"dev/sdb1 mnt/Mandriva auto defaults 1 2" i put a ext3 in this code but i cant remember where i guess after auto or after defaults dont know exactly.. thats the only thing.. help me pls....
 
Old 12-06-2007, 12:12 AM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Ok, if it's formatted ntfs why would you tell fstab that it's ext3? I'm assumimg as you said you put ext3 'in this code' but can't remember where.

Ok, here ya go.

1. Disconnect the external drive.

2. Boot your system.

3. Edit fstab remove the line you added.

4. Connect the drive and mount it manually and ensure it mounts and reads correctly.

5. Post your fstab file contents here.
 
Old 12-06-2007, 12:28 AM   #7
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
problem w boot loading

my external hhd already disconnected and i trieed to restart my linux box i always encounter this ...



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), then the superblock/dev/sda6:clean; 6574 1/13118464 file, 26970410/104944580 blocks is corrupt ,and you might try running e2fsck with alternate superblock
 
Old 12-06-2007, 08:49 AM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
I'd still like to see the contents of your fstab. Do you have a LiveCD distro laying around? If so boot that so you can access the affected drive.

Last edited by masonm; 12-06-2007 at 08:50 AM.
 
Old 12-06-2007, 10:21 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
i connect external harddrive (ntfs format)
Then the answer to the second question in post #2 is "no, it is not a valid ext2 file system". It is ntfs. Mount it as ntfs.

As masonm said, remove the line you added to fstab. Then mount manually with the following:

ntfs-3g /dev/sdb1 /mnt/Mandriva

(If you do not have ntfs-3g installed then "mount -t ntfs" can be substituted)

And I bet that will work. When it does, you can edit /etc/fstab to add a line that says:

/dev/sdb1 /mnt/Mandriva ntfs-3g defaults,noauto 0 0

(If you do not have ntfs-3g installed then "ntfs" can be substituted)

It's checking at all, instead of just failing the mount, because you put the last field in fstab to 2.

You don't really want it to try mounting at boot, you really want it to mount when it is available... otherwise you'll get an error if you try to boot when it is not plugged in.

Last edited by Simon Bridge; 12-06-2007 at 10:24 AM.
 
Old 12-06-2007, 08:26 PM   #10
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
Unhappy Boot Problem

i can access my fstab but my keyboard function abnormally there's something erased at my fstab could help me pls..



/dev/sda1/ ext3 defaults 1 1
<-------------missing line
/dev/sdb1 mnt/Mandriva ext3 defaults 1 2<----------i already delte this file

/dev/sda5 swap swap defaults 0 0



after this i already reboot it then its ok but i can't login my gui anymore i already type all my username and password but this error show.


"could not start kstartupconfig. check your installation"


is there an effect of missing line in fstab above?? help pls...

help me.

Last edited by methoxcy; 12-06-2007 at 10:47 PM.
 
Old 12-06-2007, 11:31 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You'll have to show the entire "cat /etc/fstab" output, as well as the output of "fdisk -l" - looks like you deleted more than you intended.

If you do: cat "/etc/fstab > fstab.txt" and "fdisk -l > fdisk.txt" you will be able to copy the files fstab.txt and fdisk.txt to a location where you can access them with another system (maybe you copy them to a floppy, or a windows partition). That will allow you to copy and paste the exact messages so we know there are no typos.
 
Old 12-07-2007, 12:50 AM   #12
methoxcy
Member
 
Registered: Dec 2007
Posts: 48

Original Poster
Rep: Reputation: 16
Arrow Could Not Start Kstartupconfig....

/dev/sda1/ ext3 defaults 1 1
<-------------missing line
/dev/sdb1 mnt/Mandriva ext3 defaults 1 2<----------i already delte this file

mone /mnt/floopy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=utf8,sync 0 0

none /proc proc defaults 0 0
/dev/sda5 swap swap defaults 0 0

note: "this the complete setup of my linux box /etc/fstab"



Device Boot start end Blocks Id System
/dev/sda1 * 1 1019 8185086 83 linux
/dev/sda2 1020 14593 109033155 5 Extended
/dev/sda5 1020 1528 4088511 82 Linux swap/Solaris
/dev/sda6 1529 14593 104944581 83 linux



note: "my fdisk table partition"


1.Is there anything wrong about this ???
2.can't access my desktop anymore "COULD NOT START KSTARTUPCONFIG. check your instalation"
3 could you find whats wrong w/ my fstab table??

tnx so much... god bless!!
 
  


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
does k3n 1.0.3 fix the issues ppl have been having Carpo Slackware 1 08-03-2007 10:01 AM
is suse 10.1 going to fix all the sax2 issues? darkhatter SUSE / openSUSE 3 01-19-2006 07:05 PM
xhost issues and the fix raven.sorrow Linux - Newbie 1 05-15-2005 01:55 PM
cpu load problem. Some issues to fix it? gottin Linux - General 4 09-04-2004 06:26 PM
[NOT REALLY LINUX RELATED] How do i fix loopback issues? vbp6us Linux - General 3 04-20-2003 02:55 PM


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