Trying to Load Ubuntu 11.04 onto HP Laptop. Failed at reboot
Peter Fitzpatrick
Peter at fitzpatrick.net.au
Wed Aug 24 09:53:36 UTC 2011
Hi Goh Lip
Have tried the commands you suggested. Failed at the insmod command as
follows;
List starts with machine just rebooted: Note that the machine currently has
the 10.04 LTS version installed (or partly so)
Error: out of disk
Grub rescue> set prefix=(hd0,1)/boot/grub
Grub rescue> insmod (hd0,1)/boot/grub/normal.mod
Error: out of disk
Grub rescue> normal
Unknown command 'normal'
Grub rescue> cat (hd0,1)/etc/lsb-release
Unknown command 'cat'
Grub rescue> search -f /boot/grub/grub.cfg
Unknown command 'search'
Grub rescue> search -f vmlinuz
Unknown command 'search'
Grub rescue> ls
(hd0) (hd0,1)
Grub rescue> set
Prefix=(hd0,1)/boot/grub
Root=hd0,1
Grub rescue>
Thanks for the assistance so far. Anything else I can try?
Peter
-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Goh Lip
Sent: Wednesday, 24 August 2011 12:03 AM
To: ubuntu-users at lists.ubuntu.com
Subject: Re: Trying to Load Ubuntu 11.04 onto HP Laptop. Failed at reboot
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.
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list