From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKkl6-0008T7-JB for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 20:32:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKkl5-0008R8-CO for grub-devel@gnu.org; Thu, 31 Jan 2008 20:31:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKkl3-0008Oc-Uu for grub-devel@gnu.org; Thu, 31 Jan 2008 20:31:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKkl3-0008OE-H9 for grub-devel@gnu.org; Thu, 31 Jan 2008 20:31:57 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKkl3-00065I-4e for grub-devel@gnu.org; Thu, 31 Jan 2008 20:31:57 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JKkky-0003LN-IB for grub-devel@gnu.org; Fri, 01 Feb 2008 01:31:52 +0000 Received: from adsl-69-234-195-142.dsl.irvnca.pacbell.net ([69.234.195.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2008 01:31:52 +0000 Received: from wa1ter by adsl-69-234-195-142.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2008 01:31:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Thu, 31 Jan 2008 17:32:32 -0800 Organization: none Message-ID: References: <1201772455.3262.5.camel@etppc19> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-195-142.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008013004) In-Reply-To: <1201772455.3262.5.camel@etppc19> Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: GRUB1 on USB-Stick X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 01:31:59 -0000 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: 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/. 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).