Unable to boot ScopTEL after installing on Hyper-V

Unable to boot ScopTEL after installing on Hyper-V

ISSUE

After the installation is complete, the virtual machine reboot and crashes with a Kernel Panic during the loading process.

 

ERROR

...

 Scanning logical volumes

Reading all physical volumes. This may take a while...
No volume groups found
Activating logical volumes
Volume group "VolGroup00" not found
Trying to resume from /dev/VolGroup00/LogVol01
Unable to access resume device (/dev/VolGroup00/LogVol01)
Creating root device.
Mounting root filessystem.
mount: could not find filesystem '/dev/root'
Setting up other filessystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init!

 

SOLUTION

Add the original ScopTel ISO, as a DVD drive in Hyper-V.

Boot the Hyper-V system, and at the boot prompt, type “linux rescue”.

Follow the prompts to mount the existing ScopTel installation, and get to the shell.

Run the following command to make the installed system the root (/) environment:

chroot /mnt/sysimage

 

 

View the contents of the /etc/grub.conf file to note the exact version of the installed kernel, which will be used in the next command:

cat /etc/grub.conf

 

Run the following command, replacing “VERSION” with the version you noted from the output of the grub.conf file:

mkinitrd /boot/initrd-VERSION.el5.img VERSION.el5 --preload hv_storvsc

--preload hv_vmbus --preload hv_utils -f

 

For example, if the grub.conf file noted that the kernel was “/vmlinux-2.6.18-348.12.1.el5,” the version number is 2.6.18-348.12.1. The mkinitrd command would then be the following:

mkinitrd /boot/initrd-2.6.18-348.12.1.el5.img 2.6.18-348.12.1.el5 --preload hv_storvsc

--preload hv_vmbus --preload hv_utils -f

Type “exit” twice to reboot, and your system should boot normally


    • Related Articles

    • Installing the ScopTEL packages on OpenVZ

      Installing ScopTEL IP PBX on  OpenVZ The ScopTEL PBX software has an unique problem when you are trying to set it up inside an OpenVZ Virtual Machine. If you install ScopTEL PBX and run the registration program it will fail. That’s because the ...
    • How to Install a ScopTEL Virtual Machine Into the Mediatrix Sentinel SBC

      The Mediatrix Sentinel appliance is a Gateway Appliance with several advanced features (some of which are activated by licensing). • Eight Gateway modules are supported per Sentinel and external Gateways are also supported. • FXO/FXS modules ...
    • ScopServ Integration with Microsoft Teams

      ScopServ is happy to announce that we have completed integration with Microsoft Teams Make and receive work calls on any device anywhere. Works with Microsoft Teams on PC, Mac or Mobile. Quick & simple implementation in minutes. No hardware or ...
    • General-Presentation-ScopTEL-ENGLISH

      ScopServ – The Company  ScopServ is a Canadian firm founded in 2004, specializing in information technology.  It designs high-end corporate applications and holds the intellectual property rights for its products and solutions.  A strong actor in ...
    • How to establish a SIP trunk between ScopTEL IP PBX and Microsoft Lync

      We will see in this article how to configure a Scopserv system so it can communicate with Microsoft Lync/OCS Two steps are required in order to use an external link, and two other steps are optional: Creation of a VoIP Account Creation of an incoming ...