Hello,
We have a CentOS 5 server running a wiki and the motherboard has recently given up, the board has been replaced but now the OS will not boot.
The following error reports on booting;
'Red Hat nash version 5.1.19.6 starting
Reading all physical volumes
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed no such file
setuproot: error mounting /proc: no such file
setuproot: error mounting /sys: no such file
switchroot: mount failed: no such file
Kernel panic - not syncing: attempted to kill init! '
The disk seems to be partitioned into sda1 and sda2, sda 1 contains grub and what look like kernels? (used rescue disc to browse the file system)
I understand that having changed the hardware various parts of the OS need updating, but I am not sure what and how.
Thanks for any help.
[SOLVED] Getting existing CentOS5 system to run with a new motherboard
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Getting existing CentOS5 system to run with a new motherboard
The hd controller on the new motherboard is not supported by the drivers in the initrd. Boot the installation DVD in rescue mode.
Follow the onscreen instructions to chroot to the root filesystem on the HD.
Run mkinitrd for the kernel installed in the /boot partition.
Follow the onscreen instructions to chroot to the root filesystem on the HD.
Run mkinitrd for the kernel installed in the /boot partition.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Getting existing CentOS5 system to run with a new motherboard
To expand on [b]Gerald[/b]'s precise answer, I will just mention that there is an appropriate page in the [i]CentOS[/i] wiki --
[url=http://wiki.centos.org/TipsAndTricks/CreateNewInitrd]Creating a New Initial RAM Disk[/url]
[url=http://wiki.centos.org/TipsAndTricks/CreateNewInitrd]Creating a New Initial RAM Disk[/url]
Re: Getting existing CentOS5 system to run with a new motherboard
Thanks for the help, all running again now.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: [SOLVED] Getting existing CentOS5 system to run with a new motherboard
Thank you for reporting back with your excellent news.
On your behalf and for posterity, this thread is now marked [SOLVED].
On your behalf and for posterity, this thread is now marked [SOLVED].