LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   I don't get the boot loader after installing ubuntu alongside windows 7 (https://www.linuxquestions.org/questions/ubuntu-63/i-dont-get-the-boot-loader-after-installing-ubuntu-alongside-windows-7-a-934611/)

redguy 03-19-2012 07:13 AM

yancek, Are you telling me that I need to insert the line of code that you provided into the cfg file? I so where in the cfg file do I put it?

yancek 03-19-2012 10:26 AM

Quote:

Are you telling me that I need to insert the line of code that you provided into the cfg file?
No. From my last post, open a Terminal and enter the line below:

Quote:

sudo gedit /etc/default/grub
Near the bottom of the file You will see this line:
Quote:

#GRUB_GFXMODE=640x480
Delete the hash mark (#) so it looks like this:
Quote:

GRUB_GFXMODE=640x480
As I said in my last post, this worked for me on the "input not supported" message which basically showed a black screen. Might work in your case? If not, you can always boot again and change it back.

tommcd 03-19-2012 04:21 PM

If removing the # from the #GRUB_GFXMODE=640x480 helps you to see the grub menu, then the 640x480 resolution can be changed to whatever resolution that you want as long as your graphics card supports that resolution.
Then just be sure to run sudo update-grub for the changes to take effect.

redguy 03-19-2012 04:31 PM

how to modify my cfg file
 
Quote:

Originally Posted by yancek (Post 4629843)
If you were able to boot into windows using that method, it means your Grub file is correct. You had an entry for windows in your /boot/grub/grub.cfg file so that was to be expected.

I'm not sure if this will work. I installed Ubuntu 11.10 as well as Mint12 several months ago and had a similar error. When I booted either, I would see an input not supported box floating on the monitor which is apparently not the same thing you see. After some googling, I found a site which suggested removing the hash mark (#) from before the following line in the /etc/default/grub file and then running sudo update-grub.
You will need to open gedit as root: sudo gedit /etc/default/grub.




I just did this on the Mint12 install and it got rid of the input not supported box and showed the Grub2 boot menu. Since your are getting a different message "signal out of range" I'm not sure if this will work.

Are you suggesting that I install that line of code in my cfg file? If so where would I install it?

Sorry but I couldn't find my post from this morning and your responses because I didn't realize it was on page 2. Again, I am new to this.

tommcd 03-19-2012 05:03 PM

Quote:

Originally Posted by redguy (Post 4630955)
Are you suggesting that I install that line of code in my cfg file? If so where would I install it?

The #GRUB_GFXMODE=640x480 line is in the file: /etc/default/grub file. The grub.cfg file that is in the /boot/grub/ directory is not supposed to be edited. Editing that file will not hurt anything though. However, any edits to /boot/grub/grub.cfg will be overwritten with each kernel update for Ubuntu; and kernel updates for Ubuntu happen fairly often.

So ...
Just remove the # mark in front of the #GRUB_GFXMODE=640x480 line in the /etc/default/grub file using sudo gedit /etc/default/grub or any text editor launched with sudo to give you admin privileges.
Then run sudo update-grub for the changes to take effect.
Then reboot and see if you get the grub menu when you boot the PC.

redguy 03-20-2012 05:51 AM

deleted

redguy 03-20-2012 08:28 AM

It Works!
 
Thanks gentlemen, the boot up menu works.
Is there a way to eliminate the other options on the menu (there are 6) The heading of the grub.cfg file states: DO NOT EDIT THIS FILE. I would like the menu to show only ubuntu and windows. thanks again for the help!

yancek 03-20-2012 10:00 AM

Here's a link to the ubuntu forums which explains several methods. Read through the options first so you understand and also make sure you get the right kernel.


http://ubuntuforums.org/showthread.php?t=1587462


All times are GMT -5. The time now is 05:58 PM.