[SOLVED] Getting existing CentOS5 system to run with a new motherboard

Issues related to hardware problems
Post Reply
tsm22
Posts: 2
Joined: 2012/12/13 18:21:37

[SOLVED] Getting existing CentOS5 system to run with a new m

Post by tsm22 » 2012/12/13 18:34:42

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.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Getting existing CentOS5 system to run with a new motherboard

Post by gerald_clark » 2012/12/13 21:16:58

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.

User avatar
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

Post by AlanBartlett » 2012/12/14 04:34:43

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]

tsm22
Posts: 2
Joined: 2012/12/13 18:21:37

Re: Getting existing CentOS5 system to run with a new motherboard

Post by tsm22 » 2012/12/14 17:29:51

Thanks for the help, all running again now.

User avatar
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

Post by AlanBartlett » 2012/12/14 23:01:49

Thank you for reporting back with your excellent news.

On your behalf and for posterity, this thread is now marked [SOLVED].

Post Reply