[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB2, GPT, mdadm & LVM
From: |
Sander Smeenk |
Subject: |
Re: GRUB2, GPT, mdadm & LVM |
Date: |
Fri, 19 Jul 2013 11:21:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Quoting Andrey Borzenkov (address@hidden):
> > 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.
--- 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.
--
| Crowded elevator smell different to midget.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2
- Re: GRUB2, GPT, mdadm & LVM, (continued)
- Re: GRUB2, GPT, mdadm & LVM, Sander Smeenk, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Chris Murphy, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Chris Murphy, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Sander Smeenk, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Chris Murphy, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Chris Murphy, 2013/07/19
- Re: GRUB2, GPT, mdadm & LVM, Sander Smeenk, 2013/07/20
Re: GRUB2, GPT, mdadm & LVM, Andrey Borzenkov, 2013/07/18
- Re: GRUB2, GPT, mdadm & LVM, Sander Smeenk, 2013/07/18
- Re: GRUB2, GPT, mdadm & LVM, Andrey Borzenkov, 2013/07/18
- Re: GRUB2, GPT, mdadm & LVM,
Sander Smeenk <=
- Re: GRUB2, GPT, mdadm & LVM, Andrey Borzenkov, 2013/07/19