From: horserivers@gmail.com (horseriver) Date: Thu, 31 Jan 2013 05:44:57 +0800 Subject: How to make a bootable hard disk image? In-Reply-To: References: <20130130195215.GA2586@debian.localdomain> Message-ID: <20130130214457.GB2586@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote: > On Thu, Jan 31, 2013 at 2:52 AM, horseriver 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