grub rescure

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

grub rescure

Postby ahmedanv on Fri Nov 23, 2012 2:30 pm

i have installed linux mint newly....along with win 7

no wht problem is that when i restarted my laptop i got

error: no such partition
grub rescue>



i tried to boot is with my live linux mint cd along with the commands from the following site

http://askubuntu.com/questions/143667/b ... rub-rescue

Re-install your GRUB.

1.

Boot using a live cd of ubuntu.
2.

Open a terminal and run the command
sudo fdisk -l
It lists the complete partition table of the hard disk. In there, identify which partition you have got your linux installed on. You can identify it using the drive size you had allocated for it and looking at the last column of the output which will be extended or Linux for all of your linux partitions. The partition will most probably be something like /dev/sda5 or something. Remember this partition.
3.

Create a temporary folder in your home directory (Note: You can make the temporary folder anywhere you want. I’m using the home folder just for the sake of explanation). I’m calling it temp for now. So that temp folder’s path will be/home/ubuntu/temp`.
4.

Mount your linux partition there. That is, assuming that you found your linux partition to be /dev/sda5, you mount that at the temp folder by doing the following command

sudo mount /dev/sda5 /home/ubuntu/temp
5.

If you want to check whether you have mounted the correct partition, go to your home folder and open temp. You will be in the / directory. In there you will find home, in which your home folder’s name will be there. Once you’ve confirmed you have mounted the correct partition, do step 6.
6.

You have to install grub by showing the system where to read the data from the hard disk at the beginning. Don’t worry, just run the following command

sudo grub-install --root-directory=/home/ubuntu/temp /dev/sda

The /dev/sda corresponds to your hard disk name. Replace it by whatever the command sudo fdisk -l command showed you.
7.

You’re done. You may restart your system.


when i use the command
sudo mount /dev/sda5 /home/ubuntu/temp

i get "the mount is denied because of the NTFS volume is already exclusively opened the volume may be already mounted or another software may use it which could be identified for example y the help of the 'fuser' command"


pls can any tel me that the solution which i followed was correct or suggest me solution solve the problem ....
ahmedanv
Level 1
Level 1
 
Posts: 2
Joined: Fri Nov 23, 2012 2:09 pm

Linux Mint is funded by ads and donations.
 

Re: grub rescure

Postby usbtux on Fri Nov 23, 2012 2:55 pm

You need to remake the live usb then reinstall grub with following steps

Boot and run from Linux Live DVD/CD

from a terminal sudo os-prober, and look for the mint partition this should be the / partition (root)

mount it with sudo mount /dev/sdaX /mnt, replace X with actual root partition of your selection

reinstall grub with sudo grub-install --root-directory=/mnt /dev/sda

NB sda may be different in your case
http://goo.gl/DXKgM LinuxMint tutorials.
Running LinuxMint 17 Cinnamon/KDE/XFCE
http://goo.gl/WFu0u Installing Mint - the screen cast videos.
linuxcounter #368850
Image
User avatar
usbtux
Level 5
Level 5
 
Posts: 958
Joined: Tue Dec 28, 2010 10:37 am

Re: grub rescure

Postby ahmedanv on Fri Nov 23, 2012 9:19 pm

I AM ABLE TO SEE
/dev/sda1:windows recovery environment(loader):windows:chain
/dev/sda2:windows 7 (loader):wndows1:chain

i have installed linux mint along with win 7 now i am not able to open my win 7 also
ahmedanv
Level 1
Level 1
 
Posts: 2
Joined: Fri Nov 23, 2012 2:09 pm


Return to Installation & Boot

Who is online

Users browsing this forum: gold_finger and 13 guests