DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • Linux Mint Debian Edition Makes Me Believe It’s Finally the Year of the Linux Desktop
  • Running Ansible From Windows Using Virtualization
  • Install Docker, Kubernetes and Minikube on Linux Mint
  • Java and Low Latency

Trending

  • Analyzing Techniques to Provision Access via IDAM Models During Emergency and Disaster Response
  • How to Merge HTML Documents in Java
  • Enhancing Business Decision-Making Through Advanced Data Visualization Techniques
  • Can You Run a MariaDB Cluster on a $150 Kubernetes Lab? I Gave It a Shot
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Installing Windows 8.1 guest on Linux Mint KVM

Installing Windows 8.1 guest on Linux Mint KVM

Running a Windows guest VM on Linux with KVM involves some patience and the right sequence of mounting and unmounting driver ISOs.

By 
Kevin Hooke user avatar
Kevin Hooke
·
Jan. 06, 16 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
4.2K Views

Join the DZone community and get the full member experience.

Join For Free

on my first attempt booting from the windows 8.1 dvd to install as a guest in kvm, i got the initial windows 8 splash screen. the dvd would spin for a few seconds but then spin down, and it would appear to be stuck at the logo screen, never reaching the spinning circle stage below the windows icon.

there’s numerous posts of windows 8 hanging at the logo screen; most of the conclusions seemed to be unless you didn’t have an error, just leave it until you get to the language selection dialog. i left mine about 10 minutes and got to the language dialog ok (i don’t remember a bare metal install taking that long before).

for my kvm vm settings, i left everything as defaults, apart from these changes based on numerous other posts on installing windows 8 and 10 on kvm:

  • processor : 1 cpu, and ‘copy host cpu configuration’

  • disk : virtio disk bus, raw format, cache mode = node (not default)

  • nic : virtio

  • video : vga

after selecting ‘custom install,’ the ‘where do you want to install windows’ dialog says it could not find any drives. this is where you mount the virtio iso in the dvd for the vm, and then continue.

i hadn’t added a cd drive with the virtio iso to my vm before starting the install, and it looks like virtual machine manager won’t let you add a device while the vm is running. luckily, following as answer on this post , you can add a device on the fly with this command:

virsh attach-disk vmname /dev/sr0 hdc --type cdrom

i then loaded the virtio driver from this location on the mounted iso:

next i got this rather cryptic error message:

"windows is unable to install to the selected location. error: 0x80300001."

apparently this is a common error regardless of whether you’re installing windows 8 in a vm or not. the quick explanation – unmount the virtio drivers iso, put back the install iso (or actual dvd) and refresh. select partition (or create one) and continue. see here .

after completing all the prompts during install, success, windows 8.1 virtualized using kvm on linux mint!

post install, to get the virtio network card drivers installed: mount the virtio iso disk, use the control panel/drivers to view devices, pick the network card, then point to the netkvm dir.

next challenge, getting better video drivers installed (taking a look at spice ).

Virtual Machine Linux Mint Linux (operating system)

Published at DZone with permission of Kevin Hooke, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Linux Mint Debian Edition Makes Me Believe It’s Finally the Year of the Linux Desktop
  • Running Ansible From Windows Using Virtualization
  • Install Docker, Kubernetes and Minikube on Linux Mint
  • Java and Low Latency

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!