How do I make an image bootable

0 votes
I have a Compute Engine custom image that has a bootable operating system on it but does not have the necessary Compute Engine drivers. How do I make such an image as bootable?
Oct 22, 2019 in GCP by anonymous
• 6,260 points
1,009 views

1 answer to this question.

0 votes

If you have a Compute Engine custom image that has a bootable operating system on it but does not have the necessary Compute Engine drivers or guest environment packages, you can use the image import tool to make that image bootable on Compute Engine.

Use the --source-image flag to specify a custom image to make bootable, instead of using the --source-file flag that specifies a new disk to import.

gcloud compute images import [IMAGE_NAME] \
    --source-image [SOURCE_IMAGE] \
    --os [OS]

where

  • [IMAGE_NAME] is the name of your destination image.

  • [SOURCE_IMAGE] is the name of your source image.

  • [OS] is the operating system of the SOURCE_IMAGE. It must be one of the following: centos-6, centos-7, debian-8, debian-9, rhel-6, rhel-7, ubuntu-1404, ubuntu-1604, windows-2008r2, windows-2012, windows-2012r2, windows-2016, windows-2019 or a BYOL-licensed image.

answered Oct 22, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

+7 votes
12 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18, 2019 in GCP by dodge123@yahoo.com
164,938 views
0 votes
1 answer

How do I create a Virtual Machine on GCP?

To create a VM instance: It is important you ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
1,275 views
0 votes
1 answer

How do I create a Google Cloud Platform (GCP) account?

In order to access the services provided ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
2,765 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
2,908 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,254 views
0 votes
1 answer

Creating password for a windows instance on GCP

Windows Server instances use password authentication instead ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,230 points
4,349 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP