Re: Building and running kernel in a virtual machine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

> I don't have a separate system. So I have to make it, build the
> vmlinuz and then execute it using QEMU.
>
> Please help me how to build the kernel and execute it using QEMU. I
> guess the make would build the 'vmlinuz' only. Where to get the initrd
> from?

Easy. Once you get that bzImage, feed it to qemu e.g:
qemu -hda <your disk image> -kernel /path/to/bzImage -append
root=<partition inside disk image>

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux