Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GPT - Raid 1.2 & Grub 2 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Thu Mar 08, 2012 11:22 am    Post subject: GPT - Raid 1.2 & Grub 2 [SOLVED] Reply with quote

Hello,

I have successfully installed gentoo with the following configuration a few monthes ago:
- Grub(2) bootloader (9999)
- /boot on /dev/md1 (RAID1 metadata 1.2 /dev/sda3+/dev/sdb3)
- all other volumes (including root) are managed under LVM using /dev/md2 as a PV (RAID1 metadata 1.2 /dev/sda2+/dev/sdb3)
- /dev/sda1 & /dev/sdb1 are reserved as BIOS boot partition for grub(2)

Last week, I have updated grub.
I am updating my packages quite frequently (2-5 days), so the previous installed grub (always 9999) was probably the most recent until last week.
Since this update, the system stopped booting.
Grub starts normally (I get the Grub menu displayed). The grub configuration seems valid:
- close to the previous one
- GPT and MDRAID1 grub modules are loaded (I cannot remember the exact module names)
- dodmraid, dolvm and other relevant parameters are passed to the kernel as usual (no big difference with the previous working configuration)

But as soon as Grub boots the default boot entry (latest working kernel with the previous Grub configuration), the platform reboots (I can barely see the kernel name and perhaps the initrd name displayed on screen before it restarts).
I cannot revert back to the previous Grub configuration (I'm using 9999 so this is a risk that I have already accepted).

Now I'm trying to find a solution:
- I have tried grub-2.00_beta0 with the same result
- I have tried using extlinux but it seems still not working with raid metadata 1.2 (the latest news I have found on this particular subject are that it is known to be working with metadata 1.0)

Has anyone experienced successfully or not this type of configuration lately ?


Last edited by thild on Sat Mar 10, 2012 11:04 am; edited 1 time in total
Back to top
View user's profile Send private message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Sat Mar 10, 2012 11:03 am    Post subject: Reply with quote

I have re-emerged grub-9999 yesterday, reinstalled boot blocks on sda and sdb and rebuilt the config files.
The platform boots again. :D
I guess something was fixed on the grub trunk, don't know what yet.
I would have to dig in the changesets commited this week.

As a good practice, I have done the following:
quickpkg --include-config=y grub

So next time I fall in the same issue, I can revert back to the previous working grub binaries.
Back to top
View user's profile Send private message
AlphaHeX
n00b
n00b


Joined: 17 Jan 2005
Posts: 60
Location: Warsaw, Poland

PostPosted: Sun Mar 11, 2012 8:24 am    Post subject: Reply with quote

It was a bug in grub2 around linux command. Workaround was to change linux with linux16 in grub.cfg
_________________
HP Pavilion HDX9494NR [Intel Core 2 Duo X9000 | 20.1" Wide SXGA+ | 8GB Memory | 120 SSD + 500 HDD 7200rpm | Blu-ray Disc / Super Multi | NVIDIA GeForce 8800M GTS]
Back to top
View user's profile Send private message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Sun Mar 11, 2012 3:28 pm    Post subject: Reply with quote

AlphaHeX wrote:
It was a bug in grub2 around linux command. Workaround was to change linux with linux16 in grub.cfg


That's strange, my current working config still uses linux command instead of linux16 command.
Can you point out the bug reference on http://savannah.gnu.org/bugs please ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum