All of lore.kernel.org
 help / color / mirror / Atom feed
From: walt <wa1ter@myrealbox.com>
To: grub-devel@gnu.org
Subject: Re: GRUB1 on USB-Stick
Date: Thu, 31 Jan 2008 17:32:32 -0800	[thread overview]
Message-ID: <fntsq1$7jd$1@ger.gmane.org> (raw)
In-Reply-To: <1201772455.3262.5.camel@etppc19>

Christoph Anton Mitterer wrote:
> Hello.
>
> I've just tried to install grub1 on an USB-stick in order to boot from
> it, but it continues to fail:
<mucho snippage>

I installed grub to a USB stick for the purpose of using it as an emergency
boot drive so I can use it to reinstall grub from the USB stick onto a hard
disk (after M$ deliberately trashes the MBR ;o).  Here is how I did it:

Format the USB stick with any filesystem that grub supports (FAT,ext2,UFS)
and copy all of the grub installation files into /boot/grub/ on the USB stick.
(I'm referring to files like  e2fs_stage1_5, fat_stage1_5, ffs_stage1_5, etc.)

Next, unmount the USB stick and start a grub shell from a command prompt.

 From inside the running grub shell, set 'root' to whichever partition on your
hard drive contains /boot/grub/<grub installation files>.

Now you need to determine exactly how your USB stick appears to the grub
shell, e.g. (hd2), (hd3), or whatever.  Let's say the USB stick is (hd3).

 From inside the running grub shell type 'setup (hd3)'.  You should see
some messages confirming that grub has been installed okay, and then you
can exit the grub shell and reboot.  If your BIOS is set to boot from the
USB stick first, you should get the usual grub prompt.  If you copied a
valid menu.lst into /boot/grub on the USB stick, then you should actually
see your grub menu displayed in the usual way (fingers crossed).




      parent reply	other threads:[~2008-02-01  1:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  9:40 GRUB1 on USB-Stick Christoph Anton Mitterer
2008-01-31  9:51 ` Marco Gerards
2008-01-31 10:01   ` Christoph Anton Mitterer
2008-01-31 10:31     ` Marco Gerards
2008-01-31 11:01     ` Robert Millan
2008-01-31 11:12       ` Christoph Anton Mitterer
2008-01-31 11:20         ` Marco Gerards
2008-01-31 12:50         ` Robert Millan
2008-01-31 11:00   ` Robert Millan
2008-01-31 11:11     ` Marco Gerards
2008-02-01  1:32 ` walt [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='fntsq1$7jd$1@ger.gmane.org' \
    --to=wa1ter@myrealbox.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 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.