* How to make a bootable hard disk image?
@ 2013-01-30 19:52 horseriver
2013-01-31 5:51 ` Mulyadi Santosa
0 siblings, 1 reply; 10+ messages in thread
From: horseriver @ 2013-01-30 19:52 UTC (permalink / raw)
To: kernelnewbies
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!
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-31 5:51 ` Mulyadi Santosa
@ 2013-01-30 21:44 ` horseriver
2013-01-31 8:09 ` Mulyadi Santosa
0 siblings, 1 reply; 10+ messages in thread
From: horseriver @ 2013-01-30 21:44 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:
> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com> wrote:
> > 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.
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 ?
>
> --
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-31 8:09 ` Mulyadi Santosa
@ 2013-01-30 23:05 ` horseriver
2013-01-31 10:54 ` Anuz Pratap Singh Tomar
2013-02-01 8:07 ` Karaoui mohamed lamine
0 siblings, 2 replies; 10+ messages in thread
From: horseriver @ 2013-01-30 23:05 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jan 31, 2013 at 03:09:00PM +0700, Mulyadi Santosa wrote:
> On Thu, Jan 31, 2013 at 4:44 AM, horseriver <horserivers@gmail.com> wrote:
> > On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:
> >> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com> wrote:
> >> > 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.
> >
> > 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
thanks!
how does the /tmp/kernel-image made ?
>
> Hope you got the idea....
>
>
> --
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-31 10:54 ` Anuz Pratap Singh Tomar
@ 2013-01-31 2:20 ` horseriver
2013-01-31 11:37 ` Paul Davies C
1 sibling, 0 replies; 10+ messages in thread
From: horseriver @ 2013-01-31 2:20 UTC (permalink / raw)
To: kernelnewbies
Thanks!
If I just only want to make a bootable hard disk image ,how can I do?
thanks!
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-30 19:52 How to make a bootable hard disk image? horseriver
@ 2013-01-31 5:51 ` Mulyadi Santosa
2013-01-30 21:44 ` horseriver
0 siblings, 1 reply; 10+ messages in thread
From: Mulyadi Santosa @ 2013-01-31 5:51 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com> wrote:
> 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.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-30 21:44 ` horseriver
@ 2013-01-31 8:09 ` Mulyadi Santosa
2013-01-30 23:05 ` horseriver
0 siblings, 1 reply; 10+ messages in thread
From: Mulyadi Santosa @ 2013-01-31 8:09 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jan 31, 2013 at 4:44 AM, horseriver <horserivers@gmail.com> wrote:
> On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:
>> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com> wrote:
>> > 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.
>
> 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....
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-30 23:05 ` horseriver
@ 2013-01-31 10:54 ` Anuz Pratap Singh Tomar
2013-01-31 2:20 ` horseriver
2013-01-31 11:37 ` Paul Davies C
2013-02-01 8:07 ` Karaoui mohamed lamine
1 sibling, 2 replies; 10+ messages in thread
From: Anuz Pratap Singh Tomar @ 2013-01-31 10:54 UTC (permalink / raw)
To: kernelnewbies
On Wed, Jan 30, 2013 at 11:05 PM, horseriver <horserivers@gmail.com> wrote:
> On Thu, Jan 31, 2013 at 03:09:00PM +0700, Mulyadi Santosa wrote:
> > On Thu, Jan 31, 2013 at 4:44 AM, horseriver <horserivers@gmail.com>
> wrote:
> > > On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:
> > >> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com>
> wrote:
> > >> > 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.
> > >
> > > 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
>
> thanks!
> how does the /tmp/kernel-image made ?
>
> Really?
your bzImage is your kernel-image.
>
> >
> > Hope you got the idea....
> >
> >
> > --
> > 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-31 10:54 ` Anuz Pratap Singh Tomar
2013-01-31 2:20 ` horseriver
@ 2013-01-31 11:37 ` Paul Davies C
1 sibling, 0 replies; 10+ messages in thread
From: Paul Davies C @ 2013-01-31 11:37 UTC (permalink / raw)
To: kernelnewbies
May I know how can I make the initrd image for a given kernel version in
order to boot it using QEMU?
On Thu, Jan 31, 2013 at 4:24 PM, Anuz Pratap Singh Tomar <
chambilkethakur@gmail.com> wrote:
>
>
> On Wed, Jan 30, 2013 at 11:05 PM, horseriver <horserivers@gmail.com>wrote:
>
>> On Thu, Jan 31, 2013 at 03:09:00PM +0700, Mulyadi Santosa wrote:
>> > On Thu, Jan 31, 2013 at 4:44 AM, horseriver <horserivers@gmail.com>
>> wrote:
>> > > On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote:
>> > >> On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers@gmail.com>
>> wrote:
>> > >> > 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.
>> > >
>> > > 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
>>
>> thanks!
>> how does the /tmp/kernel-image made ?
>>
>> Really?
> your bzImage is your kernel-image.
>
>>
>> >
>> > Hope you got the idea....
>> >
>> >
>> > --
>> > 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
>>
>> _______________________________________________
>> 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
>
>
--
*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
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-01-30 23:05 ` horseriver
2013-01-31 10:54 ` Anuz Pratap Singh Tomar
@ 2013-02-01 8:07 ` Karaoui mohamed lamine
2013-02-04 5:15 ` Mulyadi Santosa
1 sibling, 1 reply; 10+ messages in thread
From: Karaoui mohamed lamine @ 2013-02-01 8:07 UTC (permalink / raw)
To: kernelnewbies
While on subject i would to ask a question :
> Usually, I invoke it this way:
> > 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* How to make a bootable hard disk image?
2013-02-01 8:07 ` Karaoui mohamed lamine
@ 2013-02-04 5:15 ` Mulyadi Santosa
0 siblings, 0 replies; 10+ messages in thread
From: Mulyadi Santosa @ 2013-02-04 5:15 UTC (permalink / raw)
To: kernelnewbies
On Fri, Feb 1, 2013 at 3:07 PM, Karaoui mohamed lamine
<moharaka@gmail.com> wrote:
> While on subject i would to ask a question :
>
>> > Usually, I invoke it this way:
>> > 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)?
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
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-02-04 5:15 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-30 19:52 How to make a bootable hard disk image? horseriver
2013-01-31 5:51 ` Mulyadi Santosa
2013-01-30 21:44 ` horseriver
2013-01-31 8:09 ` Mulyadi Santosa
2013-01-30 23:05 ` horseriver
2013-01-31 10:54 ` Anuz Pratap Singh Tomar
2013-01-31 2:20 ` horseriver
2013-01-31 11:37 ` Paul Davies C
2013-02-01 8:07 ` Karaoui mohamed lamine
2013-02-04 5:15 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).