Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Basic system up, small problem though
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
Stregone
n00b
n00b


Joined: 12 Mar 2004
Posts: 29

PostPosted: Sat May 29, 2004 2:43 am    Post subject: Basic system up, small problem though Reply with quote

I finialy finished installing, and rebooted. Grub loaded up okay (WOOHOO!) linux loads up okay(booyeah!)...except for one part :cry:

Code:
/dev/hdb1: The Filesystem size (according to the superblock) is 104388 blocks
The physical size of the device is 40131 blocks
Either the superblock or the partition table is likely corrupt!

/dev/hdb1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.


It gives me an option to stop and run fsck (which doesn't help), or startup normaly (everything seems fine). Whats wrong and how should I fix it? Thanks :)
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat May 29, 2004 6:35 am    Post subject: Reply with quote

What does your partition table for /dev/hdb look like? Try "sfdisk -l /dev/hdb"
Back to top
View user's profile Send private message
Stregone
n00b
n00b


Joined: 12 Mar 2004
Posts: 29

PostPosted: Sat May 29, 2004 4:24 pm    Post subject: Reply with quote

Code:
Disk /dev/hdb: 5005 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdb1   *      0+      4       5-     40131   83  Linux
/dev/hdb2          5     129     125    1004062+  82  Linux swap
/dev/hdb3        130    5004    4875   39158437+  83  Linux
/dev/hdb4          0       -       0          0    0  Empty
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat May 29, 2004 6:12 pm    Post subject: Reply with quote

so /dev/hdb1 is your /boot right?

Try backing up /dev/hdb1 and then format the drive using "mkfs.ext3", then copy everything over again. This may fix the problem.
Back to top
View user's profile Send private message
Stregone
n00b
n00b


Joined: 12 Mar 2004
Posts: 29

PostPosted: Sat May 29, 2004 9:37 pm    Post subject: Reply with quote

Yup, that is correct. I'll give it a try, thanks!
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Wed Jul 21, 2004 2:20 am    Post subject: Reply with quote

Any luck? What happened? Please post your solution to this problem, or if you didn't find one, post that too. It saves us who are looking on these forums for solutions to the same problem a lot of time sifting through incomplete threads.

Edit: I found a fix for the problem I was having here: https://forums.gentoo.org/viewtopic.php?p=1363289#1363289
_________________
http://dkap.info
Back to top
View user's profile Send private message
Stregone
n00b
n00b


Joined: 12 Mar 2004
Posts: 29

PostPosted: Wed Jul 21, 2004 4:19 am    Post subject: Reply with quote

Sorry, haven't had a chance to try it yet. Been away from my computer on summer vacation( ugh, the withdrawls :lol: )
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Wed Jul 21, 2004 6:18 pm    Post subject: Reply with quote

FYI: I had the same problem a while ago. It took me a long time to figure out that it was a partition table problem. (see these threads)

https://forums.gentoo.org/viewtopic.php?t=164016
https://forums.gentoo.org/viewtopic.php?t=179140
https://forums.gentoo.org/viewtopic.php?t=178254

I installed Gentoo twice, once using the LiveCD and once using Knoppix. Both times, the partition table looked ok, but once I rebooted into Gentoo with kernel 2.6, the partition table was bad. If you try starting "cfdisk", you'll likely get this error:

Quote:

FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
Press any key to exit cfdisk


The way I fixed the problem was to boot into my installed Gentoo, then start up fdisk, delete the bad partition, and then re-create the same partition. To fix your problem with /dev/hdb1, I would do the following:

1. mount /mnt/hdb1
2. use "cp -ax /mnt/hdb1 /tmp"
3. umount /mnt/hdb1
4. use fdisk to delete hdb1
5. check parition table (should be ok now)
6. use fdisk to recreate hdb1
7. check partition table (should still be ok)
8. save partition table
9. ml2fs.ext3 /dev/hdb1
10. mount /mnt/hdb1
11. cp -ax /tmp/hdb1 /mnt/hdb1

I may have left something out, but these steps should basically solve your problem.
Back to top
View user's profile Send private message
Stregone
n00b
n00b


Joined: 12 Mar 2004
Posts: 29

PostPosted: Wed Jul 21, 2004 8:31 pm    Post subject: Reply with quote

Again, thanks. I have the link to this thread sitting in my yahoo inbox for when I get back home.
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