All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems
Date: Tue, 15 Jan 2008 13:27:09 +0100	[thread overview]
Message-ID: <20080115122709.GH31275@thorin> (raw)
In-Reply-To: <877iib2sh0.fsf@xs4all.nl>

On Tue, Jan 15, 2008 at 01:17:31PM +0100, Marco Gerards wrote:
> Robert Millan <rmh@aybabtu.com> writes:
> 
> > On Tue, Jan 15, 2008 at 12:23:19PM +0100, Marco Gerards wrote:
> >> Robert Millan <rmh@aybabtu.com> writes:
> >> 
> >> > New patch, a bit simpler (after giving it a though, I don't think the gained
> >> > speed is worth the extra complication)
> >> 
> >> What does this patch fix?  Too many problems in one thread...
> >
> > It fixes loading of lvm/raid modules in two situations:
> >
> >   - In core.img, by grub-install, when they're needed to access /boot.
> >     This is still not enough to get it working due to another bug
> >     (detection of partmap).
> >
> >   - In grub.cfg, by update-grub, when they're needed to access /usr
> >     for the font file.
> 
> Oh, great.  Why can't this font be put in /boot/grub?  Using /usr can
> mean we need: raid, lvm, fshelp, a fs and a partitioning scheme module
> in addition to what we need to access /boot.

/boot/grub might be a mount point for a small storage device, and so big
stuff like fonts might not fit (I got reports of this happening in Debian
BTS).

> >> BTW, does it also work for the case both LVM and RAID are used?
> >
> > No, for that we need to handle recursion in grub-probe, which is the same
> > we'll need to get partmap detection working on lvm/raid.
> 
> You are working on this?

No, although I thought a bit about it and how to solve it.

> Or is this bug documented?

Maybe we have something buried deep in Debian BTS.  It might take more time
to find it than to fix the bug, though ;-)

The problem is like:  When LVM is based on physical partitions that belong
to a pc or gpt table, "grub-probe -t partmap /some/lvmed/mntpoint" won't work.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



  reply	other threads:[~2008-01-15 12:29 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 20:10 LVM on debian Martin Braure de Calignon
2008-01-07 22:07 ` Robert Millan
2008-01-07 22:31   ` Martin Braure de Calignon
2008-01-07 23:20     ` Luca Capello
2008-01-08  9:24     ` Robert Millan
2008-01-08 10:21       ` Martin Braure de Calignon
2008-01-08 12:10         ` debian upgrades and extracting kopt from menu.lst (Re: LVM on debian) Robert Millan
2008-01-08 12:13         ` LVM on debian Robert Millan
2008-01-08 13:00           ` Martin Braure de Calignon
2008-01-08 13:06             ` Bean
2008-01-08 13:11               ` Bean
2008-01-08 13:20                 ` Martin Braure de Calignon
2008-01-08 13:28                   ` Bean
2008-01-08 14:26                   ` Robert Millan
2008-01-08 15:01                   ` [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian) Robert Millan
2008-01-08 15:21                     ` Robert Millan
2008-01-08 16:06                       ` Martin Braure de Calignon
2008-01-08 21:05                       ` Jan Nieuwenhuizen
2008-01-08 21:44                         ` Robert Millan
2008-01-08 22:18                           ` Jan Nieuwenhuizen
2008-01-08 23:33                             ` Robert Millan
2008-01-09  9:08                               ` Jan Nieuwenhuizen
2008-01-09 10:35                                 ` Robert Millan
2008-01-09 10:53                                   ` Jan Nieuwenhuizen
2008-01-09 11:48                                     ` Robert Millan
2008-01-09 13:07                                       ` Jan Nieuwenhuizen
2008-01-09 14:29                                         ` Robert Millan
2008-01-08 22:52                           ` Martin Braure de Calignon
2008-01-08 23:35                             ` Robert Millan
2008-01-08 21:55                         ` Robert Millan
2008-01-09  9:00                           ` Jan Nieuwenhuizen
2008-01-09 11:41                             ` Robert Millan
2008-01-09 13:36                               ` Jan Nieuwenhuizen
2008-01-09 14:32                                 ` Robert Millan
2008-01-09 13:40                               ` Martin Braure de Calignon
2008-01-09 13:50                                 ` Martin Braure de Calignon
2008-01-09 14:34                                   ` Robert Millan
2008-01-09 14:55                                     ` Martin Braure de Calignon
2008-01-09 15:36                                       ` Robert Millan
2008-01-09 16:27                                         ` Martin Braure de Calignon
2008-01-09 23:49                                           ` [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems Robert Millan
2008-01-10 12:43                                             ` Robert Millan
2008-01-12 15:10                                               ` Robert Millan
2008-01-15 11:23                                               ` Marco Gerards
2008-01-15 11:56                                                 ` Robert Millan
2008-01-15 12:17                                                   ` Marco Gerards
2008-01-15 12:27                                                     ` Robert Millan [this message]
2008-01-10 13:24                                             ` Jan Nieuwenhuizen
2008-01-09 13:56                               ` [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian) Martin Braure de Calignon
2008-01-09 14:34                                 ` Robert Millan
2008-01-08 15:25                     ` Jan Nieuwenhuizen
2008-01-08 15:39                       ` Robert Millan
2008-01-08 16:07                     ` Martin Braure de Calignon
2008-01-08 20:53                       ` Robert Millan
2008-01-08 13:14               ` LVM on debian Robert Millan
2008-01-08 13:18                 ` Bean
2008-01-08 14:27                   ` Robert Millan
2008-01-15 12:18                     ` Marco Gerards
2008-01-08 13:13             ` Robert Millan
2008-01-08 14:01               ` Martin Braure de Calignon
2008-01-08 14:21                 ` Martin Braure de Calignon
2008-01-08 14:29                 ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080115122709.GH31275@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.