Link to home
Start Free TrialLog in
Avatar of D_Redd
D_Redd

asked on

Linux Boot Problems

Just restored my RHEL 5.3 LINUX system to to different hardware using MONDO. Now while I was successful in doing this on my 32bit system, my 64bit system is giving me the following errors when trying to boot from GRUB:

mount: could not find filestystem '/dev/root'.
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init
unmounting old /dev/
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init

Here is what I have done in an attempt to resolve:

1. reboot system off of red hat rescue cd
2. changed all my devices in the fstab to not point to LABELS but to the actual device I am trying to mount ex:.. /dev/cciss/c0d0p*
3. reconfigured kernel using mkinitrd -v -f initrd*****.img (kernel)
4. changed the mtab, grub.conf and devices file to point to the correct devices and not labels
5. reboot
And continues to give me the same kernel error. ANY HELP is greatly appreciated.
Avatar of Monis Monther
Monis Monther
Flag of Iraq image

Ok first of all to pin point where the problem is actually starting tell me when you boot the machine do you reach the following

1- Grub Splash Screen
If yes

2- Do you get to the point where it says

Welcome to Red Hat Enterprise Linux 5.3
Press I to ......
(after that the services start one by one with an Ok)


Avatar of D_Redd
D_Redd

ASKER

Yes it gets to the Grub splash screen,  But does not make it to the point of bringing up the services.  Dies right before that:
Switching to new root and running init
unmounting old /dev/
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init


SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since you get to the splash screen the you have successfully passed

1- mbr
2- Grub stage 1

your problem is either

grub stage2
Kernel
initrd

Since you did not reach the point where you get welcome to Red Hat press I then there is no point of plauing with /etc/fstab or anything on the system as you did not reach the point where the startup scripts read from these files.

Check your grub configuration is pointing to the correct Kernel, initrd and root partition/volume

From rescue CD install a different  Kernel and initrd and try booting to them

Dont remove the old ones so in case you are still in trouble you can always revert to the point you were.
 
Avatar of D_Redd

ASKER

Nopius,

i created the clone image from 2 seperate systems 1 was a 32bit server and the other a 64 bit.  Both of these I am trying to clone on to older HP servers.

Can you tell me how I can recompile the cciss driver as suggested.

small student,
Can you give me instructions on how to this as well:
From rescue CD install a different  Kernel and initrd and try booting to them

Dont remove the old ones so in case you are still in trouble you can always revert to the point you were.
 
Unfortunately I am new to linux and still learning so any help you can provide is greatly apprciated!

Thanks again!!!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial