Error: hd0 cannot get C/H/S values. grub rescue >

8,346

You can use a Ubuntu Live-CD to access your files and you can also use it to repair your system:

  1. Boot from the live cd
  2. Install lilo (sudo apt-get install lilo)
  3. If it is installed run: sudo lilo -M /dev/XXX mbr where XXX is your harddrive. In most cases XXX is sda. This installs a new master boot record (mbr) into the specified device. For details look at the manpage of lilo. When you enter the command you probably will see some warnings. You can safely ignore them. Several years ago lilo was the default boot manager and the warnings are related to that.

Now your system should boot without any problems.

Share:
8,346

Related videos on Youtube

Michael Ecklund
Author by

Michael Ecklund

Hello, my name is Michael Ecklund, and I am an experienced Minnesota Web Designer. I've professionally built custom tailored websites for local people and businesses in the Minneapolis, Minnesota, United States area since 2008. As a professional Minnesota Website Developer, I understand what it takes to correctly and efficiently power your website using the WordPress* platform as a sleek and elegant choice for a content management system. WordPress powers well over 60 million websites. To this day, WordPress is powering 14.7% of the top million websites in the world, up from 8.5% and 22 out of every 100 new active domains in the United States alone, are running WordPress to power the place on the web, they call "home". I am a self-educated and self-motivated Minnesota WordPress Developer, always utilizing cutting-edge techniques to get the most out of your WordPress website. Saving you time and money, by allowing you to easily manage your own website, without the need of hiring an extra IT administrator or webmaster. Please feel free to browse through my WordPress Stack Exchange profile to view both my questions and my answers to other questions asked by community members like yourself.

Updated on September 18, 2022

Comments

  • Michael Ecklund
    Michael Ecklund about 1 year

    The power supply went out on our machine. We replaced the power supply.

    Now when we boot up, all we get is a blank screen with a blinking cursor.

    So we hold shift during boot up, and this error is displayed:

    error: hd0 cannot get C/H/S values.
    grub rescue>
    

    I typed ls and I see (hd0) and (fd0).

    Is this installation screwed? Do we need to re-install? If so, can we use an Ubuntu Live disc to retrieve some of our files from the HDD's?

    We are using: Ubuntu 12.04 LTS (32bit)