Re: Double checking grub-install -- [SOLVED]

2008-08-03 Thread William Case
For those who helped.

On Thu, 2008-07-03 at 13:58 -0400, William Case wrote:
> Hi Tim and others who may have been watching this thread.
> 
[snip]
> 
> So the answer must be grub is switching video modes.
> I wonder if I should report this as a Fedora bug against grub ?

I bought a new Samsung LCD display, plugged it in as a DVI.  Double grub
splash screen went away.

That's that.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- LAST POSSSSSSS

2008-07-03 Thread William Case
On Fri, 2008-07-04 at 11:31 +0930, Tim wrote:
> William Case stands high up on the bridge, puts his trumpet to his lips,
> and plays the last post  taaah taah thhh:
> 
> > So the answer must be grub is switching video modes.
> > I wonder if I should report this as a Fedora bug against grub ?
> 
> Well, if it is switching video modes, it probably needs to do so.  I
> wouldn't call that a bug.
> 
One of the posts in this thread suggested that grub should be able to
start with the correct mode  -- not start then switch.  But... what do I
know?

> If the blanking is your monitor blacking out while it resyncs, that's
> also an expected behaviour.
> 

Yes.  If it hasn't selected the right mode in the first place.

> Just checking the obvious, but does your grub.conf file have two
> splashimage commands?  

No -- only one splashimage.

> I don't recall if you've shown us the file.

Yes, I have shown it a couple of times.  Most recently yesterday, July
2, in response to Michael Schwendt.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- LAST POST

2008-07-03 Thread Tim
William Case stands high up on the bridge, puts his trumpet to his lips,
and plays the last post  taaah taah thhh:

> So the answer must be grub is switching video modes.
> I wonder if I should report this as a Fedora bug against grub ?

Well, if it is switching video modes, it probably needs to do so.  I
wouldn't call that a bug.

If the blanking is your monitor blacking out while it resyncs, that's
also an expected behaviour.

Just checking the obvious, but does your grub.conf file have two
splashimage commands?  I don't recall if you've shown us the file.

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.9-76.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- LAST POST

2008-07-03 Thread William Case
Hi Tim and others who may have been watching this thread.

On Thu, 2008-07-03 at 20:22 +0930, Tim wrote:
> On Thu, 2008-07-03 at 00:35 -0400, William Case wrote:
> > Perhaps I am being just a bit stubborn, but I wanted to learn how to
> > diagnose the problem first, not just write something over top of it.
> 
> Understanding what's going on is fine, and good.  I don't discount the
> importance of it.
> 
> The solution for a duff MBR is to rewrite the MBR with what you want.
> You don't uninstall an unwanted bootloader, you put another boot record
> (that you want) over the top.
> 
Messed around a bit more; but the final outcome was the double
splashimages continue:

1) I ran "fixmbr" from my WindowsXP istallation/rescue disk.
in case there was some ghost of something left over from BootMagic.
2) then, I ran from my Fedora installation/rescue disk
on the rescue command line:
grub
> root (hd1,4)
> setup (hd0)
> quit
Everything grub-like installed fine.

So the answer must be grub is switching video modes.
I wonder if I should report this as a Fedora bug against grub ?

I seem to be the only one with this issue -- and it is not a major
issue, just something I was hoping to clean up.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-03 Thread Tim
On Thu, 2008-07-03 at 00:35 -0400, William Case wrote:
> Perhaps I am being just a bit stubborn, but I wanted to learn how to
> diagnose the problem first, not just write something over top of it.

Understanding what's going on is fine, and good.  I don't discount the
importance of it.

The solution for a duff MBR is to rewrite the MBR with what you want.
You don't uninstall an unwanted bootloader, you put another boot record
(that you want) over the top.

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.9-76.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi Tim;

On Thu, 2008-07-03 at 13:28 +0930, Tim wrote:
> On Wed, 2008-07-02 at 10:43 -0400, William Case wrote:
> > If it is, how do I remove it (from sdb -- I presume)?
> 
> Extra stuff shouldn't matter, if you configure the first thing to take
> over.
> 
> i.e. I can have ten discs in a box, GRUB on all of them.  But if the
> first thing the BIOS does is read GRUB on the first drive, and that then
> loads the next stage properly, it doesn't matter what's on any other
> drive.
> 
> Did you do what I suggested, long ago, issuing manual GRUB commands to
> set up your system?  (i.e. NOT using grub-install script).
> 
No, I haven't yet.  I will in the morning.  I am not arguing with your
suggestion.  I, in fact, saved those instructions and went back to the
manual to make sure I thoroughly understood what I was doing.  I will
use them in the morning. 

If you remember, except for the double splashimage, my system is booting
as it should.  Rather than simply getting things to work, the challenge
to me over the last couple of days has been to fully understand what has
been happening.  I have managed to dig into the workings of the mbr,
grub stages, video modes much deeper than if I had simply left things as
a booting problem to fix.  As I have said, I have climbed the grub
learning curve in the past.  This time I wanted to take an active role
in actually undoing something or fixing something.
 
