View previous topic :: View next topic |
Author |
Message |
flamesrock Tux's lil' helper
Joined: 25 Jan 2005 Posts: 132 Location: Calgary
|
Posted: Fri Jan 28, 2005 11:35 pm Post subject: "Fsck could not correct all errors, manual repair neede |
|
|
This is what is says about the boot partition, /dev/hda1:
on boot
*Checking all filesystems...
fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains and ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 (device) (------------->/dev/hda1 in my case)
/dev/hda1: clean 10/10040 files, 5695/40128 blocks
*fsck could not correct all errors, manual repair needed.
So I try manually repairing it with the command they describe, after unmounting it:
e2fsck -b 8193 /dev/hda1
and it fixes 4 errors. But when I boot up, I get the same message. My question is, can this be fixed manually, and if so how?
If not, is it ok for me to copy all files on it over to another folder, delete the partition, and remake it, and stick those files back on? What commad would I use in fdisk to put it at the beginning of the disk since the other filesystems are already created? Start at block zero or something else?
(this is a server, no X installed, so qtparted is out of the question.)
-thanks in advance
oh and one more question..
If I installed a stage 3, and I want to recompile everything for my cpu and use flags, whats the command? Is there a way to not recompile packages that I've already emerged and recompiled with the architecture and flags, but only the ones installed as stage 3? _________________ If it happens, it's possible. |
|
Back to top |
|
|
Deep-VI n00b
Joined: 09 Jan 2005 Posts: 18
|
Posted: Sat Jan 29, 2005 12:43 am Post subject: |
|
|
About getting errors with "device" /dev/BOOT, you need to edit your /etc/fstab file and replace BOOT with your boot partition. The word BOOT is just a placeholder in the default fstab file. It looks like yours should be: "/dev/hda1 /boot ext2 noauto 1 1" |
|
Back to top |
|
|
ThinkTank89 Tux's lil' helper
Joined: 26 Jan 2005 Posts: 129
|
Posted: Sat Jan 29, 2005 12:56 am Post subject: |
|
|
Are you running reiserfs for ext2?
Iv got the same issues, I need to get reiserfsck to run at boot instead of fsck, but I dont really know how :-/ |
|
Back to top |
|
|
|
|
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
|
|