Mailinglist Archive: opensuse (2805 mails)
| < Previous | Next > |
Re: [opensuse] GRUB issues at stage 1.5
- From: "Joe Morris (NTM)" <Joe_Morris@xxxxxxx>
- Date: Sun, 11 Feb 2007 12:16:41 +0800
- Message-id: <45CE98A9.4070401@xxxxxxx>
Christopher Dick wrote:
> If I try to boot Linux from the hard disk, it will
> flash "Grub loading stage 1.5..." and then the screen
> goes black and it just sits there.
>
First, your top posting has made this email much harder than necessary
to answer. It would be much better to answer after a question or
comment. So are you here saying you are sitting at the menu and
choosing Linux? IIANM, to get that far stage 1.5 has already run.
> What I meant by the two copies of stage2 was that
> fresh from an install, I ran the command:
>
> "md5sum /boot/grub/stage2 /usr/lib/grub/stage2" and it
> came back with two different hashes. I didn't think
> that was supposed to be the case.
>
joe@jmorris:~> md5sum /boot/grub/stage2 /usr/lib/grub/stage2
a53797beaba24cacef672beaad3fea09 /boot/grub/stage2
45438c473a200c0c1dba5d799cbd8186 /usr/lib/grub/stage2
Shows my output, and I am booting with no problems.
> If I select "Windows" from the GRUB menu, XP comes up
> just fine. Linux, however, just sits.
>
So you do make it to a menu? This is what I meant in the first
response. Either our vocab is different, or when you say you try to
boot linux, you mean from the menu entry. But it flashes booting stage
1.5 BEFORE it gets to the menu. It could not load a menu without 1.5,
which allows grub to read the file system it gets the menu from.
> It seems to be something similar to this:
>
> https://bugzilla.novell.com/show_bug.cgi?id=223773
>
> But I don't know if it is exactly or not...
>
St least you did look.
> My menu.lst looks like this (for this email, I am not
> including all the YAST-inserted comments):
>
> default 0
> timeout 8
> gfxmenu (hd0,5)/boot/message
>
This is where it gets the graphical screen. If you have that screen
with your menu, it is able to read your boot file system, which IIANM
means stage 1.5 has run.
> title openSUSE 10.2
> root (hd0,5)
> kernel /boot/vmlinuz-2.6.18-34-default
> root=/dev/sda
>
Assuming you did copy this somewhat closely, this is very wrong. First,
is your root file system on sda6? Do you have your boot directory as a
subdirectory of your root (/) partition? Assuming the above, your root
line is correct, then you should have at least;
kernel /boot/vmlinuz root=/dev/sda6 (and some options such as vga=0x31a
resume=/dev/[your swap partition] splash=[verbose or silent] showopts
(all in one line)
initrd /boot/initrd (this would be the third indented line, and is
mandatory but you list none)
> title Windows
> rootnoverify (hd0,0)
> chainloader (hd0,0)+1
>
this is ok
> title Failsafe -- openSUSE 10.2
>
OK, no need to include it at all if you show no info. This one will not
work for sure if that is all that is there.
--
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> If I try to boot Linux from the hard disk, it will
> flash "Grub loading stage 1.5..." and then the screen
> goes black and it just sits there.
>
First, your top posting has made this email much harder than necessary
to answer. It would be much better to answer after a question or
comment. So are you here saying you are sitting at the menu and
choosing Linux? IIANM, to get that far stage 1.5 has already run.
> What I meant by the two copies of stage2 was that
> fresh from an install, I ran the command:
>
> "md5sum /boot/grub/stage2 /usr/lib/grub/stage2" and it
> came back with two different hashes. I didn't think
> that was supposed to be the case.
>
joe@jmorris:~> md5sum /boot/grub/stage2 /usr/lib/grub/stage2
a53797beaba24cacef672beaad3fea09 /boot/grub/stage2
45438c473a200c0c1dba5d799cbd8186 /usr/lib/grub/stage2
Shows my output, and I am booting with no problems.
> If I select "Windows" from the GRUB menu, XP comes up
> just fine. Linux, however, just sits.
>
So you do make it to a menu? This is what I meant in the first
response. Either our vocab is different, or when you say you try to
boot linux, you mean from the menu entry. But it flashes booting stage
1.5 BEFORE it gets to the menu. It could not load a menu without 1.5,
which allows grub to read the file system it gets the menu from.
> It seems to be something similar to this:
>
> https://bugzilla.novell.com/show_bug.cgi?id=223773
>
> But I don't know if it is exactly or not...
>
St least you did look.
> My menu.lst looks like this (for this email, I am not
> including all the YAST-inserted comments):
>
> default 0
> timeout 8
> gfxmenu (hd0,5)/boot/message
>
This is where it gets the graphical screen. If you have that screen
with your menu, it is able to read your boot file system, which IIANM
means stage 1.5 has run.
> title openSUSE 10.2
> root (hd0,5)
> kernel /boot/vmlinuz-2.6.18-34-default
> root=/dev/sda
>
Assuming you did copy this somewhat closely, this is very wrong. First,
is your root file system on sda6? Do you have your boot directory as a
subdirectory of your root (/) partition? Assuming the above, your root
line is correct, then you should have at least;
kernel /boot/vmlinuz root=/dev/sda6 (and some options such as vga=0x31a
resume=/dev/[your swap partition] splash=[verbose or silent] showopts
(all in one line)
initrd /boot/initrd (this would be the third indented line, and is
mandatory but you list none)
> title Windows
> rootnoverify (hd0,0)
> chainloader (hd0,0)+1
>
this is ok
> title Failsafe -- openSUSE 10.2
>
OK, no need to include it at all if you show no info. This one will not
work for sure if that is all that is there.
--
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |