All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Fajar A. Nugraha" <list@fajar.net>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub rescue read or write sector outside of partition
Date: Fri, 26 Jun 2015 15:21:09 +0700	[thread overview]
Message-ID: <CAG1y0sf_9j2muYB-b5+TQdN468junEjNyUsx2h8JGk3YNghHBw@mail.gmail.com> (raw)
In-Reply-To: <20150626000953.M20169@lampinc.com>

On Fri, Jun 26, 2015 at 7:33 AM, Dale Carstensen <dlc@lampinc.com> wrote:
> Somewhere I found that grub rescue has only a few commands, none
> of them "help" or a list of commands, and no TAB-expansions.
> Well, they seem to be ls, set, unset and insmod.  Supposedly,
> running insmod normal, then normal, will get back to the
> fuller set of commands with help, but that's where it gets
> the "outside of partition" error, it seems.

You could include the modules you want in grub image so you can get
tab expansion even when you got dropped to grub rescue prompt. Or
include whole bunch of modules so you can boot even without the module
directory. Some modules will be automatically included as dependency
of another module, so for example if you include "ls" then "normal"
will automatically be included

This is what I use:

grub-install --modules="all_video help cat echo ls search test
part_gpt part_msdos loopback fat ntfscomp ext2 btrfs xfs zfsinfo
iso9660 configfile linux chain boot" /dev/sda

-- 
Fajar


      parent reply	other threads:[~2015-06-26  8:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26  0:33 grub rescue read or write sector outside of partition Dale Carstensen
2015-06-26  8:11 ` Andrei Borzenkov
2015-06-27 22:17   ` Dale Carstensen
2015-06-28  6:01     ` Andrei Borzenkov
2015-06-28 22:54       ` Dale Carstensen
2015-06-26  8:21 ` Fajar A. Nugraha [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=CAG1y0sf_9j2muYB-b5+TQdN468junEjNyUsx2h8JGk3YNghHBw@mail.gmail.com \
    --to=list@fajar.net \
    --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.