From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Various build failures in current bzr tree
Date: Fri, 10 Feb 2012 20:01:23 +0100 [thread overview]
Message-ID: <4F356983.40905@gmail.com> (raw)
In-Reply-To: <20120210181823.GD27742@caffeine.csclub.uwaterloo.ca>
On 10.02.2012 19:18, Lennart Sorensen wrote:
> On Fri, Feb 10, 2012 at 05:11:16PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> Imagine following setup: 2 disks with msdos and one with gpt. GPT
>> one is missing on install time and so no part_gpt is inserted. On
>> boot time is then one of msdos disks is missing and so GPT one is
>> needed to complete a readable device but it's inaccessible since no
>> GPT module is loaded.
> Well I only hit this because one of Debian's update-grub scripts tried to
> do a grub-probe and failed. It wasn't an important one in my case,
> so I disabled that script. I do think most people would have a fully
> working system before installing the boot loader so not a major problem.
I agree that it should be fixed but the question is how.
>> This and the rest of your e-mail is because of confusion of 2
>> concepts: grub_device and install_device.
>> grub_device is whereever GRUB modules reside and is determined from
>> $boot_directory/grub (default is /boot/grub)
>> install_device is whereever the core is and is the argument to grub-install.
>> They are independent since you want to put core wherever firmware
>> will find it independently of where your root is.
>> install_device is not infered from grub_device or vice-versa.
>> In mdraid example grub_device=mduuid/<UUID> but install_device is
>> still /dev/sdaX
> So if I tell grub-install to use /dev/sda1 as install_device, should
> it not include the partition table support for sda?
No
> 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?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
next prev parent reply other threads:[~2012-02-10 19:01 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 19:02 Various build failures in current bzr tree Lennart Sorensen
2012-02-09 19:33 ` Lennart Sorensen
2012-02-09 20:50 ` Lennart Sorensen
2012-02-09 20:56 ` Lennart Sorensen
2012-02-09 23:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 15:54 ` Lennart Sorensen
2012-02-10 16:11 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 18:18 ` Lennart Sorensen
2012-02-10 19:01 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-02-10 19:12 ` Lennart Sorensen
2012-02-10 19:41 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 19:56 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 20:31 ` Lennart Sorensen
2012-02-10 20:39 ` Lennart Sorensen
2012-02-10 16:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 18:31 ` Lennart Sorensen
2012-02-09 22:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 15:45 ` Lennart Sorensen
2012-02-10 16:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 18:15 ` Lennart Sorensen
2012-02-10 18:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 19:05 ` Lennart Sorensen
2012-02-10 18:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 19:08 ` Lennart Sorensen
2012-02-10 19:14 ` Lennart Sorensen
2012-02-10 19:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 20:25 ` Lennart Sorensen
2012-02-10 20:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-10 20:43 ` Lennart Sorensen
2012-02-10 23:14 ` Lennart Sorensen
2012-02-10 23:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
[not found] ` <20120212000258.GP27742@caffeine.csclub.uwaterloo.ca>
2012-02-12 1:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-12 17:35 ` Lennart Sorensen
2012-02-12 17:41 ` Lennart Sorensen
2012-02-12 20:19 ` Bruce Dubbs
2012-02-12 20:29 ` Lennart Sorensen
2012-02-13 15:39 ` Lennart Sorensen
2012-02-15 17:04 ` Lennart Sorensen
2012-02-10 19:01 ` Lennart Sorensen
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=4F356983.40905@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
--cc=lsorense@csclub.uwaterloo.ca \
/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.