grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Various build failures in current bzr tree


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Various build failures in current bzr tree
Date: Fri, 10 Feb 2012 20:56:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0

On 10.02.2012 20:12, Lennart Sorensen wrote:
On Fri, Feb 10, 2012 at 08:01:23PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko 
wrote:
I agree that it should be fixed but the question is how.
I can't think of a way that would work if the disks were in fact using
different setups, which they could be.

No
OK, fair enough if the below worked then.

   Currently it only
tries to include partition table support for grub_device, which being
an md raid returns nothing.
This is a problem. It should return the partmap of underlying device
and we have code for that. What does grub-probe -t partmap -d
/dev/mdX is?
address@hidden:~# grub-probe -t partmap -d /dev/md0

address@hidden:~#

So that would be a problem of course.

address@hidden:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sda3[0] sdb3[1]
       284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [UU_]

md0 : active raid1 sda2[0] sdb2[1]
       976884 blocks super 1.2 [2/2] [UU]

unused devices:<none>

md0 is /boot
md1 is /

When I do the final install I will probably but lvm on md1 and put /
and swap and other things on that.



--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: 1.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]