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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-09-2012, 01:50 AM
|
#1
|
LQ Newbie
Registered: May 2012
Posts: 8
Rep:
|
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 01:39 PM.
|
|
|
05-09-2012, 09:49 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,774
|
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.
|
|
|
05-09-2012, 11:56 PM
|
#4
|
LQ Newbie
Registered: May 2012
Posts: 8
Original Poster
Rep:
|
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?
|
|
|
05-10-2012, 10:16 AM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,774
|
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.
|
|
|
05-10-2012, 11:23 AM
|
#6
|
LQ Newbie
Registered: May 2012
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
05-10-2012, 01:57 PM
|
#7
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,774
|
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.
|
|
|
05-10-2012, 02:18 PM
|
#8
|
LQ Newbie
Registered: May 2012
Posts: 8
Original Poster
Rep:
|
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???
|
|
|
05-10-2012, 04:23 PM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,774
|
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??
|
|
|
All times are GMT -5. The time now is 03:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|