Skip to contentSkip to conversation

boot linux2.6 in virtual machine

DISCUSSION horseriver 2 participants 2 messages Jan 28, 2013 – Jan 29, 2013

lore
Share & tools
lore

horseriver

author
#0 lore raw

hi:)

I have compiled a kernel of 2.6 version . there is an bzImage file generated and I have got a initrd.img file here.
Now ,I want to boot this kernel , Need I have a boot-loader ? Is GRUB right for this? Need I mount kernel image and initrd.img on /dev/XXX ? If need, when to do mount them?

thanks!

#1 lore raw
Quoted 5 lines · horseriver

hi:)

I have compiled a kernel of 2.6 version . there is an bzImage file
generated and I

Which version of 2.6? I am sure you are aware that the current kernel is 3.7.x and thus most of the newer application would support newer version and not older version

Quoted 2 lines

have got a initrd.img file here.

initramfs is newer ramdisk, why are you using an older format?

Quoted 3 lines

Now ,I want to boot this kernel , Need I have a boot-loader ? Is GRUB
right for this?

Ofcourse, how else would you boot?
Grub should do the work.

Quoted 3 lines

Need I mount kernel image and initrd.img on /dev/XXX ? If need, when to
do mount them?

you really need to read more about the intended virtual machine and the process itself. It seems you have not done enough research to ask such questions. I would highly suggest that you read either about KVM or Xen, though I would personally go for usermode linux.

Quoted 9 lines

thanks!

_______________________________________________
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/20130129/e0570272/attachment.html