[ubuntu-in] Error in command grub-install

Shrikant Khanduri shrikant.khanduri at gmail.com
Fri Jun 4 18:25:23 BST 2010


Hi Ravi, Please Update if problem is solved.


On 4 June 2010 19:47, deepak kumar <deepakkumarnd at gmail.com> wrote:

> Hello Ravi.
> Try this
> 1.boot using live cd
> 2.mount your linux root partition in /mnt
>   $mount -t extX  /dev/sdaX  /mnt
> 3.now bind necessary system directories
>     $mount --bind /sys /mnt/sys
>     $mount --bind /dev /mnt/dev
>     $mount --bind /proc /mnt/proc
> 4.now chroot to /mnt
>    $chroot /mnt
> 5.now run update grub
>    $update-grub
> 6.now install grub
>    $grub-install /dev/sda
> 7.recheck installation
>    $grub-install --recheck /dev/sda
> 8.if no error message is found then exit
>     $exit
> 9.unmount all  the mounted devices
>   $umount /mnt/dev
>   $umount /mnt/sys
>   $umount /mnt/proc
> 10.now reboot
>   $reboot
>
>
>
> On Thu, Jun 3, 2010 at 10:44 AM, Jkhatri <khatri.jatin at gmail.com> wrote:
>
>>  On Wednesday 02 June 2010 09:33 PM, Ravi Joshi wrote:
>>
>>   Hi. i am trying to install Grub using Ubuntu9.04 Live CD.... i tried to
>> run grub-install command  but it gives me some error... following is my
>> terminal...
>>
>>
>> GRUB>
>>
>> and here when i run boot command it gives me ERROR 5. KERNEL MUST BE
>> BOOTED BEFORE GRUB (i forgot what exactly the eroor was.)  and now i can't
>> login even my windowsXp.
>>
>> so please help me..
>>
>> -Ravi Joshi
>>
>>
>> Hi Ravi
>>
>> will you try following ... and post the result here ??????
>>
>>
>>
>>   1. If you have Grub 2 set to boot without displaying the menu at all,
>> hold the SHIFT key down until the menu displays. (In Grub it was the ESC
>> key.)
>>   2. Press any key once the menu is displayed to 'freeze' it. Then arrow
>> to the kernel you want to boot.
>>   3. Press "e"
>>   4. Scroll to the end of the "linux /boot/vmlinuz...." line. If
>> displayed, remove "quiet" and/or "splash". Add the word "single" to the end
>> of the line.
>>   5. Press CTRL-X to boot to the Recovery menu.
>>
>>
>>
>>
>>
>> --
>>
>> Jatin Khatri
>>
>> Web www.khatrijatin.co.nr
>>
>> www.fedoraproject.org/wiki/Jatin
>>
>> Phone (+91) 98250 20393
>>
>> Save Paper, Save Environment.**
>> *(Plant at least one tree in your life and nurture it !!!)*
>>
>>
>>
>> --
>> ubuntu-in mailing list
>> ubuntu-in at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>
>>
>
>
> --
> deEp at K$
>
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100604/8e7c18ca/attachment.htm 


More information about the ubuntu-in mailing list