Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Mathys <eraserix@gmail.com>
To: grub-devel@gnu.org
Subject: grub_prefix seems wrong for separate /boot partition
Date: Thu, 01 Oct 2009 23:29:56 +0200	[thread overview]
Message-ID: <4AC51F54.1000701@gmail.com> (raw)

Hello

Not sure if I've come to the right place, but here is my story:

Yesterday, my package manager (deb on testing) decided that the time has 
come to switch to grub 1.97~beta3. Well, afterwards my system did not 
boot anymore, it was stuck in the grub shell, no menu or anything. It 
works again now and I quiet like the new grub shell (well, scrolling was 
horribly slow).

Anyway, my /boot-directory is on its own partition, which is only 
mounted if I need to change something there. Now, one of the problems 
why the update did not work was that I forgot to mount /boot and grub 
could not find the kernels (my fault).

After I've learned how to boot my system again and mounted /boot, grub 
found the kernels. However, grub_prefix seems to be wrong, pointing to 
/boot/grub instead of just /grub. I did not find a better way to fix it 
than changing the variable in grub-install. After changing grub_prefix 
to /grub and rerunning grub-install /dev/hda, everything is fine now.

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?

Christoph



             reply	other threads:[~2009-10-01 21:30 UTC|newest]

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

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=4AC51F54.1000701@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