Kernel panic - Confused partitions
Tommy Reynolds
TommyReynolds at yahoo.com
Sun Dec 5 02:39:26 EET 2004
On Sun, 05 Dec 2004 02:12:45 +0200, Net Masker wrote:
> I boot with the first cd-rom of redhat in rescue mode, I checked my
> "lilo.conf" file and it was OK!!
> My ext3 root partition is on /dev/hda8 and I run:
> mke2fs /dev/hda8
> tune2fs ...
> tune2fs -j /dev/hda#
> e2fsck ...
> (for all my /dev/hda# without understanding what am I doing exactly and
> taking some superblock errors at first...)
Well, when you ran "mke2fs /dev/hda8" you erased everything already
in that partition.
If you are seeing superblock errors, your disk is probably going bad.
Another re-install is in order, so we can check the disk without
worrying about corrupting anything.
1) Boot into rescue mode again.
2) Manually run
# fdisk /dev/hda
and lay out the partitions the way you want them.
3) Build a filesystem on each partition. Use a command like this:
# mkfs -t ext3 -c /dev/hda1
# mkfs -t ext3 -c /dev/hda2
# mkfs -t ext3 -c /dev/hda3
and so on. The "-c" switch performs a surface analysis of the
media, looking for bad blocks. If you get errors, you need a new
drive.
Hope this helps.
Cheers!
More information about the Linux-greek-users
mailing list