Results 1 to 4 of 4
Well I just installed gentoo and when I boot I am getting a superblock error.
The error at the end of the boot sequence reads...
Code:
/dev/hda1: The filesystem size ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-16-2005 #1Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
Gentoo boot error? Just installed
Well I just installed gentoo and when I boot I am getting a superblock error.
The error at the end of the boot sequence reads...
Now my fstab looks like this...Code:/dev/hda1: The filesystem size (according to the superblock) is 182731 blocks The physical size of the device is 10032 blocks Either the superblock or the partition table is likely to be corrupt! /dev/hda1: UNEXPECTED INCONSISTENCY; RUN fsck Manually. (i.e., without -a or -p options) * Fsck could not correct all errors, manual repair needed [ !! ] Give root password for maintenance (or type Control-D for normal startup):
Code:/dev/hda1 /boot ext2 noauto,noatime 1 2 /dev/hda3 / reiserfs noatime 0 1 /dev/hda2 none swap sw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs nodev,nosuid,noexec 0 0
And my partition table, (fdisk /dev/hda), looks like this....
when i run reiserfsck on /dev/hda3 everything turns out correctlyCode:/dev/hda1 1 5 40131 83 Linux /dev/hda2 6 130 1004062+ 82 Linux swap /dev/hda3 131 1222 8771490 83 Linux
when i run e2fsck on /dev/hda1 I get the selfsame errors with no verbose or other way to fix them, does anyone know what I should do to resolve these errors? For example, how I should fix the superblock?
Thanks for your time,
JohnOperating System: GNU Emacs
- 03-16-2005 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
luckily its just the /boot device thats borked.. boot back into the live cd and
Code:mount /dev/hda3 /mnt/gentoo && mount /dev/hda1 /mnt/gentoo/boot
Code:cp -arp /mnt/gentoo/boot/ /mnt/gentoo/boot.backup
Code:umount /dev/hda1
Code:mke2fs /dev/hda1
Code:mount /dev/hda1 /mnt/gentoo/boot
Code:cp -arp /mnt/gentoo/boot.backup /mnt/gentoo/boot
Code:umount -a && reboot
Proud to be a GNU/Gentoo Linux user!
- 03-17-2005 #3Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
thank you so much variant, i really appreciate the help, and it worked like a charm
Operating System: GNU Emacs
- 03-17-2005 #4Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
Very glad to help, I was able to answer your question because you gave all the right information! For example: the problem, your configuration, what you did to try to fix it and the error messages. Not to mention the fact that you were polite :)
If only all users asked questions in the correct way then there would be a lot less frustration and we would all learn a lot more a lot faster :DProud to be a GNU/Gentoo Linux user!


Reply With Quote
