Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8747303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:20:04+00:00 2026-06-13T12:20:04+00:00

In qemu/kvm, we can set arguments -kernel with path to kernel image, -initrd with

  • 0

In qemu/kvm, we can set arguments -kernel with path to kernel image, -initrd with path to init ram disk and -append with the cmdline for booting kernel. Will it be conflict with the linux kernel image included in the guest system? How can it skip the duplicate procedure of loading kernel image when guest is booted?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:20:05+00:00Added an answer on June 13, 2026 at 12:20 pm

    I am guessing that your are referring on your kernel vmlinuz image with the /boot/vmlinuz kernel image that your init ram disk has on.

    The boot process are a two (in general) step process.
    a. The initial boot (parameter -kernel) that use the qemu-kvm binary, is to load a kernel into ram and a initramfs disk.
    b. Then the kernel will try to identify the /boot/vmlinuz kernel on your initramfs and pivot (or switch_root) to your /boot/vmlinuz kernel inside your initramfs image.

    So there is no duplicate procedure and no conflict with the guest (or host) kernel image.

    If you want to try a new kernel image for your initramfs image, then i suggest to boot your new kernel image and chroot to your initramfs image (with bind mounts on /sys, /dev & /proc).

    You have to be sure that your “new” kernel image can read properly the initramfs.

    On append parameters – dont forget to add your kernel path of your initramfs image

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to install qemu, but I should intall the kvm first, and I
I would like to write and update a flat image like qemu-img. I have
a KVM VMs presented to be a qemu-kvm process. In some cases,if we want
I create a snapshot of my qcow2 image file like qemu-img -c before_update Server_sda_qcow2.img
here's the log: ……/android-sdk-mac_86/platforms/android-8/images//kernel-qemu: Interrupted system call qemu: could not load kernel '……/android-sdk-mac_86/platforms/android-8/images//kernel-qemu Please
I'm trying to use libvirt with virsh to manage my kvm/qemu vms. The problem
I downloaded the tar.gz from qemu.org. Now how can I compile the source code
I'm actually trying to emulate the linux kernel using Qemu and busybox. So far
I've got an ARM virtual machine running on top of KVM/QEMU, with a file
Can a new machine type be added for qemu-system-arm -M <MachineType> without having to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.