[!!] Install the GRUB boot loader on a hard disk
Mariano Jara Melagrani/g
mjaramelagrani at gmail.com
Sun May 22 21:04:11 UTC 2011
On Sun, 2011-05-22 at 17:20 -0300, Mariano Jara Melagrani/g wrote:
> On Mon, 2011-05-23 at 01:15 +0800, Goh Lip wrote:
<snip>
> > Boot up using the livecd
> I booted up using the alternate/install cd and went to "Rescue a broken
> system" and after a few settings questions (language, kb layout,
> location, locales, etc.) it asked me where I wanted to execute the
> shell. I chose the install environment and then got a Busybox prompt.
>
This time I chose "Execute a shell in /dev/sda1"
> > and we'll first determine the partition Ubuntu
> > is installed - if the whole disk, then it should be sda1, at terminal,
> > "sudo fdisk -l" to confirm.
<snip>
Confirmed this.
> > Then we mount the partition (assume sda1, otherwise amend accordingly)
> > "sudo mount /dev/sda1 /mnt"
<snip>
Done this.
> > then we install grub by
> > "sudo grub-install --root-directory=/mnt /dev/sda"
<snip>
It says "/bin/sh: grub-install: not found".
> >
> > Reboot normally.
> >
> > Good luck - Goh Lip
>
More information about the ubuntu-users
mailing list