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 08-20-2009, 11:53 AM   #1
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
Oh no...another grub problem


I've been working on this for days!

Grub went well for F10 but F11 not.

I did:
rescue->chroot /mnt/sysimage

grub-install --recheck /dev/sda ;;I tried also hd0

grub

grub>find /grub/stage1

hd3,0

my device table is :

hd0 /dev/sda
hd1 /dev/sdb
hd2 /dev/sdc
hd3 /dev/sdd

fdisk -l yields:

/dev/sdc1 boot=* ID=7 system = hpfs/ntfs (XP Pro)

/dev/sdd1 boot=* ID=83 system = Linux
/dev/sdd2 boot=* ID=8e system = Linux/LVM

so:
grub>root (hd3,0)
grub>setup (hd3) answers looked OK

Make no sense so I tried
grub>root (hd0,0)
grub setup (hd0) all answers were no

forever it has been

hd0 has contained XP Pro
hd1 has contained Fedora

what am I doing wrong???

There is a plethora of grub problems out there AND in Redhat Bugzilla

One post from an expert said that in the case of existing dual boot XP Professional, XP Prof would be destroyed.
 
Old 08-20-2009, 12:14 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,512

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
grub >root (hd3,0) #(partiton that /boot/grub is located on)
grub >setup (hd0) #(mbr of drive that bios boots first)
 
Old 08-20-2009, 12:17 PM   #3
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
Thanks! I think I tried that but I'll try it again right now!

Here is what lead to this problem...read carefully///appreciate your comment/help

___________________________________
F9 has been running great since it came out

I read that one should install F10 before F11 so I did install F10!

Everything went great.

(1) Then I tried to install the F11 iso dvd. After the "anaconda started"
message at the bottom of a blue screen, the screen went blank and occasionally
the message would appear:

"cannot display this mode 2:dvi-d"

Thinking the monitor had gone into power save, I hit many keys and moved the
mouse to no avail.

I gave up! BTW I had checked all media CDs for errors.

(2) then working under F10, a little message appeared from the lower right of
the screen asking if I wanted to upgrade to F11.

I accepted and again "cannot display this mode 2:dvi-d" on a black screen

after anaconda started on a blue screen. This time no ISO DVD F11. I've never seen

such an error message in 11 years (off and on) of using Linux.

HD Disk activity was showing on the disk activity light so I let it run all

night and part of today. I hit a bunch of keys and moved the mouse and the blue

screen returned saying all was done and restarting.

After restart, I seem to have F11 installed. I did a yum update and got some

more F11 updates.

On the grub screen, the only F11 kernel was the PAE kernel which I selected
and got:
 
Old 08-20-2009, 12:33 PM   #4
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
Thanks!
think I tried this before but I just tried it again!

Got the standard "good" message no,yes,yes that is repeated all over Linux web space

I rebooted and it went back to windows that has always ...or always has been...in sda0

F11 yum did something to me

Maybe the entries in grub.conf need to be switched to hd3,0

My existing Fedora 11 worked great and I need to get it going since it contains months of work!

I see many who reinstall F11 and have no success.
 
Old 08-20-2009, 08:16 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,512

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Grub >root (
what options does grub give you when the tab key is hit at this point?
Have your try hitting the esc key just before windows starts to boot up, grub menu may be hidden?
 
Old 08-20-2009, 08:19 PM   #6
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
THANKS! I'll try that in a about an hour!!!

Somthing whispered to me that the grub menu may be

whizzing on by beofre Win XP starts
 
Old 08-21-2009, 09:07 AM   #7
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
here is another person with the same problem

https://bugzilla.redhat.com/show_bug.cgi?id=494344
 
Old 08-21-2009, 09:31 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,512

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
I take it grub still isn't working. have you thought about installing lilo instead of grub and see if that works
 
Old 08-21-2009, 10:00 AM   #9
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
here is a reply I just got:
Date: Fri, 21 Aug 2009 09:30:34 +0200
From: wojtek@swiatek.name
To: fzielcke@z-51.de
CC: bug-grub@gnu.org
Subject: Re: writing MBRs & disk numbering



On Wed, Aug 19, 2009 at 13:06, Felix Zielcke <fzielcke@z-51.de> wrote:

Am Mittwoch, den 19.08.2009, 12:58 +0200 schrieb Wojtek SWIATEK:

>
> I have never used grub-install (only grub in much simpler
> configurations) and I will give it a try.
> Is there a way to instruct grub-install to use the configuration from
> another place than the current /boot/grub/grub.conf? In my case I
> would like it to use the info at /mnt/boot/grub/grub.conf as they
> cover the future setup (boot from a single internal drive). Maybe
> chroot to /mnt would be a way to go? (in that case /boot would indeed
> refer to the future /boot and grub-install could now take its install
> info from there)


grub.conf isn't read by grub-install or the grub shell.
But device.map is.
You can use grub-install --root-directory=/mnt so everything
under /mnt/boot/grub is used instead of /boot/grub


Just a note to say thaks - it worked very well on teh forst shot. I did a
# grub-install --root-directory=/mnt /dev/hda
after making sure that hd0 in device.map indeed points to /dev/hda which would become (and now became) the first and only disk in the system.

Thanks again for the help,
Wojtek
 
Old 08-21-2009, 12:36 PM   #10
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
I hit esc many time during the time (and then some) that XP Prof normally boots
 
Old 08-21-2009, 12:42 PM   #11
settntrenz
Member
 
Registered: Aug 2009
Location: Orlando, Florida
Distribution: RHEL, Ubuntu
Posts: 49

Rep: Reputation: 19
What file system are you using for /boot?

The change notes I linked to below indicate that ext4 is the default fs, but then warns grub won't support it.

https://fedoraproject.org/wiki/Fedor...t4_File_System
 
Old 08-21-2009, 01:22 PM   #12
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
in rescue mode...fdisk -l yields

/dev/sda1 boot=* ID=b system = W95 Fat32

/dev/sdb1 boot=* ID=b system = W95 Fat32

/dev/sdc1 boot=* ID=7 system = hpfs/ntfs (XP Pro)

/dev/sdd1 boot=* ID=83 system = Linux
/dev/sdd2 boot=* ID=8e system = Linux/LVM

ID codes are hex

I tried installing,etc everything on sdc1 since it is really
/dev/sda

my device table is :

hd0 /dev/sda
hd1 /dev/sdb
hd2 /dev/sdc
hd3 /dev/sdd
 
Old 08-21-2009, 04:07 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,512

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
maybe this could be the problem
http://www.linuxquestions.org/questi...prompt-748816/
 
Old 08-21-2009, 05:00 PM   #14
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
thanks for your efforts!!!

that could be the problem!!!

I've been using grub for years and it decides to go nuts

My Dell 330 W/S has never balked at which of the 2 IDE ports were used

for anything.

WOW! maybe the floppy drive needs to be changed!

The purpose of this drill is to keep the working F11 I worked for months on

It has Oracle 11g1 that works!

I chalk this mess up to carelessness of the Fedora creators.

No wonder Ubuntu is so popular!

Last edited by landonmkelsey; 08-21-2009 at 05:03 PM.
 
  


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
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

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

All times are GMT -5. The time now is 10:12 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