Line 3: |
Line 3: |
| This HowTo describes a simple way to move your SMEServer system to another set of hardware by just moving the hard disk. | | This HowTo describes a simple way to move your SMEServer system to another set of hardware by just moving the hard disk. |
| | | |
− | Sometimes this works without any intervention, but sometimes the boot fails with a "Kernel Panic". In this case you should follow these steps.
| + | <pre style="color:red"> |
| + | Moving the HardDisk to new hardware usually works without any intervention, but sometimes the boot fails with a "Kernel Panic". |
| + | In this case you should follow these steps.</pre> |
| + | |
| + | This technique seems to work for SME8, tested on SME8.0b7, no guarantees on any other version. |
| | | |
| ===Backup First=== | | ===Backup First=== |
Line 15: |
Line 19: |
| uname -r | | uname -r |
| | | |
− | this will give you the name of the current Kernel. 'It is needed below'. | + | this will give you the name of the current Kernel. ''It is needed below''. |
| | | |
| *Remove the hard Drive and load it into the new system | | *Remove the hard Drive and load it into the new system |
Line 21: |
Line 25: |
| *Select to enter rescue mode in Read/Write mode | | *Select to enter rescue mode in Read/Write mode |
| *Type in the following code: | | *Type in the following code: |
| + | chroot /mnt/sysimage |
| cd /boot | | cd /boot |
− | mv initrd.YOUR KERNEL VERSION.img initrd.YOUR KERNEL VERSION.img.old | + | mv initrd-YOUR_KERNEL_VERSION.img initrd-YOUR KERNEL VERSION.img.old |
− | initrd initrd.YOUR KERNEL VERSION.img YOUR KERNEL VERSION | + | mkinitrd initrd-YOUR_KERNEL_VERSION.img YOUR_KERNEL_VERSION |
− | *Then reboot and if it has worked, then the system will boot normally | + | *Then reboot and if it has worked, then the system will boot normally. |
| + | *If not, then you'll have to think again, or use the longer way as [[Moving_SME_to_new_Hardware|here]] or using a backup as [[http://wiki.contribs.org/Category:Backup Category:Backup]] |
| + | |
| + | ==Acknowledgement== |
| | | |
| + | This came about through a question I posted on the Forum, and was quickly answered by Stefano, many thanks to him. |
| | | |
− | [[Category:Howto]] [[Category:Hardware]] | + | http://forums.contribs.org/index.php/topic,48036.msg238015.html#msg238015 |
| + | [[Category:Howto]] [[Category:Administration:Storage]] |