LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2012, 06:44 PM   #1
icet
LQ Newbie
 
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
Post Grub problem. Help!


I installed Linux Mint 13 Cinnamon (Maya) yesterday. I already have Windows XP installed. The first problem I faced was that the grub did not appear. Instead when I started the PC I saw "Frequency out of range - 90 K / 59 HZ" on the monitor and after a while Mint loaded. I posted this problem on the Mint forums and after much efforts and guesses with guidance from the forums I have been successful to bring grub bootloader to choose which OS to use. This was really a very tough problem to resolve. But one thing still remianed unresolved. That is when I select Windows XP it does not boot and the grub boot loader returns.


For your information, this is how I managed to bring the grub bootloader:


I had to switch from graphical display to console display. I did the following:


“Open a terminal and run:

Code: Select all
gksudo gedit /etc/default/grub


Find the following line of text, and remove the # in front of it:

Code: Select all
#GRUB_TERMINAL=console


Save and close the file and then run:

Code: Select all
sudo update-grub2


This should make GRUB be able to display again."



Now the grub is there but I can't boot into Windows XP. Is there some solution to this problem? I am very confused. I have hope that someone here would be able to guide me in this. Kindly help!
 
Old 10-08-2012, 09:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,352
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Apparently you aren't alone in encountering this issue.

This blog post should help:

http://blog.ffextensionguru.com/2012...er-in-mint-13/
 
Old 10-09-2012, 12:49 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks for posting your solution; coincidence that I just advised the same in another thread for Ubuntu 12.04. Any distro based on Ubuntu can suffer from it.

Can you please post the contents of /boot/grub/grub.cfg and the output of sudo fdisk -l. Please use code tags as shown below; type the below two words including the square brackets: [code][/code]

Next paste your content or output in between the code tags
[code]paste your stuff here[/code]

The result will be
Code:
your pasted stuff
 
Old 10-09-2012, 09:31 AM   #4
icet
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by Wim Sturkenboom View Post
Thanks for posting your solution; coincidence that I just advised the same in another thread for Ubuntu 12.04. Any distro based on Ubuntu can suffer from it.

Can you please post the contents of /boot/grub/grub.cfg and the output of sudo fdisk -l. Please use code tags as shown below; type the below two words including the square brackets: [code][/code]

Next paste your content or output in between the code tags
[code]paste your stuff here[/code]

The result will be
Code:
your pasted stuff


Hi Wim Sturkenboom,


I tried to paste the commands exactly as you informed like
Code:
/boot/grub/grub.cfg
and
Code:
sudo fdisk -l
. That did not work. Then I pasted the two commands without the code tags. "/boot/grub/grub.cfg" did not work. However "sudo fdisk -l" worked and below is the result:


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00220022

Device Boot Start End Blocks Id System
/dev/sda1 * 63 122881184 61440561 7 HPFS/NTFS/exFAT
/dev/sda2 122881185 312560639 94839727+ f W95 Ext'd (LBA)
/dev/sda5 122881248 245762369 61440561 e W95 FAT16 (LBA)
/dev/sda6 245766144 250066943 2150400 82 Linux swap / Solaris
/dev/sda7 250068992 312559615 31245312 83 Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
224 heads, 19 sectors/track, 36724 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe273e273

Device Boot Start End Blocks Id System
/dev/sdb1 19 156293087 78146534+ 7 HPFS/NTFS/exFAT
 
Old 10-09-2012, 11:26 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
The code tags are for the forum only; sorry for not being clear. And /boot/grub/grub.cfg is a (text) file, so you need to open it with an editor, copy the contents and paste here (between code tags ).

The specific part that we're interested in is the entry for Windows; mine is this
Code:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root E05A431C5A42EEBA
	chainloader +1
}
Your one should look about the same.

Last edited by Wim Sturkenboom; 10-09-2012 at 11:28 AM.
 
  


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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 11:56 PM
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 08:56 PM
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 02:55 PM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 10:42 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 09:13 PM


All times are GMT -5. The time now is 12:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration