Rt machine busted with fsck any suggestions

Hi guys,

i had installed the package RT and after much configuration and effort i finally had it up and running i decided to perform an fsck it replied problem with the superblock and magic numbers…within 2 seconds i didnt select yes to anything & next,
my ability to use the tab function to auto complete didnt work,
my symbolic links failed my RT machine ground to a halt.
i performed a reboot and instead of booting into fedora2
it came to the grub shell.
i cant seem to get it to load the kernel etc…probably as well because it cant find grub.conf

i tried a linux recovery using cd1 and it couldnt detect any linux partitions so therefore the command
chroot /mnt/sysimage
wouldnt work

i then atempted to restore the system using knoppix
i booted the cd and performed an fdisk -l
it detected all the partitions
the partiton sda1 was the boot partition
but in the file /etc/fstab
it didnt have a filesystem type for it

/dev/sda1 /mnt/sda1 auto noauto,users,exec 0 0
/dev/sda2 /mnt/sda2 ext3 noauto,users,exec 0 0
. . .
. . .
/dev/sda5 none swap defaults 0 0

i tried to mount all partitions and all worked except the boot partition

mount -t auto(tried ext2,ext3,reiserfs) -o rw /dev/sda1 /mnt/sda1
i got
mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems

any help much appreciated can i save this system, it took long enough
to get right

Kind Regards

Tomas

i then atempted to restore the system using knoppix
i booted the cd and performed an fdisk -l
it detected all the partitions
the partiton sda1 was the boot partition
but in the file /etc/fstab
it didnt have a filesystem type for it

/dev/sda1 /mnt/sda1 auto noauto,users,exec 0 0
/dev/sda2 /mnt/sda2 ext3 noauto,users,exec 0 0

I think you are looking at the knoppix built-on-the fly
fstab. Look at the etc/fstab under wherever it
mounted your fedora root partition.

i tried to mount all partitions and all worked except the boot partition

mount -t auto(tried ext2,ext3,reiserfs) -o rw /dev/sda1 /mnt/sda1
i got
mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems

any help much appreciated can i save this system, it took long enough
to get right

It may be damaged beyond repair, but the only thing unique in
a boot partition is the initrd image and that only if you
need a scsi driver to boot. If you have a similar box
you should be able reformat that partition while booted
from either knoppix or your fedora install cd in rescue
mode and copy the contents over from another machine.
If necessary you can rebuild the initrd image after
you get to the point where rescue mode sees the partition,
mounts the partitions, and lets you chroot to the old
system.

You might want to look at something like backuppc:
http://backuppc.sourceforge.net/ to keep regular backups
once you are running again…

Les Mikesell
les@futuresource.com