* grub2 md-linear unsupported?
@ 2012-04-23 13:19 Leo Baltus
2012-04-23 14:00 ` Mads Kiilerich
0 siblings, 1 reply; 7+ messages in thread
From: Leo Baltus @ 2012-04-23 13:19 UTC (permalink / raw)
To: grub-devel
Hi,
I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
level 'linear'.
On grub2-install is says:
error: unsupported RAID level: -1.
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Is this really unsupported?
--
Leo Baltus, internetbeheerder /\
NPO ICT Internet Services /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
beheer@omroep.nl, 035-6773555 \/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 13:19 grub2 md-linear unsupported? Leo Baltus
@ 2012-04-23 14:00 ` Mads Kiilerich
2012-04-23 14:25 ` Leo Baltus
0 siblings, 1 reply; 7+ messages in thread
From: Mads Kiilerich @ 2012-04-23 14:00 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: Leo Baltus
On 04/23/2012 03:19 PM, Leo Baltus wrote:
> Hi,
>
> I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
> level 'linear'.
>
> On grub2-install is says:
Exactly which full command is it that fails?
What do you have in /boot/grub2/device.map?
/Mads
> error: unsupported RAID level: -1.
> /sbin/grub2-probe: error: no such disk.
> Auto-detection of a filesystem of /dev/md0 failed.
>
> Is this really unsupported?
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 14:00 ` Mads Kiilerich
@ 2012-04-23 14:25 ` Leo Baltus
2012-04-23 15:02 ` Bean
0 siblings, 1 reply; 7+ messages in thread
From: Leo Baltus @ 2012-04-23 14:25 UTC (permalink / raw)
To: Mads Kiilerich; +Cc: The development of GNU GRUB
Op 23/04/2012 om 16:00:26 +0200, schreef Mads Kiilerich:
> On 04/23/2012 03:19 PM, Leo Baltus wrote:
> >Hi,
> >
> >I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
> >level 'linear'.
> >
> >On grub2-install is says:
>
> Exactly which full command is it that fails?
Im am working from a busybox shell, prepare my disk, mount on /mnt,
polulate it with rsync, bind mount dev on it and do
chroot /mnt grub2-install /dev/sda
>
> What do you have in /boot/grub2/device.map?
>
I'm not using a device.map
>
> >error: unsupported RAID level: -1.
> >/sbin/grub2-probe: error: no such disk.
> >Auto-detection of a filesystem of /dev/md0 failed.
> >
> >Is this really unsupported?
> >
>
--
Leo Baltus, internetbeheerder /\
NPO ICT Internet Services /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
beheer@omroep.nl, 035-6773555 \/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 14:25 ` Leo Baltus
@ 2012-04-23 15:02 ` Bean
2012-04-23 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-23 15:15 ` Leo Baltus
0 siblings, 2 replies; 7+ messages in thread
From: Bean @ 2012-04-23 15:02 UTC (permalink / raw)
To: The development of GNU GRUB
Hi,
I believe it only support raid level 0/1/4/5/6/10. It's easy to add
linear support, but i guess grub2 is currently in frozen state so you
might need to wait a bit.
On Mon, Apr 23, 2012 at 10:25 PM, Leo Baltus
<Leo.Baltus+grub2@tech.omroep.nl> wrote:
> Op 23/04/2012 om 16:00:26 +0200, schreef Mads Kiilerich:
>> On 04/23/2012 03:19 PM, Leo Baltus wrote:
>> >Hi,
>> >
>> >I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
>> >level 'linear'.
>> >
>> >On grub2-install is says:
>>
>> Exactly which full command is it that fails?
>
> Im am working from a busybox shell, prepare my disk, mount on /mnt,
> polulate it with rsync, bind mount dev on it and do
>
> chroot /mnt grub2-install /dev/sda
>>
>> What do you have in /boot/grub2/device.map?
>>
>
> I'm not using a device.map
>
>>
>> >error: unsupported RAID level: -1.
>> >/sbin/grub2-probe: error: no such disk.
>> >Auto-detection of a filesystem of /dev/md0 failed.
>> >
>> >Is this really unsupported?
>> >
>>
>
> --
> Leo Baltus, internetbeheerder /\
> NPO ICT Internet Services /NPO/\
> Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
> beheer@omroep.nl, 035-6773555 \/
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
--
Best wishes
Bean
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 15:02 ` Bean
@ 2012-04-23 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-23 15:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-23 15:15 ` Leo Baltus
1 sibling, 1 reply; 7+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-04-23 15:09 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]
On 23.04.2012 17:02, Bean wrote:
> Hi,
>
> I believe it only support raid level 0/1/4/5/6/10. It's easy to add
> linear support, but i guess grub2 is currently in frozen state so you
> might need to wait a bit.
It depends on the kind of the problem. If it's just small probe issue
(like I suppose given that mdraid1x_linux.c has code to alias -1 to 0)
then it can be fixed before 2.00. If it's something more serious it will
have to wait.
>
> On Mon, Apr 23, 2012 at 10:25 PM, Leo Baltus
> <Leo.Baltus+grub2@tech.omroep.nl> wrote:
>> Op 23/04/2012 om 16:00:26 +0200, schreef Mads Kiilerich:
>>> On 04/23/2012 03:19 PM, Leo Baltus wrote:
>>>> Hi,
>>>>
>>>> I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
>>>> level 'linear'.
>>>>
>>>> On grub2-install is says:
>>> Exactly which full command is it that fails?
>> Im am working from a busybox shell, prepare my disk, mount on /mnt,
>> polulate it with rsync, bind mount dev on it and do
>>
>> chroot /mnt grub2-install /dev/sda
>>> What do you have in /boot/grub2/device.map?
>>>
>> I'm not using a device.map
>>
>>>> error: unsupported RAID level: -1.
>>>> /sbin/grub2-probe: error: no such disk.
>>>> Auto-detection of a filesystem of /dev/md0 failed.
>>>>
>>>> Is this really unsupported?
>>>>
>> --
>> Leo Baltus, internetbeheerder /\
>> NPO ICT Internet Services /NPO/\
>> Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
>> beheer@omroep.nl, 035-6773555 \/
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 15:02 ` Bean
2012-04-23 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-04-23 15:15 ` Leo Baltus
1 sibling, 0 replies; 7+ messages in thread
From: Leo Baltus @ 2012-04-23 15:15 UTC (permalink / raw)
To: The development of GNU GRUB
Op 23/04/2012 om 23:02:45 +0800, schreef Bean:
> I believe it only support raid level 0/1/4/5/6/10. It's easy to add
> linear support, but i guess grub2 is currently in frozen state so you
> might need to wait a bit.
Thanks, I'll wait.
>
> On Mon, Apr 23, 2012 at 10:25 PM, Leo Baltus
> <Leo.Baltus+grub2@tech.omroep.nl> wrote:
> > Op 23/04/2012 om 16:00:26 +0200, schreef Mads Kiilerich:
> >> On 04/23/2012 03:19 PM, Leo Baltus wrote:
> >> >Hi,
> >> >
> >> >I just tested with grub2-1.99-13 (fedora16) on an md-device with raid-
> >> >level 'linear'.
> >> >
> >> >On grub2-install is says:
> >>
> >> Exactly which full command is it that fails?
> >
> > Im am working from a busybox shell, prepare my disk, mount on /mnt,
> > polulate it with rsync, bind mount dev on it and do
> >
> > chroot /mnt grub2-install /dev/sda
> >>
> >> What do you have in /boot/grub2/device.map?
> >>
> >
> > I'm not using a device.map
> >
> >>
> >> >error: unsupported RAID level: -1.
> >> >/sbin/grub2-probe: error: no such disk.
> >> >Auto-detection of a filesystem of /dev/md0 failed.
> >> >
> >> >Is this really unsupported?
> >> >
> >>
> >
--
Leo Baltus, internetbeheerder /\
NPO ICT Internet Services /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
beheer@omroep.nl, 035-6773555 \/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 md-linear unsupported?
2012-04-23 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-04-23 15:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 7+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-04-23 15:33 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
On 23.04.2012 17:09, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> On 23.04.2012 17:02, Bean wrote:
>> Hi,
>>
>> I believe it only support raid level 0/1/4/5/6/10. It's easy to add
>> linear support, but i guess grub2 is currently in frozen state so you
>> might need to wait a bit.
> It depends on the kind of the problem. If it's just small probe issue
> (like I suppose given that mdraid1x_linux.c has code to alias -1 to 0)
> then it can be fixed before 2.00. If it's something more serious it will
> have to wait.
I've confused -4 and -1. Supporting linear would need some non-trivial
changes to grub_diskfilter_make_raid even though diskfilter supports
such a config. So it's post-2.00 stuff. Meanwhile I recommend using LVM.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-04-23 15:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-23 13:19 grub2 md-linear unsupported? Leo Baltus
2012-04-23 14:00 ` Mads Kiilerich
2012-04-23 14:25 ` Leo Baltus
2012-04-23 15:02 ` Bean
2012-04-23 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-23 15:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-23 15:15 ` Leo Baltus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.