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 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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies