Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Drifting on December 20, 2014, 09:21:59 AM

Title: Moving harddisk re Wiki
Post by: Drifting on December 20, 2014, 09:21:59 AM
I think I am suffering from an understanding problem!
The Wiki states after booting into rescue:-

chroot /mnt/sysimage
cd /boot
mv initrd-YOUR_KERNEL_VERSION.img initrd-YOUR KERNEL VERSION.img.old
mkinitrd initrd-YOUR_KERNEL_VERSION.img YOUR_KERNEL_VERSION

So I type:-

mv initrd-2.6.18-348.12.1.el5.img initrd-2.6.18-348.12.1.el5.img.old
mkinitrd initrd-2.6.18-348.12.1.el5.img vmlinuz-2.6.18-348.12.1.el5

And what I get is:- No modules available for kernel vmlinuz-2.6.18-348.12.1.el5

Now I expect I have missed something? However the backup is offsite and I cannot get to it at the moment, and the server died the disk was in, and I am trying to get this to work on a new server. (Clean install works,but not a lot of good without the backup in my hands)

Any help really welcome.

Paul

Title: Re: Moving harddisk re Wiki
Post by: brianr on December 20, 2014, 11:47:54 AM
mv initrd-2.6.18-348.12.1.el5 initrd-2.6.18-348.12.1.el5.old

Missing .img in the first param?
Title: Re: Moving harddisk re Wiki
Post by: Drifting on December 20, 2014, 11:58:06 AM
Missing .img in the first param?


Sadly that was just a typo on the post, not what I typed on the command line. Was excited there for a moment that was the solution, but thanks none the less for you response.

Paul
Title: Re: Moving harddisk re Wiki
Post by: guest22 on January 06, 2015, 06:17:16 AM
Drifting,

any luck or progress that you might want to share please?
Title: Re: Moving harddisk re Wiki
Post by: TerryF on January 06, 2015, 08:10:29 AM
I think I am suffering from an understanding problem!
The Wiki states after booting into rescue:-

chroot /mnt/sysimage
cd /boot
mv initrd-YOUR_KERNEL_VERSION.img initrd-YOUR KERNEL VERSION.img.old
mkinitrd initrd-YOUR_KERNEL_VERSION.img YOUR_KERNEL_VERSION

So I type:-

mv initrd-2.6.18-348.12.1.el5.img initrd-2.6.18-348.12.1.el5.img.old
mkinitrd initrd-2.6.18-348.12.1.el5.img vmlinuz-2.6.18-348.12.1.el5

And what I get is:- No modules available for  vmlinuz-2.6.18-348.12.1.el5

Now I expect I have missed something? However the backup is offsite and I cannot get to it at the moment, and the server died the disk was in, and I am trying to get this to work on a new server. (Clean install works,but not a lot of good without the backup in my hands)

Any help really welcome.

Paul

HF

Doing some reading of CentOS wiki and other places.

I think they may have noticed their error.

The wiki does NOT state to use  "vmlinuz-" as part of the kernel name which is why it is telling them "No modules available for  vmlinuz-2.6.18-348.12.1.el5" there is no kernel with that name.

Heres how CentOS does it http://wiki.centos.org/TipsAndTricks/CreateNewInitrd
or http://advancelinux.blogspot.com.au/2013/06/how-to-rebuild-initrd-or-initramfs-in.html
Title: Re: Moving harddisk re Wiki
Post by: Drifting on January 06, 2015, 09:58:39 AM
Hi Chaps.

In my case I ran out of time, had to get a good friend to drive across country with the backup. As so often with Linux systems, the writers of some of the fixes and docs assume that we know more than we do :-), not that I am complaining, I have been dug out a few times by people in these forums, and I appreciate them all. Just wish they would think about us less gifted!

P