PDA

View Full Version : Fedora Booting problem


Saketram
2006-10-02, 11:31 PM CDT
Hello,

I am using Fedora Core 5 (2.6.15-1.2054_FC5). I got Fedora hanged while I was working in Fedora Operating System, then I rebooted.
Since then Fedora does boot. The message displayed while booting are given below. After these message system hangs.

=================================================
Uncompressing Linux.... Ok, booting the kernel
Red Hat nash version 5.0.32 starting
Reading all physical volumes. This may take a while ....
Found volume group "VolGroup00" using meta data type lvm2
2 logical volume(s) in volume group "VolGroup00" now active
Unable to access resume device (/dev/hdb5)
VFS: Can't find ext3 filesystem on dev dm-0
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
=================================================

Here are some more messages/trails.

Using Fedora Rescue disk, I booted, but it could not find/mount sysimage of my Linux paritions.

# fdisk -l
Disk /dev/hda: 15.3 GB, ......
16 heads, 63 sectors..., 29805 cylinders

Dev Id System
/dev/hda1 b W95 FAT32
/dev/hda2 83 Linux
/dev/hda3 8e Linux LVM


I manually mounted hda1 and hda2, but could not mount hda3.
By the following statement
# mount /dev/hda3 /mnt/fos -t ext3 -o rw
...... Invalid argument

# fsck.ext3 /dev/hda3
fsck.ext3 1.38 (30-Jun-2005)
Couldnt' find ext2 superblock, trying backup blocks.
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda3

# e2fsck -b 8193 /dev/hda3
e2fsck 1.38 (30-Jun-2005)
e2fsck: Bad magic number in super-block while trying top open /dev/hda3

I do not know what to do further, and waiting for your suggestion.

Thanking you.

Saketram
2006-10-03, 12:53 AM CDT
Here are some more messages/trails.

Using Fedora Rescue disk, I booted, but it could not find/mount sysimage of my Linux paritions.

# fdisk -l
Disk /dev/hda: 15.3 GB, ......
16 heads, 63 sectors..., 29805 cylinders

Dev Id System
/dev/hda1 b W95 FAT32
/dev/hda2 83 Linux
/dev/hda3 8e Linux LVM


I manually mounted hda1 and hda2, but could not mount hda3.
By the following statement
# mount /dev/hda3 /mnt/fos -t ext3 -o rw
...... Invalid argument

# fsck.ext3 /dev/hda3
fsck.ext3 1.38 (30-Jun-2005)
Couldnt' find ext2 superblock, trying backup blocks.
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda3

# e2fsck -b 8193 /dev/hda3
e2fsck 1.38 (30-Jun-2005)
e2fsck: Bad magic number in super-block while trying top open /dev/hda3

I do not know what to do further, and waiting for your suggestion.

Thanking you.

SlowJet
2006-10-03, 02:04 AM CDT
hda3 is an LVM pv-vg with 2 LV's on it (/, and swap)

cat /etc/fstab to see mount format (and maybe mtab)

Do you see the hda5 message?

This means you had another swap partition there when you installed FC5 and it made it the primary swap file and also sized it up for the hibernate file.
Now it is gone (so remove it from fstab.) (a swap in the vg00 will be used for paging and swapping but I'm not sure what will happen to hibernate.)

That could be the soruce of the other messages or they could be another problem.

SJ

Saketram
2006-10-03, 02:45 AM CDT
Thank you SlowJet, you should be absolutely observed the correct situation.

Because a day ago, I removed a hard disk (it was hdb) and keep it using on another computer by formating and installing another operating system.

Now I can not get it back with this system.
And as I could not get the Linux drive, how can I edit fstab to remove this hdb.

Please tell what to do now to recover the Operating system.

nhydra
2006-10-03, 02:56 AM CDT
Just repartition and install fedora again and take care about some swap partitions that will be marked from fedora.
I had 2 swap partitions on my fedora and the second one was raid array... but the fedora used them both.

Saketram
2006-10-03, 06:24 AM CDT
Is there anyother trials to try towards recovering my Fedora Operating System?? I have lot of files in the Linux Operating system disk, I want to recover them atleast.

So please give instruction on recovering.
Thank you.

SlowJet
2006-10-03, 10:57 AM CDT
I assumed you would use the rescue or liveCD.
Edit text files with nano.
If you can do a yum update from there, do that also. (Those messages may be the dm raid issue and / or stata drives?)
FC5 out of the box is buggy depending on your hardware and installation, but is working good with all the updates.

SJ

Saketram
2006-10-03, 11:24 AM CDT
Finally the following link enabled me to recover my Fedora.

http://stromberg.dnsalias.org/~strombrg/EXT3-filesystem-recovery-in-LVM2.html

Thanks to all.
:-)