How to make a bootable hard disk image?
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?
thanks!
Quoted 5 lines · horseriver
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?
If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Just use -kernel (or possibly -initrd) parameter and pass the path and file name of your kernel image and you're good to go.
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Quoted 7 lines · Mulyadi Santosa
Quoted 5 lines · horseriver
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?
Quoted 5 lines
If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Just use -kernel (or possibly -initrd) parameter and pass the path and file name of your kernel image and you're good to go.
The path?
How to write the path? You mean the virtual machine can share physical hard disk with the host ,without its own hard disk image ?
Quoted 14 lines
Signature · 13 lines
-- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Quoted 11 lines · horseriver
Quoted 10 lines · Mulyadi Santosa
Quoted 5 lines · horseriver
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Quoted 6 lines
Quoted 2 lines
Just use -kernel (or possibly -initrd) parameter and pass the path and file name of your kernel image and you're good to go.
The path?
How to write the path? You mean the virtual machine can share physical hard disk with the host ,without its own hard disk image ?
assume your virtual disk image is in /tmp/guest.img.
Kernel is /tmp/kernel-image. Initrd is /tmp/initrd
Usually, I invoke it this way:
qemu -kernel /tmp/kernel-image -initrd /tmp/initrd -hda /tmp/guest.img
Hope you got the idea....
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Quoted 19 lines · Mulyadi Santosa
Quoted 11 lines · horseriver
Quoted 10 lines · Mulyadi Santosa
Quoted 5 lines · horseriver
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Quoted 6 lines
Quoted 2 lines
Just use -kernel (or possibly -initrd) parameter and pass the path and file name of your kernel image and you're good to go.
The path?
How to write the path? You mean the virtual machine can share physical hard disk with the host ,without its own hard disk image ?
Quoted 6 lines
assume your virtual disk image is in
/tmp/guest.img.Kernel is
/tmp/kernel-image. Initrd is/tmp/initrdUsually, I invoke it this way:
qemu -kernel/tmp/kernel-image-initrd/tmp/initrd-hda/tmp/guest.img
thanks!
how does the /tmp/kernel-image made ?
Quoted 17 lines
Hope you got the idea....
Signature · 12 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Quoted 28 lines · horseriver
Quoted 1 line · Mulyadi Santosa
On Thu, Jan 31, 2013 at 4:44 AM, horseriver <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines · Mulyadi Santosa
Quoted 1 line
On Thu, Jan 31, 2013 at 2:52 AM, horseriver <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
hi:)
I want to boot kernel from hard disk image ,because i am using a
virtual machine .
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 2 lines
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Just use -kernel (or possibly -initrd) parameter and pass the path and file name of your kernel image and you're good to go.
The path?
How to write the path? You mean the virtual machine can sharephysical
Quoted 6 lines
Quoted 1 line
hard disk with the host ,without its own hard disk image ?
assume your virtual disk image is in
/tmp/guest.img.Kernel is
/tmp/kernel-image. Initrd is/tmp/initrd
Quoted 7 lines
Quoted 2 lines
Usually, I invoke it this way:
qemu -kernel/tmp/kernel-image-initrd/tmp/initrd-hda/tmp/guest.imgthanks!
how does the/tmp/kernel-imagemade ?Really?
your bzImage is your kernel-image.
Quoted 24 lines
Quoted 11 lines
Hope you got the idea....
--
regards,Mulyadi Santosa
Freelance Linux trainer and consultantQuoted 7 lines
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 6 lines
Thank you Warm Regards Anuz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130131/3c7d3ba1/attachment-0001.html
Thanks!
If I just only want to make a bootable hard disk image ,how can I do?
thanks!
May I know how can I make the initrd image for a given kernel version in order to boot it using QEMU?
Quoted 80 lines · Anuz Pratap Singh Tomar
Quoted 29 lines · horseriver
Quoted 1 line · Mulyadi Santosa
On Thu, Jan 31, 2013 at 4:44 AM, horseriver <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines · Mulyadi Santosa
Quoted 1 line
On Thu, Jan 31, 2013 at 2:52 AM, horseriver <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
hi:)
I want to boot kernel from hard disk image ,because i am using
a virtual machine .
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?If you are using qemu or kvm, you don't need to put the kernel inside the virtual machine image.
Just use -kernel (or possibly -initrd) parameter and pass the path
and
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
file name of your kernel image and you're good to go.
The path?
How to write the path? You mean the virtual machine can sharephysical
Quoted 6 lines
Quoted 1 line
hard disk with the host ,without its own hard disk image ?
assume your virtual disk image is in
/tmp/guest.img.Kernel is
/tmp/kernel-image. Initrd is/tmp/initrdQuoted 7 lines
Quoted 2 lines
Usually, I invoke it this way:
qemu -kernel/tmp/kernel-image-initrd/tmp/initrd-hda/tmp/guest.imgthanks!
how does the/tmp/kernel-imagemade ?Really?
your bzImage is your kernel-image.
Quoted 19 lines
Quoted 11 lines
Hope you got the idea....
--
regards,Mulyadi Santosa
Freelance Linux trainer and consultantQuoted 7 lines
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesQuoted 5 lines
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies--
Thank you
Warm Regards
Anuz_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 6 lines
*Regards,* *Paul Davies C* vivafoss.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130131/b35ed67e/attachment.html
While on subject i would to ask a question :
Quoted 4 lines
Usually, I invoke it this way:
Quoted 1 line
qemu -kernel
/tmp/kernel-image-initrd/tmp/initrd-hda/tmp/guest.img
Where can we found the "guest.img", or more exactly what to put in it ? I suppose a distrubition ?
Is there any small distribution, maybe without the X client (graphical
interface)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130201/75f5786d/attachment.html
Quoted 7 lines · Karaoui mohamed lamine
While on subject i would to ask a question :
Quoted 3 lines
Quoted 2 lines
Usually, I invoke it this way:
qemu -kernel/tmp/kernel-image-initrd/tmp/initrd-hda/tmp/guest.img
Quoted 5 lines
Where can we found the "guest.img", or more exactly what to put in it ? I suppose a distrubition ?
Is there any small distribution, maybe without the X client (graphical interface)?
try http://fs.devloop.org.uk/ for ready to use raw image of popular Linux distros.
as for initrd, try mkinitrd command.....
This is slowly getting out of topic
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com