Take the 2-minute tour ×

I haven't ever know what grub is until I try this command to make my pen drive bootable.

cd /media/usbdisk/boot/grub

I am now stuck at grub command line. I try to boot from available kernel but kernel command is not available so I use xnu_kernel command but it goes to error:

Kernel doesn't contain suitable 32-architecture

Please help me to recover booting my hard-drive !

share|improve this question

closed as not a real question by enzotib, psusi, jrg Feb 24 '12 at 14:43


have you tried booting form a livecd , liveusb andrestore grub from there? –  Uri Herrera May 10 '11 at 4:14
Question doesn't make sense. cd just changes your current directory; it doesn't do anything, let alone muck with grub. –  psusi Feb 24 '12 at 14:35

3 Answers 3

Here are links from the Ubuntu-Wiki for repairing Grub:

For Grub2: Repair Grub2

For Grub: Repair Grub

Hope it helps!

share|improve this answer

Perhaps I'm misunderstanding the question, but it seems to me s/he is saying s/he is stuck at the Grub command line every boot and wants to get out. Wouldn't just removing the pen drive and a complete shutdown solve this problem? There's no way this could have damaged the BIOS boot partition on the hard disk, right?

share|improve this answer

with a live cd as root (sudo -i)

 sudo fdisk -l

 sudo mount /dev/sdaX/ mnt


Then reboot the machine normally and do this:

sudo update-grub
share|improve this answer
