Trying to Load Ubuntu 11.04 onto HP Laptop. Failed at reboot

Goh Lip g.lip at
Tue Aug 23 14:02:50 UTC 2011

On 08/23/2011 07:25 PM, Peter Fitzpatrick wrote:

> Installation runs through normally and concludes apparently OK. The HDD
> has been reformatted and using the default whole disk installation.
> When we restart we only get an error from GRUB as shown below.
> error: out of disk
> grub rescue>
> grub rescue> ls
> (hd0) (hd0,msdos1)

Peter, unless there are more serious problems in your installation, try 
as follows....

grub rescue> set prefix=(hd0,1)/boot/grub
grub rescue> insmod (hd0,1)/boot/grub/normal.mod
grub rescue> normal

[here you should see a 'normal' grub prompt "grub>" ]
Then .....
grub> set root=(hd0,1)
grub> linux (hd0,1)/vmlinuz root=/dev/sda1 ro
grub> initrd (hd0,1)/initrd.img
grub> boot

When (If) booted up, open a terminal and
sudo grub-install /dev/sda
sudo apt-get update
sudo apt-get upgrade

Regards and good luck - Goh Lip

ps: hopefully do don't need this...
if boot fails at grub-rescue mode, let us know the output...
grub rescue> cat (hd0,1)/etc/lsb-release
grub rescue> search -f /boot/grub/grub.cfg
grub rescue> search -f /vmlinuz

Life is a sexually transmitted disease with a 100% mortality rate.

More information about the ubuntu-users mailing list