View previous topic :: View next topic |
Author |
Message |
Stregone n00b
Joined: 12 Mar 2004 Posts: 29
|
Posted: Sat May 29, 2004 2:43 am Post subject: Basic system up, small problem though |
|
|
I finialy finished installing, and rebooted. Grub loaded up okay (WOOHOO!) linux loads up okay(booyeah!)...except for one part
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 |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat May 29, 2004 6:35 am Post subject: |
|
|
What does your partition table for /dev/hdb look like? Try "sfdisk -l /dev/hdb" |
|
Back to top |
|
|
Stregone n00b
Joined: 12 Mar 2004 Posts: 29
|
Posted: Sat May 29, 2004 4:24 pm Post subject: |
|
|
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 |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat May 29, 2004 6:12 pm Post subject: |
|
|
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 |
|
|
Stregone n00b
Joined: 12 Mar 2004 Posts: 29
|
Posted: Sat May 29, 2004 9:37 pm Post subject: |
|
|
Yup, that is correct. I'll give it a try, thanks! |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Wed Jul 21, 2004 2:20 am Post subject: |
|
|
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 |
|
|
Stregone n00b
Joined: 12 Mar 2004 Posts: 29
|
Posted: Wed Jul 21, 2004 4:19 am Post subject: |
|
|
Sorry, haven't had a chance to try it yet. Been away from my computer on summer vacation( ugh, the withdrawls ) |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Wed Jul 21, 2004 6:18 pm Post subject: |
|
|
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 |
|
|
Stregone n00b
Joined: 12 Mar 2004 Posts: 29
|
Posted: Wed Jul 21, 2004 8:31 pm Post subject: |
|
|
Again, thanks. I have the link to this thread sitting in my yahoo inbox for when I get back home. |
|
Back to top |
|
|
|