> grub
> root (hd.   (where /boot is)
> setup (hd   (where BIOS starts to boot from)
> quit(write the changes)
> 

Perhaps I am being just a bit stubborn, but I wanted to learn how to
diagnose the problem first, not just write something over top of it.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Tim
On Wed, 2008-07-02 at 10:43 -0400, William Case wrote:
> If it is, how do I remove it (from sdb -- I presume)?

Extra stuff shouldn't matter, if you configure the first thing to take
over.

i.e. I can have ten discs in a box, GRUB on all of them.  But if the
first thing the BIOS does is read GRUB on the first drive, and that then
loads the next stage properly, it doesn't matter what's on any other
drive.

Did you do what I suggested, long ago, issuing manual GRUB commands to
set up your system?  (i.e. NOT using grub-install script).

grub
root (hd.   (where /boot is)
setup (hd   (where BIOS starts to boot from)
quit(write the changes)

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi;

On Wed, 2008-07-02 at 14:33 -0400, William Case wrote:
> On Wed, 2008-07-02 at 13:15 -0500, Mikkel L. Ellertson wrote:
> > William Case wrote:
> > > Hi Mikkel;
> > > 
[snip]

Just to see what happens how would I go about safely removing the stage1
of Grub from /dev/sdb ??
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
On Wed, 2008-07-02 at 21:13 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 14:33:10 -0400, William Case wrote:
> 
> > the video mode problem seems to be with grub2 -- not
> > grub-0.97-33.fc9.x86_64
> 
> ?? Can't comment on grub2 yet as I've seen it only once or twice, I think,
> and it's a different code base. Your recent description of the symptoms
> sounds like the image data are loaded prior to setting a video mode.
> That's something to report to grub2 upstream, especially if Fedora 9's
> grub works for you.
> 
You got it backwards.  I was saying I don't have grub2, that is why I am
persisting with solving this problem.  Fedora 9's grub isn't working for
me!

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Michael Schwendt
On Wed, 02 Jul 2008 14:33:10 -0400, William Case wrote:

> the video mode problem seems to be with grub2 -- not
> grub-0.97-33.fc9.x86_64

?? Can't comment on grub2 yet as I've seen it only once or twice, I think,
and it's a different code base. Your recent description of the symptoms
sounds like the image data are loaded prior to setting a video mode.
That's something to report to grub2 upstream, especially if Fedora 9's
grub works for you.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi Michael;

On Wed, 2008-07-02 at 19:54 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 13:10:29 -0400, William Case wrote:
> 
> > > Can you hit keys to enter the first GRUB menu and stop it
> > > from booting any entry automatically?
> > No.  The image is incomplete in the first instance and disappers too
> > quickly.
> 
> Can you influence it by editing /boot/grub/grub.conf and
>  - disabling the splash image
commenting-out splashimage produces a grub basic menu without double
loading.

>  - disabling the hidden menu

commenting hiddenmenu or not, does not prevent the loading of a double
splashimage.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
On Wed, 2008-07-02 at 13:15 -0500, Mikkel L. Ellertson wrote:
> William Case wrote:
> > Hi Mikkel;
> > 

> >>
> > Yes.  And that was where I was going to leave it.  There was a suggestion
> > on the list that I should file a bug against grub.  I was about to do
> > that this morning and thought that I should check the first 512 bytes of
> > each disk just to be sure.
> > 
> > I checked and low and behold I found GRUB listed in the first block
> > (mbr ??) of both disks.  So I thought I should chase that down before I
> > filed an inappropriate bug report.
> > 
> This should not be a problem. Because the part of Grub on the MBR 
> does not display anything - it just loads the next part of Grub. 

I understand the difference between stage1, (stage1_5) and stage2.
> The 
> MBR on the second hard disk would not be used unless it was chained 
> to by another copy of Grub, 

That is the only possiblity left, I would think.  In all the searching I
have done, the video mode problem seems to be with grub2 -- not
grub-0.97-33.fc9.x86_64

> or if you tell the BIOS to boot from the 
> second hard drive instead of the first. (Or if you swap the drives, 
> or remove the first drive...)
> > 
> >> Didn't the problem go away when you turned off the splash screen, 
> >> and ran Grub in the text mode?
> >>
> > Yes, it does.  Which makes the problem a Fedora grub problem, not just a
> > grub problem -- I would think.
> > 
> Unless Fedora modified Grub to use splash images, it would be a Grub 
> problem. It may be specific to your hardware combination.
> 
I believe Fedora has substituted it's own splashimage, at least the
splash image has the Fedora colours and logo + containing the grub menu
selection rectangle .

> Mikkel
> -- 
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi Michael;

On Wed, 2008-07-02 at 20:10 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 13:56:20 -0400, William Case wrote:
> 
> > On Wed, 2008-07-02 at 19:35 +0200, Michael Schwendt wrote:
> > > On Wed, 02 Jul 2008 12:50:31 -0400, William Case wrote:
> > > 
> > > > I checked and low and behold I found GRUB listed in the first block
> > > > (mbr ??) of both disks.  So I thought I should chase that down before I
> > > > filed an inappropriate bug report.
> > > 
> > > Then what happens if you overwrite sda's mbr with NTLDR?
> > > 
> > > To me it is still not clear what your boot sequence looks like.
> > > 
> > > You say this is a dual-boot machine. Unless you prefer ntldr, you
> > > would store grub in sda. However, you say you store it in sdb.
> > > So, how exactly do you boot? Do you really chainload sdb from sda?
> > > 
> > Sorry Michael, I was trying to avoid re-telling a long tale of woe.
> > 
> > Here it is;
> 
> A long tale, but the details are missing.
> 
> To reinstall grub, you run "grub-install /dev/sda", right?

Yes that was the intent and that was what I used on the second attempt.
I might have mis-typed "grub-install /dev/sdb" the first time by
mistake.


> And what do /boot/grub/grub.conf and /boot/grub/device.map contain?

/boot/grub/grub.conf is as it should be:

#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,4)/grub/splash.xpm.gz
## hiddenmenu
title Fedora (2.6.25.6-55.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25.6-55.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25.6-55.fc9.x86_64.img
title Fedora (2.6.25-14.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25-14.fc9.x86_64.img
title WindowsXP sp3
rootnoverify (hd0,0)
chainloader +1

and /boot/grub/device.map is:

# this device map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb

> 
> > and everything seemed fine.  The intent was to install grub on /dev/sda
> > dual booting to sdb /boot. (BIOS loads in the natural hd0, hd1 order.)
> 
> Still, one question remains. With grub in the mbr of sda, how do
> you boot from sdb? Do you point grub.conf to your /boot partition?
Yes.

> Or perhaps you do some unusual chain-loading to the mbr of sdb?

Perhaps -- inadvertently.  That is what I am trying to ascertain and solve.
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Mikkel L. Ellertson

William Case wrote:

Hi Mikkel;

If I remember correctly from the first thread, you would get a brief 
flash on the screen with Fedora at the top of the screen, a short 
pause, and then the proper splash screen with Fedora on the bottom. 
This is a good indication that ether the video card or the monitor 
are changing modes to properly display the splash screen. I would 
suspect that it is the monitor changing modes to match the video output.



Yes.  And that was where I was going to leave.  There was a suggestion
on the list that I should file a bug against grub.  I was about to do
that this morning and thought that I should check the first 512 bytes of
each disk just to be sure.

I checked and low and behold I found GRUB listed in the first block
(mbr ??) of both disks.  So I thought I should chase that down before I
filed an inappropriate bug report.

This should not be a problem. Because the part of Grub on the MBR 
does not display anything - it just loads the next part of Grub. The 
MBR on the second hard disk would not be used unless it was chained 
to by another copy of Grub, or if you tell the BIOS to boot from the 
second hard drive instead of the first. (Or if you swap the drives, 
or remove the first drive...)


Didn't the problem go away when you turned off the splash screen, 
and ran Grub in the text mode?



Yes, it does.  Which makes the problem a Fedora grub problem, not just a
grub problem -- I would think.

Unless Fedora modified Grub to use splash images, it would be a Grub 
problem. It may be specific to your hardware combination.


Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Michael Schwendt
On Wed, 02 Jul 2008 13:56:20 -0400, William Case wrote:

> On Wed, 2008-07-02 at 19:35 +0200, Michael Schwendt wrote:
> > On Wed, 02 Jul 2008 12:50:31 -0400, William Case wrote:
> > 
> > > I checked and low and behold I found GRUB listed in the first block
> > > (mbr ??) of both disks.  So I thought I should chase that down before I
> > > filed an inappropriate bug report.
> > 
> > Then what happens if you overwrite sda's mbr with NTLDR?
> > 
> > To me it is still not clear what your boot sequence looks like.
> > 
> > You say this is a dual-boot machine. Unless you prefer ntldr, you
> > would store grub in sda. However, you say you store it in sdb.
> > So, how exactly do you boot? Do you really chainload sdb from sda?
> > 
> Sorry Michael, I was trying to avoid re-telling a long tale of woe.
> 
> Here it is;

A long tale, but the details are missing.

To reinstall grub, you run "grub-install /dev/sda", right?
And what do /boot/grub/grub.conf and /boot/grub/device.map contain?

> and everything seemed fine.  The intent was to install grub on /dev/sda
> dual booting to sdb /boot. (BIOS loads in the natural hd0, hd1 order.)

Still, one question remains. With grub in the mbr of sda, how do
you boot from sdb? Do you point grub.conf to your /boot partition?
Or perhaps you do some unusual chain-loading to the mbr of sdb?

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
On Wed, 2008-07-02 at 19:35 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 12:50:31 -0400, William Case wrote:
> 
> > I checked and low and behold I found GRUB listed in the first block
> > (mbr ??) of both disks.  So I thought I should chase that down before I
> > filed an inappropriate bug report.
> 
> Then what happens if you overwrite sda's mbr with NTLDR?
> 
> To me it is still not clear what your boot sequence looks like.
> 
> You say this is a dual-boot machine. Unless you prefer ntldr, you
> would store grub in sda. However, you say you store it in sdb.
> So, how exactly do you boot? Do you really chainload sdb from sda?
> 
Sorry Michael, I was trying to avoid re-telling a long tale of woe.

Here it is;

About four weeks ago my commercial boot loader (BootMagic) was blown
away by the WindowsXP sp3 download and install.  Fine and good: that
didn't surprise me -- it was an old version of BootMagic kept out of
stubbornness.  I had paid for it before I started using Linux so I was
going to use it.

I had climbed the grub learning curve a couple of years ago, so I am
fairly confident about using the grub shell or grub-install.

When BootMagic was blown away, I just installed grub.  During a first
attempt at a grub install I had an ooops! So I just re-installed grub
and everything seemed fine.  The intent was to install grub on /dev/sda
dual booting to sdb /boot. (BIOS loads in the natural hd0, hd1 order.)

Because it was an oops (typo) and not a confusion, I didn't pay
attention to the mistake, so now a month later I have forgotten exactly
what I did wrong.  Besides I thought I had recovered.

About a week ago (I don't re-boot very often), I noticed the Fedora
grub splash screen appear for 1/2 second or less, then go blank and
pause for a second or two.  Then a new splash screen appeared and
everything progressed fine from there.  This occurs definitely during
the grub stage of bootup. 

I didn't do anything then because I was going to fresh install Fedora 9
with a new grub.  Which I have done.  But the double splash screen still
appears.

To add to the confusion, I installed a new motherboard with a new and
different video chip three months ago.  Since I don't boot often, I
could have not noticed the double splashimage for some time.  This would
support the changing video mode suggestion.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Michael Schwendt
On Wed, 02 Jul 2008 13:10:29 -0400, William Case wrote:

> > Can you hit keys to enter the first GRUB menu and stop it
> > from booting any entry automatically?
> No.  The image is incomplete in the first instance and disappers too
> quickly.

Can you influence it by editing /boot/grub/grub.conf and
 - disabling the splash image
 - disabling the hidden menu
?

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Michael Schwendt
On Wed, 02 Jul 2008 12:50:31 -0400, William Case wrote:

> I checked and low and behold I found GRUB listed in the first block
> (mbr ??) of both disks.  So I thought I should chase that down before I
> filed an inappropriate bug report.

Then what happens if you overwrite sda's mbr with NTLDR?

To me it is still not clear what your boot sequence looks like.

You say this is a dual-boot machine. Unless you prefer ntldr, you
would store grub in sda. However, you say you store it in sdb.
So, how exactly do you boot? Do you really chainload sdb from sda?

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
On Wed, 2008-07-02 at 17:32 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 10:43:04 -0400, William Case wrote:
> 
> > Hi;
> > 
> > I have started this thread again as a new thread.  The previous "Double
> > checking grub-install ??" lead off in all kinds of plausible directions.
> > I think I now have more of a focus.
> > 
> > To recap:
> > 
> > I am getting a double Fedora grub splashimage at boot.
> 
> What exactly does that mean?
About a week ago (I don't re-boot very often), I noticed the Fedora
grub splash screen appear for 1/2 second or less, then go blank and
pause for a second or two.  Then a new splash screen appeared and
everything progressed fine from there.  This occurs definitely during
the grub stage of bootup. 

> Can you hit keys to enter the first GRUB menu and stop it
> from booting any entry automatically?
No.  The image is incomplete in the first instance and disappers too
quickly.

> 
> > I have a dual
> > boot system with WindowsXP on sda and Fedora 9 on sdb. 
> 
> And what does your boot sequence look like? NTLDR on sda?
> Do you chainload from sda into sdb?
> And what does your sdb GRUB config look like? Is it really
> GRUB in the MBR of sdb instead of the boot sector of your
> boot/root partition?
> 
> > I have some
> > experience with installing grub but made a typo type mistake during a
> > grub install a month ago and I think (??) that might have been the root
> > of my double splashimage problem.
> > 
> > To check the mbr, I ran on /dev/sda:
> > ~]# dd bs=512 count=1 if=/dev/sda | od -Ax -tx1z -v 
> > 
> > it returned:
> > ...
> > 000160 7c be 85 7d e8 40 00 eb 0e be 8a 7d e8 38 00 eb
> > >|[EMAIL PROTECTED]<
> 
> What does it print for the line at offset 0?
> 
[EMAIL PROTECTED] ~]# dd bs=512 count=1 if=/dev/sda | od -Ax -tx1z -v 
1+0 records in
1+0 records out
512 bytes (512 B) copied, 6.288e-05 s, 8.1 MB/s
00 eb 48 90 8e d0 bc 00 7c fb 8e d8 be 00 7c 8e c0
>.H.|.|..<
10 bf 00 06 b9 00 01 f3 a5 e9 00 8a be ae 07 b9 04
><
20 00 83 c6 10 80 3c 80 74 09 80 3c 00 75 5d e2 f1
>.<.t..<.u]..<


-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi Mikkel;

On Wed, 2008-07-02 at 10:54 -0500, Mikkel L. Ellertson wrote: 
> William Case wrote:
> > Hi;
> > 
> > I have started this thread again as a new thread.  The previous "Double
> > checking grub-install ??" lead off in all kinds of plausible directions.
> > I think I now have more of a focus.
> > 
> > To recap:
> > 
> > I am getting a double Fedora grub splashimage at boot.  I have a dual
> > boot system with WindowsXP on sda and Fedora 9 on sdb.  I have some
> > experience with installing grub but made a typo type mistake during a
> > grub install a month ago and I think (??) that might have been the root
> > of my double splashimage problem.
> > 
> If I remember correctly from the first thread, you would get a brief 
> flash on the screen with Fedora at the top of the screen, a short 
> pause, and then the proper splash screen with Fedora on the bottom. 
> This is a good indication that ether the video card or the monitor 
> are changing modes to properly display the splash screen. I would 
> suspect that it is the monitor changing modes to match the video output.
> 
Yes.  And that was where I was going to leave.  There was a suggestion
on the list that I should file a bug against grub.  I was about to do
that this morning and thought that I should check the first 512 bytes of
each disk just to be sure.

I checked and low and behold I found GRUB listed in the first block
(mbr ??) of both disks.  So I thought I should chase that down before I
filed an inappropriate bug report.

> While it will not prove this isn't the problem, it would be 
> interesting to see what happens if you log into the GUI, and then 
> hit Ctrl-Alt-F1 and see if you get the same kind behavior.
> 
Ctrl-Alt-F1 gives me normal behaviour.  No pauses or anything but
straight to:
Fedora 9 (Sulphur)
kernel-2.6-etc. (tty1)

CASE login:


> Didn't the problem go away when you turned off the splash screen, 
> and ran Grub in the text mode?
> 
Yes, it does.  Which makes the problem a Fedora grub problem, not just a
grub problem -- I would think.

> Mikkel
> -- 
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Mikkel L. Ellertson

William Case wrote:

Hi;

I have started this thread again as a new thread.  The previous "Double
checking grub-install ??" lead off in all kinds of plausible directions.
I think I now have more of a focus.

To recap:

I am getting a double Fedora grub splashimage at boot.  I have a dual
boot system with WindowsXP on sda and Fedora 9 on sdb.  I have some
experience with installing grub but made a typo type mistake during a
grub install a month ago and I think (??) that might have been the root
of my double splashimage problem.

If I remember correctly from the first thread, you would get a brief 
flash on the screen with Fedora at the top of the screen, a short 
pause, and then the proper splash screen with Fedora on the bottom. 
This is a good indication that ether the video card or the monitor 
are changing modes to properly display the splash screen. I would 
suspect that it is the monitor changing modes to match the video output.


While it will not prove this isn't the problem, it would be 
interesting to see what happens if you log into the GUI, and then 
hit Ctrl-Alt-F1 and see if you get the same kind behavior.


Didn't the problem go away when you turned off the splash screen, 
and ran Grub in the text mode?


Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: Double checking grub-install -- revisited ??

2008-07-02 Thread Michael Schwendt
On Wed, 02 Jul 2008 10:43:04 -0400, William Case wrote:

> Hi;
> 
> I have started this thread again as a new thread.  The previous "Double
> checking grub-install ??" lead off in all kinds of plausible directions.
> I think I now have more of a focus.
> 
> To recap:
> 
> I am getting a double Fedora grub splashimage at boot.

What exactly does that mean?
Can you hit keys to enter the first GRUB menu and stop it
from booting any entry automatically?

> I have a dual
> boot system with WindowsXP on sda and Fedora 9 on sdb. 

And what does your boot sequence look like? NTLDR on sda?
Do you chainload from sda into sdb?
And what does your sdb GRUB config look like? Is it really
GRUB in the MBR of sdb instead of the boot sector of your
boot/root partition?

> I have some
> experience with installing grub but made a typo type mistake during a
> grub install a month ago and I think (??) that might have been the root
> of my double splashimage problem.
> 
> To check the mbr, I ran on /dev/sda:
> ~]# dd bs=512 count=1 if=/dev/sda | od -Ax -tx1z -v 
> 
> it returned:
> ...
> 000160 7c be 85 7d e8 40 00 eb 0e be 8a 7d e8 38 00 eb
> >|[EMAIL PROTECTED]<

What does it print for the line at offset 0?

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Double checking grub-install -- revisited ??

2008-07-02 Thread William Case
Hi;

I have started this thread again as a new thread.  The previous "Double
checking grub-install ??" lead off in all kinds of plausible directions.
I think I now have more of a focus.

To recap:

I am getting a double Fedora grub splashimage at boot.  I have a dual
boot system with WindowsXP on sda and Fedora 9 on sdb.  I have some
experience with installing grub but made a typo type mistake during a
grub install a month ago and I think (??) that might have been the root
of my double splashimage problem.

To check the mbr, I ran on /dev/sda:
~]# dd bs=512 count=1 if=/dev/sda | od -Ax -tx1z -v 

it returned:
...
000160 7c be 85 7d e8 40 00 eb 0e be 8a 7d e8 38 00 eb
>|[EMAIL PROTECTED]<
000170 06 be 94 7d e8 30 00 be 99 7d e8 2a 00 eb fe 47
>...}.0...}.*...G<
000180 52 55 42 20 00 47 65 6f 6d 00 48 61 72 64 20 44  >RUB .Geom.Hard
D<
000190 69 73 6b 00 52 65 61 64 00 20 45 72 72 6f 72 00  >isk.Read.
Error.<
0001a0 bb 01 00 b4 0e cd 10 ac 3c 00 75 f4 c3 00 00 00
><.u.<
...

[Notice the GRUB string on the second and third line and Error on the
fourth line]

Then, I ran on /dev/sdb:
]# dd bs=512 count=1 if=/dev/sdb | od -Ax -tx1z -v 

