Hi I was dual booting windows xp and ubuntu 12.4. Now I have installed windows 7. I would like to install grub in the root partition of ubuntu to use Easy BCD utility to add ubuntu 12.4 to the windows 7 boot loader. I followed the steps listed below and gets error message. Can someone help me with right step by step instruction.
Thanks. R.Dhanagopal ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x18851884 Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 61431807 30612480 7 HPFS/NTFS/exFAT /dev/sda3 61432621 312576704 125572042 f W95 Ext'd (LBA) /dev/sda5 129692808 197952929 34130061 7 HPFS/NTFS/exFAT /dev/sda6 197952993 266229179 34138093+ 7 HPFS/NTFS/exFAT /dev/sda7 266229243 270132974 1951866 82 Linux swap / Solaris /dev/sda8 270133038 285764219 7815591 83 Linux /dev/sda9 285764283 312576704 13406211 83 Linux /dev/sda10 61435904 129691647 34127872 7 HPFS/NTFS/exFAT Partition table entries are not in disk order ubuntu@ubuntu:~$ sudo -i root@ubuntu:~# sudo fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x18851884 Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 61431807 30612480 7 HPFS/NTFS/exFAT /dev/sda3 61432621 312576704 125572042 f W95 Ext'd (LBA) /dev/sda5 129692808 197952929 34130061 7 HPFS/NTFS/exFAT /dev/sda6 197952993 266229179 34138093+ 7 HPFS/NTFS/exFAT /dev/sda7 266229243 270132974 1951866 82 Linux swap / Solaris /dev/sda8 270133038 285764219 7815591 83 Linux /dev/sda9 285764283 312576704 13406211 83 Linux /dev/sda10 61435904 129691647 34127872 7 HPFS/NTFS/exFAT Partition table entries are not in disk order root@ubuntu:~# sudo mount /dev/sda8 /mnt mount: /dev/sda8 already mounted or /mnt busy mount: according to mtab, /dev/sda8 is already mounted on /mnt root@ubuntu:~# sudo mount /dev/sda8 /mnt/boot root@ubuntu:~# sudo mount --bind /dev /mnt/dev/ root@ubuntu:~# sudo chroot /mnt root@ubuntu:/# gurb-install /dev/sda8 No command 'gurb-install' found, did you mean: Command 'grub-install' from package 'lupin-support' (main) Command 'grub-install' from package 'grub-coreboot' (universe) Command 'grub-install' from package 'grub' (main) Command 'grub-install' from package 'grub-efi-ia32' (main) Command 'grub-install' from package 'grub-ieee1275' (universe) Command 'grub-install' from package 'grub-efi-amd64' (main) Command 'grub-install' from package 'grub-pc' (main) gurb-install: command not found root@ubuntu:/# sudo grub-install /dev/sda8 sudo: unable to resolve host ubuntu /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-setup: error: will not proceed with blocklists. root@ubuntu:/# _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
