I am using dual boot (Windows 7 and Ubuntu). When I boot the machine, this error displays on the screen:
grub rescue>
grub rescue> ls (hd0) (hd0,msdos6)...(hd0,msdos7)
(hd0,msdos6) (hd0,msdos7)--> are linux ext4 partitions
grub rescue> set root=(hd0,msdos6)
grub rescue>set prefix =(hdo,msdos6)/boot/grub
insmod (hd0,msdos6)/boot/grub/linux.mod
linux (hd0,msdos6)/ --->its not showing path for Vmlinuz root=/dev/sda6
By using live CD, I tried with these steps still it is in grub rescue.
root@ubuntu:~# mount /dev/sdb6 /mnt/
root@ubuntu:~#df -hT
/dev/sdb6 ext4 130G 219M 124G 1% /mnt
root@ubuntu:/# ls
bin dev initrd.img media proc run srv usr
boot etc lib mnt rofs sbin sys var
cdrom home lib64 opt root selinux tmp vmlinuz
root@ubuntu:/# cd boot/grub/
root@ubuntu:/boot/grub# ls
gfxblacklist.txt grubenv
root@ubuntu:/# umount /mnt/
umount: /mnt: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
root@ubuntu:~# update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)
What do I have to do? I am unable to understand. Please guide me to boot grub rescue.