it returned:
...
000160 7c be 85 7d e8 40 00 eb 0e be 8a 7d e8 38 00 eb
>|[EMAIL PROTECTED]<
000170 06 be 94 7d e8 30 00 be 99 7d e8 2a 00 eb fe 47
>...}.0...}.*...G<
000180 52 55 42 20 00 47 65 6f 6d 00 48 61 72 64 20 44  >RUB .Geom.Hard
D<
000190 69 73 6b 00 52 65 61 64 00 20 45 72 72 6f 72 00  >isk.Read.
Error.<
0001a0 bb 01 00 b4 0e cd 10 ac 3c 00 75 f4 c3 00 00 00
><.u.<
...

[Notice the GRUB string on the second and third line as well, and Error
on the fourth line]

Could this double grub be the source of my problem ?
If it is, how do I remove it (from sdb -- I presume)?  

Others have suggested that the double splashimage is just a video mode
switch but then how do I account for the grub appearing on both mbr's

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-29 Thread William Case
Thank you D. Hugh Redelmeier;

On Sun, 2008-06-29 at 01:25 -0400, D. Hugh Redelmeier wrote:
> | From: William Case <[EMAIL PROTECTED]>
> 
> | 1) stage1 is one line that is installed on the mbr within the 64 bytes
> | or 512 bits that is reserved on the disk for booting purposes.
> 
> Boot records are 512 bytes.  The code must fit into about 440 bytes of 
> this.
> 
Yes, one should always double check each fact as one writes something.

