LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-23-2012, 08:21 AM   #1
duma188
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Linux boot options not visible...!!!


Hello to all,

I recently installed windows xp and Ubuntu 11.10 in my HP Compaq nx6310 series laptop. But now,I am not able to view the boot options for Linux whereas whenever I start my computer, windows gets booted up by default. Kindly help me by finding out to find boot options for Linux.


Is my GRUB got corrupted ?



DUMA188
 
Old 02-23-2012, 08:58 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by duma188 View Post
I recently installed windows xp and Ubuntu 11.10 ...
in which order? - If you installed any Linux distro first, and then Windows, the Linux bootloader (usually GRUB) is overwritten by the Windows setup.

Quote:
Originally Posted by duma188 View Post
But now,I am not able to view the boot options for Linux whereas whenever I start my computer, windows gets booted up by default. Kindly help me by finding out to find boot options for Linux.

Is my GRUB got corrupted ?
Not necessarily. I've seen a concerning number of PCs recently where GRUB2 didn't set a valid video mode - with the result that you look at a blank screen during boot, your monitor may complain that the video signal is out of range, and after the usual 10s timeout, GRUB boots the default OS. I experienced that myself with Linux Mint 12 on three PCs, but I've heard about this occasionally happening with Ubuntu 11.x as well. Maybe any other distro that uses GRUB2.

The solution is to open the GRUB configuration file /etc/default/grub in an editor, and uncomment (remove the hash sign) the line
Code:
#GRUB_TERMINAL=console
You should also hide (comment) the lines
Code:
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
After that, you should see the GRUB menu at least in text mode. When you got that working, you can try to switch to a supported graphics mode by trying parameters for GRUB_GFXMODE, while hiding the GRUB_TERMINAL directive again.

To edit the GRUB config file, however, you may have to boot your PC from a live Linux CD or USB pen drive; alternatively you can install the Ext2IFS driver in Windows, which enables Windows to read and write Linux ext2/3 partitions (AFAIK it doesn't yet support ext4).

[X] Doc CPU
 
Old 02-23-2012, 10:38 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Use your ubuntu as a live cd install and in terminal give us the results from running command
Code:
sudo fdisk -l
#(-l is a small -L), then post the results

If you did install windows after ubuntu then it might be easier to reinstall ubuntu again. Remember windows aways wants to be first (first disk, first partition, and first distro install) and it does little bad things if it is not first.

Last edited by Larry Webb; 02-23-2012 at 10:45 AM.
 
Old 02-23-2012, 11:00 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
Make it easy on yourself: forget about the pretty splash-screens and just let it display the starting menu in text mode.
 
Old 02-23-2012, 11:09 AM   #5
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by sundialsvcs View Post
Make it easy on yourself: forget about the pretty splash-screens and just let it display the starting menu in text mode.
that's exactly what I'm restoring with what I described in my post above, because that functionality seems broken with many recent GRUB2 installations. They just blank the screen, so that you see neither the GRUB menu, nor the kernel startup messages. You're blindfolded until the default OS's login screen appears.

Whether that's intentional or a bug, I can't tell. But if it's intentional, it's a very evil feature.

[X] Doc CPU
 
  


Reply



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
cscope usage options not visible, but the search results are visible balemarthy Linux - Newbie 1 02-15-2012 02:46 PM
[SOLVED] Kernel boot options removed by fault, no boot options cdt Linux Mint 8 09-08-2011 11:25 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
linux install boot options sohmc Linux - General 1 05-25-2004 10:11 PM
Linux options for 486sx 173mb HD, does not boot from CD ajr Linux - Newbie 4 01-22-2004 10:22 PM

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

All times are GMT -5. The time now is 02:39 PM.

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