All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: Sam Morris <sam@robots.org.uk>
Cc: grub-devel@gnu.org, 422851@bugs.debian.org,
	Thomas Stewart <thomas@stewarts.org.uk>
Subject: Re: "grub-probe -t partmap" doesn't work with software RAID
Date: Sun, 13 May 2007 18:44:07 +0200	[thread overview]
Message-ID: <20070513164407.GA11143@aragorn> (raw)
In-Reply-To: <1179054146.4014.9.camel@xerces>

On Sun, May 13, 2007 at 12:02:26PM +0100, Sam Morris wrote:
> On Sat, 2007-05-12 at 22:16 +0100, Sam Morris wrote:
> > On Wed, 2007-05-09 at 18:13 +0200, Robert Millan wrote:
> > > I'm forwarding you a bug report from Debian.  It seems that the grub-probe
> > > -t partmap feature I just added doesn't play nice with RAID.  Unfortunately,
> > > I have no idea how software RAID is implemented.  Is it okay to just exit
> > > succesfuly and install core.img without any partmap module?

... so apparently it isn't.  We still need to detect this somehow, or maybe we
could just print "pc gpt".. anyone can cast some light on this?

> I experimented some more. At the command prompt I entered 'insmod raid'
> and got the message 'error: out of disk'. I assume that is because the
> partition containing my RAID1 array extends past the area readably by
> BIOS functions. However, I was able to ignore the message: if I then ran
> 'ls', '(md0)' showed up in the list of devices just fine!

How strange.  If you can't access the disk, you wouldn't be able to insmod
anything.  Can you check the following (before running 'insmod raid'):

  - That raid is not already loaded (with lsmod).
  - The 'prefix' variable (with set).
  - Whether you can access (ls) the directory pointed to by 'prefix'.

> I had to do one more thing to boot up correctly: edit the command line.
> It had 'root=md0' but it needed 'root=/dev/md0'. It appears that
> 'grub-probe -t device /boot/grub' outputs 'md0' when it should be
> outputting '/dev/md0' (just as it outputs e.g., '/dev/hde1' instead of
> 'hde1' for 'grub-probe -t device /mnt'). Shall I file a separate bug for
> that?

Please do.

> BTW, it would be convenient if I could override the detected GRUB_DEVICE
> by editing /etc/default/grub; however it seems that update-grub ignores
> the environment variable and always overrides it with the value output
> by grub-probe. It might be useful to allow the user to specify the grub
> device manually in this manner.

Another bug please? :-)

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.



  parent reply	other threads:[~2007-05-13 16:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1178710623.4102.37.camel@xerces>
     [not found] ` <20070509135853.GA31878@aragorn>
     [not found]   ` <1178719368.4102.48.camel@xerces>
     [not found]     ` <20070509151643.GB16077@aragorn>
     [not found]       ` <1178725065.4102.65.camel@xerces>
2007-05-09 16:13         ` "grub-probe -t partmap" doesn't work with software RAID Robert Millan
     [not found]           ` <1179004601.3922.4.camel@xerces>
     [not found]             ` <1179054146.4014.9.camel@xerces>
2007-05-13 16:44               ` Robert Millan [this message]
2007-05-18  6:51                 ` Robert Millan
     [not found]                   ` <1179535793.4466.3.camel@xerces>
2007-05-19  9:33                     ` Bug#422851: " Robert Millan
     [not found]                       ` <1179575266.4466.5.camel@xerces>
2007-05-19 12:10                         ` Robert Millan
     [not found]                           ` <1179580232.4542.8.camel@xerces>
2007-05-19 14:08                             ` Robert Millan
     [not found]                               ` <1179585253.4270.1.camel@xerces>
2007-05-19 15:32                                 ` fallback for "grub-probe -t partmap" failures Robert Millan
2007-05-19 16:01                                   ` Sam Morris
     [not found]                             ` <1179584038.4145.10.camel@xerces>
2007-05-19 15:51                               ` problem with RAID and LBA addressing Robert Millan
     [not found]                                 ` <1179590781.4270.28.camel@xerces>
2007-05-19 16:45                                   ` Robert Millan
2007-05-19 17:51                                     ` Yoshinori K. Okuji
2007-05-20  7:12                                       ` Robert Millan
2007-05-21 13:25                                     ` Amin Azez
2007-05-21 13:44                                       ` Sam Morris
2007-05-21 11:08                               ` Bug#423022: Bug#422851: "grub-probe -t partmap" doesn't work with software RAID Jeroen Dekkers
2007-05-21 12:23                                 ` Sam Morris
2007-05-21 13:13                                   ` Jeroen Dekkers
2007-05-21 18:35                                     ` Sam Morris

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=20070513164407.GA11143@aragorn \
    --to=rmh@aybabtu.com \
    --cc=422851@bugs.debian.org \
    --cc=grub-devel@gnu.org \
    --cc=sam@robots.org.uk \
    --cc=thomas@stewarts.org.uk \
    /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.