grub related problem in ubuntu
hi
recently i have installed window 7 in my laptop which already running ubuntu 10.4 . but after installation window , ubuntu not working . somewhere else i have read that by using following command we can set boot loader for linux >sudo grub >root (hd0,0) >setup (hd0) > quit but when i put >sudo grub , system say command not found . please help amandeep |
Did you install windows after Ubuntu? If it is the case then you will need to recover the Grub. Get Ubuntu Live cd, boot from it and then on the terminal use:
sudo grub-install /dev/sdX Where X is the name of your drive, probably sda. |
hi
i have given the command >sudo grub-install /dev/sda1 output comes out /usr/sbin/grub-probe: error: cannot find a device for /boot/grub(is /dev mounted ? ) no path or device is specified |
Where did you give the command? And you should not install in a partition. Rather install it in MBR of your HDD.
sudo grub-install /dev/sda. See the difference. Its sda NOT sda1. |
hi
by using >sudo grub-install /dev/sda i am getting the same error . |
Where are you giving this command? How do you do that? Can you give more information? And are you able to boot Ubuntu or are you using Live CD?
|
hi
i am not able to boot ubuntu because i have installed window . now i am using ubuntu live cd . and i am getting this errors pls help |
Ok. Can you see the HDD from the Live CD? What does sudo fdisk -l give?
|
All times are GMT -5. The time now is 06:27 AM. |