Hello All,<br><br>Today I was doing some testing, how to use grub2 to USB stick. I did how this link <a href="http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/">install-grub2-on-usb-from-ubuntu-linux</a> explains, but didnt do with ubuntu CD did it from my installed ubuntu. After that I copied vmlinuz, initrd, System.map and config to USB drive from my running ubuntu /boot directory. <br>
<br>Then booted the USB drive, I have got grub menu. Pressed "c", it took me to grub command line. Here I gave "linux /vmcoreinfo-3.0.0-26-generic-pae" and "initrd initrd.img-3.0.0-26-generic-pae". Then typed boot. <br>
<br>Its booted and gave (initramfs) prompt, but didnt boot the kernel. <br><br>I have two questions here:<br>1. Why It stopped in initramfs ? why not boot kernel ?<br>2. I got below Error when installing grub2, so what I need to do ? I partitioned USB with ext4 fs. <br>
<pre class="bbcodeblock" dir="ltr" style="margin:0px;padding:3px;border:1px inset;width:98%;height:66px;text-align:left;overflow:auto">grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.."</pre>
<br clear="all"><br>-- <br>Regards<br>Jeshwanth Kumar N K<br>+91-7411483498<br><br>