Grub installed into USB drive: After boot kernel not initializing

Jeshwanth Kumar N K Jeshu jeshkumar555 at gmail.com
Sun Nov 18 10:05:07 EST 2012


Hello All,

Today I was doing some testing, how to use grub2 to USB stick. I did how
this link install-grub2-on-usb-from-ubuntu-linux<http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/>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.

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.

Its booted and gave (initramfs) prompt, but didnt boot the kernel.

I have two questions here:
1. Why It stopped in initramfs ? why not boot kernel ?
2. I got below Error when installing grub2, so what I need to do ? I
partitioned USB with ext4 fs.

grub-setup: warn: Attempting to install GRUB to a partitionless disk
or to a partition.  This is a BAD idea.."



-- 
Regards
Jeshwanth Kumar N K
+91-7411483498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121118/075fd3e8/attachment.html 


More information about the Kernelnewbies mailing list