Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fsck problem at boot [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
eqlazer
n00b
n00b


Joined: 07 Dec 2005
Posts: 33
Location: Gothenburg, Sweden

PostPosted: Sat Jan 21, 2006 1:25 pm    Post subject: fsck problem at boot [SOLVED] Reply with quote

Hi, I recently got an IBM 600e to play with, and ofcourse I want gentoo on it. I have managed to install a functionally system with X.
To get the sound working is a later problem, for now the most irritating thing is something during boot.

When boot fsck wants to check hda1 which is the /boot partition.
It says this (almost, it actually asks for root-passwd to be able to run fsck manually or ctrl-D for resumed boot which works fine):
Code:

chemical / # fsck /dev/hda1
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
The filesystem size (according to the superblock) is 391196 blocks
The physical size of the device is 98248 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?

fdisk -l:
Code:

Disk /dev/hda: 6448 MB, 6448619520 bytes
15 heads, 63 sectors/track, 13328 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         208       98248+  83  Linux
/dev/hda2             209        1036      391230   82  Linux swap / Solaris
/dev/hda3            1037       13328     5807970   83  Linux

/etc/fstab:
Code:

/dev/hda1               /boot           ext2            noauto,noatime  1 2
/dev/hda3               /               reiserfs        noatime         0 1
/dev/hda2               none            swap            sw              0 0


From what I know the partition table should be correct, so how do I change the superblock to show the correct?
Or is there any other problems/solutions?

(btw. This is a great forum, so far I have managed to find answers to almost all my previous problems I had whith my workstation and server)


Last edited by eqlazer on Sat Jan 21, 2006 2:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Jan 21, 2006 1:41 pm    Post subject: Reply with quote

Don't know if you want to try this:

https://forums.gentoo.org/viewtopic-t-179107-highlight-superblock+partition+table+likely+corrupt.html
Back to top
View user's profile Send private message
eqlazer
n00b
n00b


Joined: 07 Dec 2005
Posts: 33
Location: Gothenburg, Sweden

PostPosted: Sat Jan 21, 2006 2:06 pm    Post subject: Reply with quote

Thanks, it worked out fine.
I did something like this:
Code:

mount /boot
cp -ax /boot/ /tmp/
umount /boot
mkfs.ext2 /dev/hda1
mount /boot
cp -ax /tmp/boot/*

After that I ran fsck and it is just perfect, thanks polle.
(only sound to battle whith now :( )
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Jan 21, 2006 2:17 pm    Post subject: Reply with quote

one problem lees

for your sound you can start a new topic but first look here :

http://main.linuxfocus.org/~guido/gentoo-tp600e/

maybe the sound part will interest you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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