Results 1 to 10 of 10
Thread: grub rescue
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
03-15-2013 #1
- Join Date
- Mar 2013
- Posts
- 2
grub rescue
David
-
03-15-2013 #2
Hi and Welcome !
Which distro's did you install first? Have you tried to re-install GRUB using Installation CD/USB?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
-
03-15-2013 #3
- Join Date
- Mar 2013
- Posts
- 2
-
03-15-2013 #4
- Join Date
- Feb 2010
- Location
- Berlin, Germany
- Posts
- 17
Hey David,
did you follow devils casper advice to re-install grub via a Live-CD? Boot-up any Live-Linux (Ubuntu, Knoppix or Fedora might be the easiest, but choose whatever you like). Then you might want to run os-prober (possibly you have to install the package first as Live-distributions tend not to come with it by default) to check whether Ubuntu and Zorin are detected. Re-install GRUB via grub-install on your hard drive (See man page for more information). That would be sda (Not a partition like sda1, sda2...!) assuming that you have a SATA drive that is recognized as sda. If in doubt, you can check via:
Code:$ /sbin/fdisk -l
Code:# fdisk -l ## as ROOT
Good luck! Beware: Fiddling with partitions and hard drives can destroy your data!!!!!
-
03-15-2013 #5
- Join Date
- Mar 2005
- Location
- Belleville Michigan
- Posts
- 21
I would run spin rite on it.
Do you know if the hard drive is still good? Spin rite is good to fix hard drives and tell you about when to get a new one. It cost about $80 for it but it's very good at fixing hard drives. Or just keeping them good longer.
-Raymond Day
-
03-16-2013 #6
While I agree about spinrite, this doesn't sound anything like a hard drive issue.
@ OP: Just, as others have said, reinstall GRUB, use the latest live Ubuntu CD, then:
Switch to root:
Code:sudo su
Find out what drive is which:
Code:fdisk -l
ie.
sda2
could be a possible partition..
Then mount that partition in the live environment, first make sure all drives are unmounted, you can do this with:
Code:umount -a
Code:mount /dev/sda2 /mnt
After it's mounted, you can reinstall grub:
Code:grub-install --root-directory=/mnt/ /dev/sda
Hope that helps, let us know what happens..
EDIT:
If you don't know what's what in your partition layout, copy/paste the output of fdisk here and we can try and help you.
-
03-17-2013 #7
- Join Date
- Mar 2009
- Posts
- 41
hi devils casper
could it be that the kernel got updated but not the entry in grub?
you can see the kernel image in the /boot/ folder
the grub config file(grub.cfg) would be in the /boot/grub/ folder wherever that got installed
in there one should find something like:
menuentry "Ubuntu, with Linux 3.2.0-38-generic" or whatever kernel 12.10 uses
this entry should correspond with the image in the /boot/ folder
fen
-
03-18-2013 #8It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
-
03-18-2013 #9
- Join Date
- Dec 2007
- Location
- Alabama, USA
- Posts
- 30
There is a very simple way to solve this problem, download "super grub" and run it. It has never failed me yet on these kind of issues.
-
03-18-2013 #10
- Join Date
- Apr 2005
- Posts
- 1
Many Debian distros are a bit shaky with Grub and MBR. Use Boot-repair and follow these instructions: help.ubuntu.com/community/Boot-Repair. I'm quite sure it will resolve your problems