And, the little lesson was nice as well.

However, I think the point of my quick description of the boot loading
process was to show responders to my original question that the grub
problem I had was a little deeper and more complex than the normal grub
screw-up.

So I am not too concerned about that small inaccuracy; most people who
actually tried to help me caught the point.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-29 Thread g

Tim wrote:

OOS?  I can't find a definition for that term that seems to fit.


lol.

please, lower case only. 'other operating system'. aka, msbsos.

you should be able to figure it out now.

i do not like or use it. oos helps me not think of it. :o)


--

tc,hago.

g
.

in a free world without fences, who needs gates.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-29 Thread Tim
On Sun, 2008-06-29 at 07:12 +, g wrote:
> interesting reading. if you can fully believe something written by
> users of oos.

OOS?  I can't find a definition for that term that seems to fit.

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-29 Thread g

D. Hugh Redelmeier wrote:

The Master Boot Record (MBR) is the first block on the hard drive.
http://en.wikipedia.org/wiki/Mbr is worth a read.


interesting reading. if you can fully believe something written by
users of oos.

i do not fully agree with calling calling sector 0 of track an lba block.

--

tc,hago.

g
.

in a free world without fences, who needs gates.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-28 Thread D. Hugh Redelmeier
| From: William Case <[EMAIL PROTECTED]>

