System won't boot after applying updates
System updated the OS won't load.
The most likely cause is a new kernel and unitrends-drivers packages did not get installed properly.
There are two primary symptoms that have been seen and three methods we can clear this issue without having to reimage the appliance:
The DPU fails to boot with “Error 15: unable to find file” or similar.
This has been seen on DPU 2000 and 3000. The reason is that the supplied grub.conf points to the kernel at /kernel-2.6.18…. and the initrd at /initrd-2.6.18…. when those are in the /boot directory. This can be remedied as follows:
1. Let the system try to boot, and fail. Hit a key to continue once “Error 15” is seen.
2. Hit “e” to edit the boot options.
3. Select the kernel line and hit “e”, scroll back with the arrow keys and change
Then, hit enter to commit
4. Select the initrd line and hit “e”, scroll back with the arrow keys and change
Then, hit enter to commit
5. Then “b” to boot
6. Once booted, edit /boot/grub/grub.conf to have the same changes, and save that file.
The DPU fails to boot with a kernel panic
This has been seen on many newer (x86_64) platforms. Multiple unitrends-config packages may have been installed as part of the update. This can be remedied as follows:
1. Hit “e” to edit the boot options at boot time
2. Select the kernel line and hit “e”, scroll back with the arrow keys and change
(This is for an 822 and most similar platforms – other platforms may need a different root device.)
3. Hit “b” to boot
4. Once booted, edit /boot/grub/grub.conf to have the same changes and save that file.
Rescue current Installation from image media:
- Create reimage media and set to boot from USB via How to reimage a Unitrends appliance
- Boot from the RecoveryOS Factory Image DVD.
- Go to the option for 'Rescue Installed System'.
- When the system starts to boot select boot with networking.
- You will be prompted that the system will try to locate the installed system, select or
- The system should be found and mounted to /mnt/sysimage.
- Type 'chroot /mnt/sysimage'. This makes the mounted disk the system root filesystem.
- Type 'service sshd start'. This will start the SSH daemon and will allow remote access via SSH to the system.
- Type 'yum reinstall unitrends-drivers'.
List the installed kernels
# rpm -qa | grep kernel | sort dracut-kernel-004-411.el6.noarch
- Now the kernel needs to be reinstalled.
- Type 'yum reinstall kernel-2.6.32-754.28.1.el6.x86_64'.
- You may have to remove it before you can reinstall it. If this is the case run this:
- 'rpm -e --nodeps --justdb kernel-2.6.32-754.28.1.el6.x86_64'
- and then
- 'yum install kernel-2.6.32-754.28.1.el6.x86_64'.
If you are unsure of ANY of these steps please call Unitrends for assistance.