В Fri, 19 Jul 2013 11:21:44 +0200 Sander Smeenk <[email protected]> пишет:
> Quoting Andrey Borzenkov ([email protected]): > > > > Unfortunately, adding biosdisk to the list doesn't give me a working > > > GRUB either. Device (md/0) shows but (lvm/fdi-host_root) doesn't. > > Could you test current trunk? There were some changes in how grub scans > > for multilayer devices; it may have fixed it. > > Tried that. > > I had to patch util/getroot.c since the 'vgs' tool called by grub-probe > now returns ' /dev/md0 ' and util/getroot.c only stripped the > preceeding spaces. > I just submitted patch to grub-devel which tries to solve it in more generic way. It is actually change in LVM behavior (I have here two different LVM versions, one is OK, another exhibits this issue). > --- getroot.c.orig 2013-07-19 11:20:26.129871738 +0200 > +++ getroot.c 2013-07-19 11:04:05.996377299 +0200 > @@ -1379,7 +1379,7 @@ > for (ptr = buf; ptr < buf + 2 && *ptr == ' '; ptr++); > if (*ptr == '\0') > continue; > - *(ptr + strlen (ptr) - 1) = '\0'; > + *(ptr + strlen (ptr) - 3) = '\0'; > grub_util_pull_device (ptr); > } > > The resulting grub installs fine but doesn't boot either, same symptoms. > Please see the reply to your other message in this thread. > > -Sndr. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