| 1) stage1 is one line that is installed on the mbr within the 64 bytes
| or 512 bits that is reserved on the disk for booting purposes.

Boot records are 512 bytes.  The code must fit into about 440 bytes of 
this.

The Master Boot Record (MBR) is the first block on the hard drive.
http://en.wikipedia.org/wiki/Mbr is worth a read.

Each partition also has a boot record.

The good-old-fashioned code in the MBR looked for the first bootable
primary partition and booted the boot record from that.  "bootable" is
an attribute of a partition table entry that you can set by fdisk(8)
"a" command, for example.  This was the conventional way for switching
which OS to boot.

Note: this does not allow for booting from "logical" partitions.  The
extended partition's can be used -- I've sometimes put LILO or GRUB's
boot record there.

On some systems, boot loaders cannot reach as far into a large drive
as GRUB can.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread William Case
Hi Stan;

Lets step back a little bit.

On Thu, 2008-06-26 at 18:52 -0700, stan wrote: 
> William Case wrote:
> > Hi Tim;
> >
> > On Fri, 2008-06-27 at 07:35 +0930, Tim wrote: 
> >   
> >> On Thu, 2008-06-26 at 10:28 -0400, William Case wrote:
> >> 
> >>> When I first boot I get the Fedora grub splash screen/menu twice --
> >>> besides that everything else boots normally.
> >>>   
> This describes the behavior that occurs when there is a configfile entry 
> in the
> grub.conf file.  You don't have that? 
> 
> For instance, you keep your mbr on sda.  However, you have another boot 
> partition
> on sdb.  You can put the entry
> root(hd1,0)   # boot for second OS is first partition on second drive
> configfile /grub/menu.lst
> in grub.conf and it will bring up the second menu that you can then 
> select which
> kernel you want to boot on the other OS.
> 
As I understand it, and have used it for over two years, grub has three
parts or stages.

