Re: Wheezy USB Harddrive install grub2 issues



On Mon 14 May 2012 at 14:57:54 +0800, Bob wrote:

On 05/14/2012 06:24 AM, Brian wrote:

Wouldn't '--root-directory=/' put GRUB's files in /grub?

That was my reading of the man page however there is no /grub directory
so either the option doesn't work or it's could be a symptom of a broken
grub package.

It's the opposite to your experience here.

grub-install --root-directory=/ /dev/sda

results in GRUB creating /grub and populating it with its files. In
fact, when installing GRUB to a USB stick without an OS on it I've
always seen it create the directory specified by '--boot-directory'.

I have replicated your problem (GRUB dropping to a prompt) by running
the command above from an unstable installation. I've no explanation
for it apart from some hazy idea GRUB is confused by having its files
in two places, /boot/grub and /grub, but was able to retrieve a GRUB
menu with

grub-install /dev/sda

[Snip]

Are we reaching bug report time?

Not really, I think.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: 20120514234118.GA32462@desktop">http://lists.debian.org/20120514234118.GA32462@desktop



Relevant Pages

  • Re: GRUB loader hangs in to message "savedefault" in Debian etch and load error in Ubuntu.
    ... and it gets hung up. ... of the default configuration for GRUB on Debian. ... leading up to it and the text of the error message), ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: No more GRUB legacy at install time since wheezy?
    ... It had a small set of options and files to tweak (compared to GRUB ... 10_*: Native boot entries. ... The number namespace in-between is configurable by system installer and/or administrator. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: No more GRUB legacy at install time since wheezy?
    ... GRUB 2 strikes me as great, ... report unbootable systems with GRUB 2, and it seems to be difficult to edit. ... motherboards and motherboard bundles - but only briefly. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Lenny + Dell PE 2970
    ... Is it imperative for you to stick with GRUB? ... I did try LILO the first time it happened and it failed to work as well. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Repartitioning, difficult and easy.
    ... The I had to switch to grub since afaik LILO can't boot Xen which this box would hold. ... not having or being a physical device so I just switched back to /boot being on a seperate RAID Volume which works for me. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)