<br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 11:05 PM, horseriver <span dir="ltr"><<a href="mailto:horserivers@gmail.com" target="_blank">horserivers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Jan 31, 2013 at 03:09:00PM +0700, Mulyadi Santosa wrote:<br>
> On Thu, Jan 31, 2013 at 4:44 AM, horseriver <<a href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>> wrote:<br>
> > On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:<br>
> >> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <<a href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>> wrote:<br>
> >> > hi:)<br>
> >> ><br>
> >> > I want to boot kernel from hard disk image ,because i am using a virtual machine .<br>
> >> > How to make this bootable image ?<br>
> >> > After I make it ,how do I put kernel Image into this image?<br>
> >><br>
> >> If you are using qemu or kvm, you don't need to put the kernel inside<br>
> >> the virtual machine image.<br>
> >><br>
> >> Just use -kernel (or possibly -initrd) parameter and pass the path and<br>
> >> file name of your kernel image and you're good to go.<br>
> ><br>
> > The path?<br>
> > How to write the path? You mean the virtual machine can share physical<br>
> > hard disk with the host ,without its own hard disk image ?<br>
><br>
> assume your virtual disk image is in /tmp/guest.img.<br>
><br>
> Kernel is /tmp/kernel-image. Initrd is /tmp/initrd<br>
><br>
> Usually, I invoke it this way:<br>
> qemu -kernel /tmp/kernel-image -initrd /tmp/initrd -hda /tmp/guest.img<br>
<br>
</div> thanks!<br>
how does the /tmp/kernel-image made ?<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>Really? <br>your bzImage is your kernel-image. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">
<br>
><br>
> Hope you got the idea....<br>
><br>
><br>
> --<br>
> regards,<br>
><br>
> Mulyadi Santosa<br>
> Freelance Linux trainer and consultant<br>
><br>
> blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
> training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thank you <br>Warm Regards<br>Anuz<br>