1) stage1 is one line that is installed on the mbr within the 64 bytes
or 512 bits that is reserved on the disk for booting purposes.  Stage1
has the sole function of directing grub to stage1_5 or the grub loader
which is stage2. Stage1 is not grub but only a short binary that directs
the harddisk to read the next stage.  The grub program is in stage2.

2) stage1_5 (stage 1.5) is a file that can reside on the first track
next to the mbr.  stage1_5 is used when the instructions of where to
boot from are more complex than can be handled by the small mbr.  In
that case stage1 directs grub (actually the controller of the harddisk)
to read stage1_5 which then directs grub to read stage2 wherever stage2
happens to be installed.

3) stage2 is a the binary executable that contains the actual boot
loading instructions.  Stage2 gets some of the details for how and what
to load from the grub.conf file.

It is common on a dual boot system, to read the mbr of the first
harddisk (first, second etc. is established by the BIOS setup) and then
be directed to the /boot directory of the second harddisk in order to
read stage2.  Stage2 reads the information contained in
the /boot/grub/grub.conf | menu.lst and proceeds to boot. When booting,
if the hiddenmenu has been commented out, grub shows one and only one
splashscreen with a menu.  For a dual boot with Windows as an option,
the menu gives the user the choice of the latest Linux kernel, the next
to latest kernel and/or to chainload Windows (Other).  Whichever is
selected (or the default), grub boots directly into that Operating
System.

My /boot/grub/grub.conf is as follows:
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,4)/grub/splash.xpm.gz
## hiddenmenu

title Fedora (2.6.25.6-55.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25.6-55.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25.6-55.fc9.x86_64.img

title Fedora (2.6.25-14.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25-14.fc9.x86_64.img

title WindowsXP sp3
rootnoverify (hd0,0)
chainloader +1

There is no reason why I should be having this menu flash once and
disappear, pause, then load so that I can make an OS choice.

As has been suggested here by others, it looks like one stage2 has
become entangled with a second stage2.  I cannot find a second stage2. I
have used 'locate', 'find', and 'grub> find' to search both disks.  In
fact, root]# grub> find /boot/grub/grub.conf returns 'file not found'
error 15.  I have not yet used grub> find from the rescue disk command
line.  I am about to try that next to see what it can tell me.

And, in fact, in the past, if I let anaconda automagically install the
grub setup, it gave me exactly that: stage1 on the sda mbr and stage2
in /boot of sdb. It should have done that when I installed F9, yet
somehow grub remained entangled with an extra stage2.


-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread stan

William Case wrote:

Hi Tim;

On Fri, 2008-06-27 at 07:35 +0930, Tim wrote: 
  

On Thu, 2008-06-26 at 10:28 -0400, William Case wrote:


When I first boot I get the Fedora grub splash screen/menu twice --
besides that everything else boots normally.
  
This describes the behavior that occurs when there is a configfile entry 
in the
grub.conf file.  You don't have that? 

For instance, you keep your mbr on sda.  However, you have another boot 
partition

on sdb.  You can put the entry
root(hd1,0)   # boot for second OS is first partition on second drive
configfile /grub/menu.lst
in grub.conf and it will bring up the second menu that you can then 
select which

kernel you want to boot on the other OS.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread William Case
Hi Tim;

On Fri, 2008-06-27 at 07:35 +0930, Tim wrote: 
> On Thu, 2008-06-26 at 10:28 -0400, William Case wrote:
> > When I first boot I get the Fedora grub splash screen/menu twice --
> > besides that everything else boots normally.
> 
> Sounds like you've installed GRUB, again, to a second location.  And,
> now, one chainloads the other, before the computer boots.
> 
> Computer relay racing...  Pass the baton...  ;-)
> 
Exactly -- but where and how do I eliminate it?

> I might guess that you've got a grub inside a grub directory.
> e.g. /boot/grub/grub/grub

I have double -- triple -- checked, and I can't find a second grub or
grub.conf anywhere.  I have searched both harddisks.  I do have
a /etc/grub.conf link and a grub2 /boot/efi but I moved both of those
aside by renaming *.BU.  That had no effect, I still get the double grub
flashscreen/menu.

> I avoided using the grub-install scripts, as they can make some
> unwarranted assumptions.

I will in the future.  

Sorry to keep at this, but I am stumped.  I don't want to risk
prematurely re-installing grub without discovering the cause of the
baton passing.  Who knows what I might mess up.  Remember, I did
re-install grub when I did a fresh install of F9 and that solved
nothing. 
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread Tim
On Thu, 2008-06-26 at 10:28 -0400, William Case wrote:
> When I first boot I get the Fedora grub splash screen/menu twice --
> besides that everything else boots normally.

Sounds like you've installed GRUB, again, to a second location.  And,
now, one chainloads the other, before the computer boots.

Computer relay racing...  Pass the baton...  ;-)

I might guess that you've got a grub inside a grub directory.
e.g. /boot/grub/grub/grub

I avoided using the grub-install scripts, as they can make some
unwarranted assumptions.

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread TNWestTex



