[ubuntu-in] Unable to install GRUB

arvind_khadri arvindkhadri at gmail.com
Fri Mar 6 12:55:13 GMT 2009


On Fri, 2009-03-06 at 12:00 +0000, ubuntu-in-request at lists.ubuntu.com
wrote:
> Send ubuntu-in mailing list submissions to
> 	ubuntu-in at lists.ubuntu.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
> or, via email, send a message with subject or body 'help' to
> 	ubuntu-in-request at lists.ubuntu.com
> 
> You can reach the person managing the list at
> 	ubuntu-in-owner at lists.ubuntu.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-in digest..."
> 
> 
> Today's Topics:
> 
>    1. Re:  Unable to install GRUB (Manish Sinha)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 06 Mar 2009 16:37:10 +0530
> From: Manish Sinha <manishsinha.tech at gmail.com>
> Subject: Re: [ubuntu-in] Unable to install GRUB
> To: Ubuntu India Local Community <ubuntu-in at lists.ubuntu.com>
> Message-ID: <49B103DE.8040006 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Ankur Lachhiramka wrote:
> > heyy no problem for that. There is a very standard process for this problem...
> > U gota insert the Ubuntu cd again and select the option "try Ubuntu
> > without making any change to ur pc" this will get in ubuntu in trail
> > mode.
> > then u gota start the terminal and then type some commands...
> >   
> The commands are:
> 
> 1) Try to mount the partition where you have installed ubuntu, hope you 
> know by its number, let it be sdax
> 
> $ sudo mount   /dev/sdax   /mnt
> 
> 2) chroot into this directory
> 
> $ sudo chroot /mnt
> 
> 3) Now open grub inside the chrooted environment
> 
> $ grub
> 
> 4) Try to find where GRUB is installed
> 
> grub> find  /boot/grub/stage2
> 
> 5) You would get some output like (hdx,y) which means GRUB is on hard 
> disk hdx and partition number y
> 
> Now type the two commands
> 
> grub> root  (hdx,y)
> 
> 
> grub> setup (hdx)
> 
> And its done.....
> 
> hdx should come to hd0 in most of the cases. Please ignore "$" and 
> "grub>" wen typing the commands, they are just shell and grub prompts
> 
> Regards,
> Manish
> 
> 
> 
> ------------------------------
> 
Hi, there is no need to do chroot, chroot is pretty dangerous.Follow the
steps from number 3, just do $sudo grub, then you get the grub
terminal.The steps from there remain same.A guide is there below too[1]
[1]
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows




More information about the ubuntu-in mailing list