title: Not able to boot kernel in qemu
body: <p>I need to setup the kernel debugging environment using qemu and gdb.</p>
  
  <pre><code>qemu-system-i386 -kernel linux/linux-3.9.4/arch/i386/boot/bzImage -hda disk.img -append "root=/dev/sda1" -s -S
  </code></pre>
  
  <p>I need to pass the kernel as argument. However, when I run this the start sequence fails saying "Cannot open root device."</p>
  
  <p>I also referred the documentation but there is none providing specific info. Is there any pre-tested hd image where the kernel arguments are known?</p>