William Case wrote:
> 
> Thanks for replying Tim;
> 
> On Thu, 2008-06-26 at 16:05 +0930, Tim wrote:
> 
> I was trying to avoid wasting peoples time with a long description.
> 
> When I first boot I get the Fedora grub splash screen/menu twice --
> besides that everything else boots normally.
> 
> About four weeks ago my commercial boot loader was blown away by the
> WindowsXP sp3 download and install.  Fine and good: that didn't surprise
> me.
> 
> I just installed grub.  During a first attempt at a grub install I had
> an ooops! So I just re-installed grub and everything seemed fine.
> Because it was an oops and not a confusion, I didn't pay attention to
> the mistake, so now a month later I have forgotten exactly what I did
> wrong.  Besides I thought I had recovered.
> 
> About a week ago (I don't re-boot very often), I noticed the Fedora
> grub splash screen appear for 1/2 second or less, then go blank and
> pause for a second or two.  Then a new splash screen appeared and
> everything progressed fine from there.  This occurs definitely during
> the grub stage of bootup. 
> 
> I didn't do anything then because I was going to fresh install Fedora 9
> with a new grub on the weekend.  Which I have done.  But the double
> splash screen still appears.
> 
> 

The double splash screen is normal with chaining multiple grub
installations.  The
short splashscreen is normal if the timeout parameter is not set or is set
to a small value.
Could you have a /boot on /dev/sda that is chaining to one on /dev/sdb? 
With 
a stanza in grub.conf like

title Other
rootnoverify (hd1)
chainloader +1

or 
title Other
rootnoverify (hd1,0)
chainloader +1

It is a clean way of handling multiple linux operating systems and letting
each handle its own 
boot and grub configuration.

Robert McBroom

-- 
View this message in context: 
http://www.nabble.com/Double-checking-grub-installtp18118813p18138085.html
Sent from the Fedora List mailing list archive at Nabble.com.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread g

William Case wrote:

I was trying to avoid wasting peoples time with a long description.


it can clear things up sometimes as they are becoming not. [excuse order
of comments. trying to reply as you have things written]


When I first boot I get the Fedora grub splash screen/menu twice --


as you mention below, twice, meaning that it appears, you select or let
it time out and boot, then it appears again, you select or let it time
out and boot to system. if so, then it sounds like you may have it
installed on both sda and sdb. possible, sda calls it up on sdb.
[i am only trying to be sure we are of full understand of this matter]

anyway, in my last post to you, i mentioned that from grub command you
presented, you where wanting to install to /dev/sdb. i stated that that
is ok, if bios was set to boot /dev/sdb, else if set to /dev/sda, bios
would not see loader on /dev/sdb, unless maybe if /dev/sdb was set as
active instead of /dev/sda. not sure, as i have never tried booting that
way.


About four weeks ago my commercial boot loader was blown away by the


so, this is what is calling grub on /dev/sdb. you do not need it and
may be better off if you just use grub on /dev/sda to select oos or
fedora. unless you have something that grub can not load.

if not, you can/should either follow tim's grub install using
 'grub ' or use single command as you posted. either way, you
can/should change install to /dev/sda and make changes to 'grub.conf'
and include oos.

m2c. ymmv.

--

tc,hago.

g
.

in a free world without fences, who needs gates.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-26 Thread William Case
Thanks for replying Tim;

On Thu, 2008-06-26 at 16:05 +0930, Tim wrote:
> On Wed, 2008-06-25 at 14:15 -0400, William Case wrote:
> > I have to run fixmbr on my WindowsXP harddisk (sda).  I assume this
> > use of fixmbr will blow away my grub.
> 
> It will change the master boot record to suit Windows.  If you'd
> previously put GRUB on there, you'd lose it.
> 
> I'm not sure that I see the point of running fixmbr, then doing
> something else to undo it.
> 
I was trying to avoid wasting peoples time with a long description.

When I first boot I get the Fedora grub splash screen/menu twice --
besides that everything else boots normally.

About four weeks ago my commercial boot loader was blown away by the
WindowsXP sp3 download and install.  Fine and good: that didn't surprise
me.

I just installed grub.  During a first attempt at a grub install I had
an ooops! So I just re-installed grub and everything seemed fine.
Because it was an oops and not a confusion, I didn't pay attention to
the mistake, so now a month later I have forgotten exactly what I did
wrong.  Besides I thought I had recovered.

About a week ago (I don't re-boot very often), I noticed the Fedora
grub splash screen appear for 1/2 second or less, then go blank and
pause for a second or two.  Then a new splash screen appeared and
everything progressed fine from there.  This occurs definitely during
the grub stage of bootup. 

I didn't do anything then because I was going to fresh install Fedora 9
with a new grub on the weekend.  Which I have done.  But the double
splash screen still appears.



> > after running fixmbr I will go to my Fedora rescue disk and do:
> > 
In the hopes that I can eliminate this double boot.

> > grub-install --root-directory=/boot /dev/sdb
> > 
> > That is; I want grub stage1 on the mbr of sda while I want stage2 on
> > sdb /boot.
> 

I will use the grub command as you have given me to see if I can find
where the problem is.

> Shouldn't really be necessary to do anything other than rewrite the MBR
> (you could that by backing it up with dd before any changes, then
> restoring it again the same way).
> 
> Running fixmbr should only affect the drive that Windows is on.  So the
> only thing lost will be the MBR, the rest of GRUB will be unchanged
> (stage2 will still be where it was before).  
> 
The problem is, I think I have two stage2s.

> When I've restored GRUB, I've done it this way:
> 
[snip]
> 
> That's just four commands.  Here's a copy and paste of the process on my
> computer, though I'm doing everything on drive zero, since there's only
> one disc in this box.
> 
> [EMAIL PROTECTED] ~]$ su -
> Password: 
> [EMAIL PROTECTED] ~]# grub
> Probing devices to guess BIOS drives. This may take a long time.
> 
> GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
> 
>  [ Minimal BASH-like line editing is supported.  For the first word, TAB
>lists possible command completions.  Anywhere else TAB lists the possible
>completions of a device/filename.]
> 
> grub>  root (hd0,0) 
> root (hd0,1)
>  Filesystem type is ext2fs, partition type 0x83
> 
> grub>  setup (hd0)
>  setup (hd0)
>  Checking if "/boot/grub/stage1" exists... no
>  Checking if "/grub/stage1" exists... yes
>  Checking if "/grub/stage2" exists... yes
>  Checking if "/grub/e2fs_stage1_5" exists... yes
>  Running "embed /grub/e2fs_stage1_5 (hd0)"...  23 sectors are embedded.
> succeeded
>  Running "install /grub/stage1 (hd0) (hd0)1+23 p (hd0,0)/grub/stage2 
> /grub/grub.conf"... succeeded
> Done.
> 
> grub> quit
> quit
> [EMAIL PROTECTED] ~]# 
> 
> NB:  Tabbing didn't work when I tried it.  But it has in the past.  I'm
> not sure if that's down to the terminal on Fedora 9, or something else.
> 

