GRUB2 - Error Messages and their Solutions

This web-page is part of a larger site giving examples of how to install Windows+Ubuntu Linux operating systems 'dual boot' in a computer.  Illustrated Dual Boot HomePage
Saturday, December 26 2009
WARNING: GRUB2 is a work in progress and the information in this website is incomplete and may be wrong and/or out of date.


GRUB2_Errors
MENU

sh:grub>_

error: cannot get C/H/S values

error: invalid signature  - grub2 error - Ubuntu Web Forums






sh :grub>_

looks like this,

GNU GRUB version 1.96

[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device/file completions. ESC at any time exits. ]


sh :grub> _















I was given this after renaming my /boot/grub/grub.cfg to /boot/grub/happy.cfg instead.
This isn't really an error message, it's a Command Line Interface, ('CLI' for short).
Since GRUB couldn't find the /boot/grub/grub.cfg that it needs to give me my usual GRUB Menu.

Solution 1: Boot with CLI mode commands, CLI Mode Commands

Solution 2: Use CLI Mode command to get GRUB Menu
configfile (hd2,5)/boot/grub/happy.cfg




 error: cannot get C/H/S values

I was given this error message after trying to boot a USB flash memory stick when it was not plugged in.
Commands used were:
set root=(hd3)
chainloader +1

Solution(s):
If you have this error, first check to make sure you are trying to boot the right disk.
Is you disk plugged in (correctly)?
If it's a hard disk, does it sound like it is spinning up okay?
Is it recognized properly by the BIOS?

A nice new feature of GRUB2 is the ability to go back to the previous menu after pressing any key. The 'Esc' key would be the best choice.