Error: hd0 cannot get C/H/S values. grub rescue >
You can use a Ubuntu Live-CD to access your files and you can also use it to repair your system:
- Boot from the live cd
- Install
lilo
(sudo apt-get install lilo
) - If it is installed run:
sudo lilo -M /dev/XXX mbr
whereXXX
is your harddrive. In most casesXXX
issda
. This installs a new master boot record (mbr) into the specified device. For details look at the manpage oflilo
. When you enter the command you probably will see some warnings. You can safely ignore them. Several years agolilo
was the default boot manager and the warnings are related to that.
Now your system should boot without any problems.
Related videos on Youtube
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, 2022Comments
-
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)