> 
-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-25 Thread Tim
On Wed, 2008-06-25 at 14:15 -0400, William Case wrote:
> I have to run fixmbr on my WindowsXP harddisk (sda).  I assume this
> use of fixmbr will blow away my grub.

It will change the master boot record to suit Windows.  If you'd
previously put GRUB on there, you'd lose it.

I'm not sure that I see the point of running fixmbr, then doing
something else to undo it.

> after running fixmbr I will go to my Fedora rescue disk and do:
> 
> grub-install --root-directory=/boot /dev/sdb
> 
> That is; I want grub stage1 on the mbr of sda while I want stage2 on
> sdb /boot.

Shouldn't really be necessary to do anything other than rewrite the MBR
(you could that by backing it up with dd before any changes, then
restoring it again the same way).

Running fixmbr should only affect the drive that Windows is on.  So the
only thing lost will be the MBR, the rest of GRUB will be unchanged
(stage2 will still be where it was before).  

When I've restored GRUB, I've done it this way:

Get into a GRUB shell:
 Type the "grub" command.

Tell GRUB where the boot partition (GRUB's root) is:
 Type a "root (hd1,0)" command line (second drive, first partition).

Tell GRUB where to write the boot record to (the MBR the BIOS will boot):
 Type a "setup (hd0)" command line (first drive MBR).

Make GRUB actually do it:
 Type the "quit" command.

That's just four commands.  Here's a copy and paste of the process on my
computer, though I'm doing everything on drive zero, since there's only
one disc in this box.

[EMAIL PROTECTED] ~]$ su -
Password: 
[EMAIL PROTECTED] ~]# grub
Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]

grub>  root (hd0,0) 
root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83

grub>  setup (hd0)
 setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  23 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+23 p (hd0,0)/grub/stage2 
/grub/grub.conf"... succeeded
Done.

grub> quit
quit
[EMAIL PROTECTED] ~]# 

NB:  Tabbing didn't work when I tried it.  But it has in the past.  I'm
not sure if that's down to the terminal on Fedora 9, or something else.

-- 
[EMAIL PROTECTED] ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-25 Thread g

William Case wrote:


My Fedora version is listed with my signature.


so it is. did not notice before. guess i will have to start noting sigs
before i question versions. :o)


During a bugzilla discourse, a program or facility called 'firstaid' was


can not answer about that. next release of f9 i will venture into it.



smoothly as possible.


no harm in double checking.

as you asked,
  'grub-install --root-directory=/boot /dev/sdb'
will, as stated in 'man grub-install' and 'info grub-install', put grub on
'/dev/sdb' which is ok if you are using a boot loader with oos or have bios
to boot '/dev/sdb'.

when i had a '/dev/sda' crash, i used,
  'grub-install --root-directory=/boot /dev/sda'
to install to 1st drive, as that is how i have my bios set.

hthm.

--

tc,hago.

g
.

in a free world without fences, who needs gates.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-25 Thread William Case
Hi g;

On Wed, 2008-06-25 at 18:42 +, g wrote:
> William Case wrote:
> > I am looking for confirmation that this is a correct strategy and the
> > proper use of the grub-install command.
> 
> i have not used oos for several years and when i have had to reinstall grub,
> i have been using a mandriva install disk. i would imagine it is not all
> that different with fedora.
> 
I don't know much about mandriva, but the install disk does have rescue
mode which I am used to using.

> you did not mention what version, i would guess you are at f9, i am using f8
> and recall 'recover' being in selections at disk boot.
> 

My Fedora version is listed with my signature.

During a bugzilla discourse, a program or facility called 'firstaid' was
promised for F9 anaconda/rescue which would cover such eventualities but
if it exists, I can't find it.

> so it should be a simple matter of booting install disk, selecting 'recover'
> and follow prompts.

But it isn't.  In any case, I have spent time with grub in the past and
generally comfortable using it.  I asked here as a double check because
what I am planning will wipe out my boot loader for both of my systems
temporarily and I wanted to make sure that I can be up and running as
smoothly as possible.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: Double checking grub-install ??

2008-06-25 Thread g

William Case wrote:

I am looking for confirmation that this is a correct strategy and the
proper use of the grub-install command.


i have not used oos for several years and when i have had to reinstall grub,
i have been using a mandriva install disk. i would imagine it is not all
that different with fedora.

you did not mention what version, i would guess you are at f9, i am using f8
and recall 'recover' being in selections at disk boot.

so it should be a simple matter of booting install disk, selecting 'recover'
and follow prompts.

hth.


--

tc,hago.

g
.

in a free world without fences, who needs gates.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Double checking grub-install ??

2008-06-25 Thread William Case
Hi;

I have to run fixmbr on my WindowsXP harddisk (sda).  I assume this use
of fixmbr will blow away my grub.  So after running fixmbr I will go to
my Fedora rescue disk and do:

grub-install --root-directory=/boot /dev/sdb

That is; I want grub stage1 on the mbr of sda while I want stage2 on
sdb /boot.

I am looking for confirmation that this is a correct strategy and the
proper use of the grub-install command.

-- 
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list