LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2012, 02:50 AM   #1
jamendo10
LQ Newbie
 
Registered: May 2012
Posts: 8

Rep: Reputation: Disabled
stuck in grub rescue mode from a problem derived from nvidia drivers


Hello everybody,

I very new to the problem I got myself into. I recently upgraded to ubuntu 12.04. Worked well for a few days until graphics was running slow and i decided to shut off.
upon a reboot, I crashed into low graphics mode becuase the graphics card and other input decices could not be detected. I went into commandline mode via ctrl+alt+f1 and attempted to reinstall nvidia drivers. I ran into my second problem.

initramf-tools ....
E:sub-process ... error code (1)

It was having trouble writing / expanding files.

I ran:

sudo apt-get clean

But it wasn't enough.

In my attempt to partition space via
https://help.ubuntu.com/community/Cr...onAfterInstall

I got stuck into the grub rescue mode. I must have moved the boot commands else where.

I have managed to find my boot dir via:

grub rescue> ls (hd0, msdos1)/

$AttDef $badClus $Bitmap $Boot $Extend/ ...
$Volume ./ Boot/ boot/

I set my prefix:
prefix=(hd0, msdos1)/boot/grub
root=hd0, msdos1

When I ask for:

insmod normal
normal

I get:

error file not found
Unknown command 'normal'

Here is my screen:
http://db.tt/nMZfbSs2

Ive got myself in a bit of a mess.
Any help/guidence would be greatly appreciated.

Last edited by jamendo10; 05-09-2012 at 02:39 PM.
 
Old 05-09-2012, 10:49 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,075

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
If you haven't resolved this, I would suggest you google bootinfoscript, read the instructions download and run it and post the results.txt file here. It will show a lot of information about your boot files and their location and should help resolve this issue.
 
Old 05-09-2012, 11:07 PM   #3
jamendo10
LQ Newbie
 
Registered: May 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks for the tip. Im going work on it using the idea on this thread:

http://ubuntuforums.org/showthread.php?t=1914865
 
Old 05-10-2012, 12:56 AM   #4
jamendo10
LQ Newbie
 
Registered: May 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I downloaded bootinfoscript and added it to the liveCD, however, whenever i try to boot from the cd the rom runs for a few seconds and the im back at the grub rescue prompt.

I enabled BIOS to get the cd-rom boot and i also modified the boot order to allow the cd-room to run first.


:/ Any other sughestions??? Am I doing something wrong?
 
Old 05-10-2012, 11:16 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,075

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Quote:
I downloaded bootinfoscript and added it to the liveCD, however, whenever i try to boot from the cd the rom runs for a few seconds and the im back at the grub rescue prompt.
??Don't know what you are doing?? Use the Ubuntu CD, got to bootinfoscript link. Read the instructions. Download the script. Open a terminal and navigate to the directory in which the script was downloaded. You'll have to look for it. You need to extract the file, I think it is a tar.gz file so after extracting there will be a bootinfoscript you need to run. This is explained in the link in the Description box at the site. Since you are using the Ubuntu Live CD in this instance, you need to run the script. If you reboot, it's gone and you have to go through the whole process again. You can't add anything to the CD and reboot and still have it as it is read-only and is running in RAM.
 
Old 05-10-2012, 12:23 PM   #6
jamendo10
LQ Newbie
 
Registered: May 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
When i attempt to boot the ubuntu CD, it still crashes back to grub rescue.
In grub rescue, i do not have access to the terminal or any of my regular directories. Only the partitions. There is no way for me to run the bootinfoscript in grub rescue.
 
Old 05-10-2012, 02:57 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,075

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
If you have gone into your BIOS and set the CD drive to first boot priority and it still boots to the hard drive, you have another problem?? In an earlier post you said you downloaded the bootinfoscript. Using the Ubuntu CD as you could not boot the installed Ubuntu? Did you try to run the bootinfoscript at that time?

Quote:
I downloaded bootinfoscript and added it to the liveCD
Don't know what you mean by that? You needed to run the script right after downloading as explained above and at the download site.
If you can't boot the CD and it is first boot priority, the only thing I could suggest is to check the cables.
 
Old 05-10-2012, 03:18 PM   #8
jamendo10
LQ Newbie
 
Registered: May 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Don't know what you mean by that? You needed to run the script right after downloading as explained above and at the download site.

I created a live CD that included the ubuntu iso and the bootinfoscript. However, I also have a version of the liveCD with only ubuntu iso written. Neither boot after changing the boot order in BIOS.

Can the fact that i could not completely reinstall the nvidia drivers effect boot from the cd-rom???
 
Old 05-10-2012, 05:23 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,075

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Can you boot any CD from the computer? If you can't boot anything, it's likely a bad connection to the drive, dirty lens or a bad CD drive.

Quote:
Can the fact that i could not completely reinstall the nvidia drivers effect boot from the cd-rom???
I don't see how a failed install of video drives would impact booting??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 10:30 AM
[SOLVED] hp mini netbook stuck in grub rescue draygo81 Linux - Laptop and Netbook 13 10-10-2011 02:36 PM
Stuck on grub rescue and live usb not working venousra Linux - Laptop and Netbook 9 10-05-2011 08:06 AM
grub rescue> stuck . . . is grub2 only a Debian problem? jenaniston Debian 4 02-13-2010 05:39 AM
reinstalling grub in rescue mode ELconkestador Linux - Newbie 5 02-13-2005 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration