Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
um my super block is corrupt. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
daevasa
n00b
n00b


Joined: 07 Aug 2008
Posts: 14
Location: local...

PostPosted: Thu Aug 07, 2008 6:54 pm    Post subject: um my super block is corrupt. [SOLVED] Reply with quote

this is my first time *really* installing a linux system, i say really because i have used the ubuntu graphical install thing, but i don't even count ubuntu as an accomplishment, because i didn't learn anything from it. </off-topic>

everything is fine really, until it comes to "checking root file system"
where it gives me the following
Code:
fsck.ext3: No such file or directory while trying to open /dev/sda3
/dev/sda3:
The superblock could not bee 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 super block is corrupt, and you might try running e2fsck with an alternate superblock:
     e2fsck -b 8193 <device>

filesystem couldn't be fixed :(
Give root password for maintenance


so i typed
Code:
e2fsck -b 8193 /dev/sda3


and it just repeats the above message

Maybe i'm just not doing it right, but any help would be greatly appreciated, let me know if you need more information


Last edited by daevasa on Fri Aug 08, 2008 12:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Aug 07, 2008 7:03 pm    Post subject: Reply with quote

when you did mkfs, you did mkfs.ext3 (or mkfs.ext2 -j), right?

is the partition table correct?
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Thu Aug 07, 2008 7:07 pm    Post subject: Reply with quote

daevasa,

Welcome to Gentoo.

Your superblock is fine, root is mounted. The problem is that you have told /etc/fstab that root is an ext3 filesystem on /dev/sda3 when its something else, like reiserfs or /dev/hda3. This makes the fsck

Give the root password so you can look around.
Do
Code:
ls /dev/sd*
what sd nodes do you have ?
Do l
Code:
s /dev/hd*
what hd nodes do you have ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
daevasa
n00b
n00b


Joined: 07 Aug 2008
Posts: 14
Location: local...

PostPosted: Thu Aug 07, 2008 7:11 pm    Post subject: Reply with quote

there are no nodes on sd*, in fact no sd*, but there are hda hda1 hda2 hda3 and hdac
sooo... how am i to fix this?
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Aug 07, 2008 7:25 pm    Post subject: Reply with quote

post your /etc/fstab and /boot/grub/menu.lst (if you're on grub)
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.


Last edited by poly_poly-man on Thu Aug 07, 2008 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
daevasa
n00b
n00b


Joined: 07 Aug 2008
Posts: 14
Location: local...

PostPosted: Thu Aug 07, 2008 7:37 pm    Post subject: Reply with quote

fstab:
Code:
/dev/sda1       /boot                   ext2    noauto,noatime           1 2
/dev/sda3       /                         ext3    noatime                      0 1
/dev/sda2       none                   swap   sw                              0 0
/dev/cdrom     /mnt/cdrom         auto    noauto,ro                    0 0


when i tried to open /boot/grub/menu.lst it said new file, also no /boot/grub directory.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Thu Aug 07, 2008 7:43 pm    Post subject: Reply with quote

daevasa,

You either remake your kernel to use the libata drivers (thats the right way) or ...
change your /etc/fstab to use /dev/hd... in place of /dev/sd... and change your grub.conf to use /dev/hda3 in place od /dev/sda3. (thats the easy way)

I would go with the easy way for now and see what happens with your disk data rate. If its ok, there is nothing wrong with using the old IDE drivers.

Mount your partitions and get into your chroot to do the changes
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
daevasa
n00b
n00b


Joined: 07 Aug 2008
Posts: 14
Location: local...

PostPosted: Thu Aug 07, 2008 8:09 pm    Post subject: Reply with quote

thank you! my system now boots and i think i can handle it now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum