Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Mathys <eraserix@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub_prefix seems wrong for separate /boot partition
Date: Fri, 02 Oct 2009 18:11:09 +0200	[thread overview]
Message-ID: <4AC6261D.2040201@gmail.com> (raw)
In-Reply-To: <1254474950.5615.2.camel@fz.local>

Felix Zielcke wrote:
> Am Donnerstag, den 01.10.2009, 23:29 +0200 schrieb Christoph Mathys:
>> Maybe grub_prefix should be setable on the command line of grub-install? 
>>   Or some other bad mistake on my part because of scoping the amount of 
>> documentation I read using google?
> 
> It should be never needed to change grub-install to fix this.
> If /boot is a seperate partition then the prefix gets just /grub.
> If not then it's a bug. And in that case the generated grub.cfg has the
> same problem.
> This is actually impossible that only grub-install but not grub-mkconfig
> was affected in your case. They use both the same function to make it
> relative to the root.
> Did you run grub-install again after you mounted your /boot or did you
> just copy the files?

I guess I just copied the files. You are right, mounting boot and 
running the following commands results in the correct configuration 
without twiddling on the scripts:
'grub-install /dev/hda'
'grub-mkconfig -o /boot/grub/grub.cfg'

Thanks for the pointer!
Christoph



      reply	other threads:[~2009-10-02 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01 21:29 grub_prefix seems wrong for separate /boot partition Christoph Mathys
2009-10-02  9:15 ` Felix Zielcke
2009-10-02 16:11   ` Christoph Mathys [this message]

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=4AC6261D.2040201@gmail.com \
    --to=eraserix@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox