[!!] Install the GRUB boot loader on a hard disk

Goh Lip g.lip at gmx.com
Sun May 22 17:15:49 UTC 2011


On 05/23/2011 12:43 AM, Mariano Jara Melagrani/g wrote:
>> There is an option to put your bootloader, and that should be "sda",
>> >  was
>> >  that done?
>> >

> No, I didn't select "do not install bootloader" or anything like that
> because it never asked such a question, not that I remember.

Alright, if the installation goes all okay but it's just the bootloader 
(grub) that's the issue, there's a way we can rectify this. However if 
there are other installation issues as well, then well...don't think we 
can do much.

So lets try to see if that's the case...

Boot up using the livecd 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.
Then we mount the partition (assume sda1, otherwise amend accordingly)
"sudo mount /dev/sda1 /mnt"
then we install grub by
"sudo grub-install --root-directory=/mnt /dev/sda"

Reboot normally.

Good luck - Goh Lip





More information about the ubuntu-users mailing list