Hi,
I was trying to reinstall grub in JULIA after installing windows which rewritten the bootloader with its own, I followed this:
http://community.linuxmint.com/tutorial/view/245.
But whenever I am trying to install it, I am getting this error:
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
I have /boot installed in a separate partition which is /dev/sda6 and / partition in /dev/sda1.
Here is the output of fdisk -l:
Code:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe8000000
Device Boot Start End Blocks Id System
/dev/sda1 1 6322 50780160 83 Linux
/dev/sda2 6323 31197 199799809 5 Extended
/dev/sda3 * 31198 33108 15350107+ 7 HPFS/NTFS
/dev/sda5 6323 30638 195311616 83 Linux
/dev/sda6 30638 30699 487424 83 Linux
/dev/sda7 30699 31197 3998720 82 Linux swap / Solaris
I tried to mount /dev/sda6 in /mnt and executed this command:
Code:
sudo grub-install --root-directory=/mnt /dev/sda
which resulted that error, kindly help.
How to resolve this? Where I went wrong?