Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

SolusVM ‘No bootable device’ error – How to fix

by | May 30, 2021

Stuck with SolusVM ‘No bootable device’ error? We can help you.

Often Solusvm users report that they get the error “No bootable device” on the VNC console.

Here at Bobcares, we often handle requests from our customers to fix similar errors as a part of our Server Management Services. Today we will see how our support engineers fix this for our customers.

Causes and fixes for Solusvm ‘No bootable device’ error

We will see what are the common causes for this error along with their fixes.

Following are the two main causes:

  • VPS was created with lesser HDD Space and SWAP size than the initial sizes in the template.
  • The template filename is an invalid one. Partition # Resize parameter value is wrong.

Now we will see about the causes and the solution to fix them in detail.

1. Lower HDD space and swap size

At times, SolusVM KVM VPS created from a custom template will show the following error VNC console:

No bootable device

2. The custom template has the following initial sized of main partition and SWAP:

# virt-filesystems -a /home/solusvm/kvm/template/linux-centos-7-x86_64-custom-gen2-v1.gz --all --long --uuid -h
Name Type VFS Label MBR Size Parent UUID
/dev/sda1 filesystem ext4 - - 19G - 5792c139-680c-413b-a83b-d6fe2c494886
/dev/sda2 filesystem swap - - 1.5G - dacc56a2-b384-4695-93ed-ba4a1a9f3037
/dev/sda1 partition - - 83 19G /dev/sda -
/dev/sda2 partition - - 82 1.5G /dev/sda -
/dev/sda device - - - 20G -

Steps to fix Lower HDD space and swap size

Following are the steps to fix this error:

1. Firstly, log into the SolusVM Master interface.

2. And open Virtual Server and remove created VPS.

3. After that we have to create a new VPS using the following steps:

a) First go to SolusVM and take Virtual Servers

b) From there we take Add Virtual Servers and then KVM with HDD Space bigger than the size of the sum of the main partition and SWAP and SWAP bigger than the default value of the template.  For example, HDD Space should be 22 GB and SWAP – 2000 MB.

At times we may get the “No bootable Device” error in the VNC screen after the VM creation.

Also, we can see the following error in Build Log:

########## LOG START ##########
Built From Template => /home/solusvm/kvm/template/windows-2016-server.gz
Tools => Running tools Logical volume "kvm101_img" successfully removed
Logical volume "kvm101_img" created.
...
Resize operation completed with no errors. Before deleting the old
disk, carefully check that the resized disk boots and works correctly.
MKSWAP =>
LG MOUNT RP =>

Following is the virt-filesystems output of the custom template.

# virt-filesystems -a /home/solusvm/kvm/template/windows-2016-server.gz --all --long --uuid -h
Name Type VFS Label MBR Size Parent UUID
/dev/sda1 filesystem ntfs System Reserved - 500M - 3C36E57736E53316
/dev/sda2 filesystem ntfs - - 25G - 6484E7B984E78BBC
/dev/sda1 partition - - 07 500M /dev/sda -
/dev/sda2 partition - - 07 25G /dev/sda -
/dev/sda device - - - 25G - -

Note: Primary Partition of the above VM is /dev/sda2

Steps to fix Invalid template file

SolusVM cannot read the template without a proper name.

The steps to follow for fixing invalid template file is given below:

1.  First we have to rename the template in both Master and Slave server using the following command:

# mv /home/solusvm/kvm/template/windows-2016-server.gz /home/solusvm/kvm/template/windows-2016-server-r2-custom-x86_64-gen1-v1.gz

2. After that we have to update the renamed template on the template settings page.

Here the source VM primary partition is 2, So the Partition # Resize value should be 2 for this template.

Note: Partition #resize parameter will vary for each template and it depends upon how the source VM configured.

We have to ensure the new VPS disk size is larger than the Source VPS disk size that is used for creating the custom template.

[Need assistance? We can help you]

Conclusion

In short, we saw how our Support Engineers fix SolusVM ‘No bootable device’ error for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF