Originally posted to AskUbuntu.com ...AskUbuntu has adopted a policy of closing questions about EOL  (End Of Life) versions. There's a vocal contingent to remove them as well.  To prevent possible loss of this popular question (342335 views to date),  am placing a revised version here.  --- docsalvagerThe classic system...Puppy Linux 5.2.8 (Lucid) based on Ubuntu 10.04 (Lucid Lynx)GRUB 2 boot loaderGRUB 2 puts a number of *.mod files (kernel modules) in /boot/grub. Deleting these files (thinking they were misplaced sound files) resulted in failure on reboot and the prompt grub rescue>.How to recover in this situation?
Recovering from 'grub rescue>' crash
ubuntu;grub2;boot loader;busybox
Recovering from a grub rescue crash ...grub rescue> does not support cd, cp or any other filesystem commands except its own variation of ls which is really a kind of find command.So first, had to find the partition with the /boot directory containing the vmlinuz and other boot image files...grub rescue>  ls  (hd0,4) (hd0,3) (hd0,2) (hd0,1)  grub rescue>  ls (hd0,4)/boot... some kind of 'not found' messagegrub rescue>  ls (hd0,3)/boot... some kind of 'not found' messagegrub rescue>  ls (hd0,2)/boot... grub ... initrd.img-2.6.32-33-generic ... vmlinuz-2.6.32-33-generic ls without arguments returns the four partitions on this system.ls (hd0,4)/boot does not find a /boot directory on partition (hd0,4).ls (hd0,3)/boot does not find a /boot directory on partition (hd0,3).ls (hd0,2)/boot finds a /boot directory on partition (hd0,2) and it contains a vmlinuz and other boot image files we want.To manually boot from the grub rescue> prompt ...grub rescue>  set root=(hd0,2)/boot  grub rescue>  insmod linux  grub rescue>  linux (hd0,2)/boot/vmlinuz-2.6.32-33-generic  grub rescue>  initrd (hd0,2)/boot/initrd.img-2.6.32-33-generic  grub rescue>  boot  Set root to use the /boot directory on partition (hd0,2).Load kernel module linux.Set that module to use the kernel image vmlinuz-2.6.32-33-generic.Set initrd(init RAM disk) to use the image initrd.img-2.6.32-33-generic.Boot Linux.This boots to a BusyBox commandline prompt which has all the basic filesystem commands (and then some!).Then could move the *.mod files back to the /boot/grub directory ...busybox>  cd /boot  busybox>  mv mod/* grubbusybox>  rebootSuccessful Reboot!See also ...stuck at grub rescue on boot, no bios, no live cd, ls returns hd0recovering from grub rescue crash (AskUbuntu)how to fix error unknown filesystem grub rescue (AskUbuntu)A nice Grub 2 ls command reference pageBusyBox (website)BusyBox online emulator