Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95500 - 2005.0 does not boot when grub is installed on /boot partition
Summary: 2005.0 does not boot when grub is installed on /boot partition
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 14:17 UTC by Peter Kerwien
Modified: 2005-06-14 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kerwien 2005-06-08 14:17:05 UTC
During the installation of 2005.0 and grub is installed on a boot partition, the
system won't boot when installation is finished. I'm using this commands during
the installationen:

grub> root (hd0,0)
grub> setup (hd0,0)
grub> quit

I had to install grub on MBR to get the system boot correctly. Installing grub
on /boot works when using LiveCD 2004.3.

Reproducible: Always
Steps to Reproduce:
1. Installing grub on (hd0,0)
2. Finish installation of 2005.0
3. Reboot the system.

Actual Results:  
The system won't boot.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-08 14:20:11 UTC
Did you set your /boot partition as active?
Comment 2 Peter Kerwien 2005-06-08 14:24:36 UTC
Yes.

I even tried to install 2005.0 on another PC => same problem.

(Sorry for my spelling errors in the report. Too quick on the keyboard).
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-08 14:30:13 UTC
> grub> setup (hd0,0)

This is incorrect, you are not installing grub into MBR, but to your /boot
partition -> bootloader is missing, you cannot boot.
Comment 4 Peter Kerwien 2005-06-08 14:33:36 UTC
(In reply to comment #3)
> > grub> setup (hd0,0)
> 
> This is incorrect, you are not installing grub into MBR, but to your /boot
> partition -> bootloader is missing, you cannot boot.

Why is this incorrect?

I know that

> grub setup (hd0,0)

is installing grub on the /dev/hda1 partition = my /boot partition. This is what
I want.

This has been working with all previous Gentoo releases I have installed, except
for 2005.0.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-06-08 14:35:03 UTC
(In reply to comment #4)
> Why is this incorrect?

Do you have another (or better said _any_) bootloader in MBR?
Comment 6 Peter Kerwien 2005-06-08 22:17:10 UTC
OK, I must admit that I'm no grub / bootloader expert, but why did this work 
for me for all older LiveCD releases?

Could it be that grub in those releases did something incorrect, but now is 
doing what it should be?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-06-09 00:10:37 UTC
(In reply to comment #6)
> Could it be that grub in those releases did something incorrect, but now is 
> doing what it should be?
> 

Does that mean that Gentoo is your only OS and you don
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-06-09 00:10:37 UTC
(In reply to comment #6)
> Could it be that grub in those releases did something incorrect, but now is 
> doing what it should be?
> 

Does that mean that Gentoo is your only OS and you don´t have any boatloader in
MBR? Sorry, this is bound to fail. You simply need a bootloader in MBR capable
of loading grub from /boot partition for your setup to work. BIOS won´t load
bootloaders from partitions´ boot sectors, only from MBR.

I did not research if there was such a bug in grub before but find it highly
improbable, it would probably be catched rather quickly.
Comment 9 Peter Kerwien 2005-06-09 00:19:38 UTC
Yes, Gentoo is my only OS.

Starting with a blank HD, when booting failed after trying to use 2005.0, I 
just when back to using a 2004.3 LiveCD and used the same procedure, i.e. 
installed grub on (hd0,0). Then booting is working.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-06-09 00:49:57 UTC
(In reply to comment #8)
> Yes, Gentoo is my only OS.
> 

With the _same_ grub version emerged? Well, I
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-06-09 00:49:57 UTC
(In reply to comment #8)
> Yes, Gentoo is my only OS.
> 

With the _same_ grub version emerged? Well, I´d say impossible but it is not a
proper way to install grub with Gentoo being the only OS anyway. 
Comment 12 Peter Kerwien 2005-06-09 01:03:20 UTC
Since I did a emerge --sync before the installation of grub I think I got the 
same version when trying 2005.0 and later went back to 2004.3. But I have to 
check again.

I will have to do a new installation with 2005.0 and come back with more 
information like grub version.
Comment 13 Peter Kerwien 2005-06-12 01:49:06 UTC
OK, I may have already had something on MBR which booted up my system. I have
tried with a couple of VMware machines and the won't boot if I install grub on
/boot. I tried both 2004.3 and 2005.0. I will start to use setup (hd0) instead.

You may cancel this report.
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-14 07:09:54 UTC
Thanks for taking the time to research this... it is very much appreciated...