[ubuntu-in] Unable to install GRUB using ubuntu 9.04 live CD

Narendra Diwate narendra.diwate at gmail.com
Tue Jun 1 18:46:07 BST 2010


@jatin: Excellent tutorial. Thanks.
Regards

Narendra Diwate




On Tue, Jun 1, 2010 at 17:02, Jkhatri <khatri.jatin at gmail.com> wrote:

>  Hi Ravi
>
> Hope following will help
> ----------------------------------------------------
> 1) Boot using your live CD :
> ----------------------------------------------------
> • Select " Try Ubuntu without any change to your computer "
> • Once you've login to desktop run Terminal ( Application > Accessories >
> Terminal )
> • Change to root, using this [enter *BOLD*  lines] command in Terminal:
>
> ubuntu at ubuntu:~$* sudo -i*
> root at ubuntu:~#
> -------------------------------------------------------------------
> 2)  Find Partition location of your Ubuntu:
> -----------------------------------------------------------------------
> root at ubuntu:~# *fdisk -l*
> Disk /dev/sda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x10031003
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
> /dev/sda2 6375 19457 105089197+ f W95 Ext'd (LBA)
> /dev/sda5 6375 11473 40957686 7 HPFS/NTFS
> /dev/sda6 11474 19457 64131448+ 83 Linux *<--- Here*
> ------------------------------------------------------------------------
> 3) Creat mount-point for ubuntu's partition
> ------------------------------------------------------------------------
>
> root at ubuntu:~# *mkdir /media/root*
> ------------------------------------------------------------------
> 4) Mount the partition using this line
> -------------------------------------------------------------
>
> root at ubuntu:~# *mount /dev/sda6 /media/root*
> ---------------------------------------------------------------
> 5) Confirm your root location by typing this line:
> --------------------------------------------------------------
>  oot at ubuntu:~#* ls /media/root*
> bin dev initrd.img lib32 media proc selinux tmp vmlinuz
> boot etc initrd.img.old lib64 mnt root srv usr vmlinuz.old
> cdrom home lib lost+found opt sbin sys var
>
>
> If those lines above appear, go to the step 6
> ----------------------------------------------------------------
> 6) proceed by installing GRUB2
> -----------------------------------------------------------
> root at ubuntu:~# *sudo grub-install --root-directory=/media/root /dev/sda*
> Installation finished. No error reported. This is the contents of the
> device map
> /media/root/boot/grub/device.map. Check if this is correct or not. If any
> of the lines is
> incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda
>
> ----------------------------------------
> 7) Reboot your system
> *------------------------------------------
> If in any case you do not see windows xp in GRUB menu do the following
> steps to resolve the issue *
>
> 1) Boot into your ubuntu
>
> 2) go to the terminal
>
> ( you just need to update you grub so that it can find the windows
> installation, this can be done by the following command )
>
> username at systemname:~$ *sudo update-grub2*
> [sudo] password for ubuntu:
> Generating grub.cfg ...
> Found Debian background: apollo.tga
> Found linux image: /boot/vmlinuz-2.6.31-15-generic
> Found initrd image: /boot/initrd.img-2.6.31-15-generic
> Found linux image: /boot/vmlinuz-2.6.31-14-generic
> Found initrd image: /boot/initrd.img-2.6.31-14-generic
> Found memtest86+ image: /boot/memtest86+.bin
> Found Windows xp (loader) on /dev/sda1
> done
>
> 3) try reboot again , now you will see windows xp in grub menu
>
>
>
> Regards
> --
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100601/331253ef/attachment-0001.htm 


More information about the ubuntu-in mailing list