From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKVuo-0000Vk-D3 for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 04:41:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKVul-0000Tz-Vm for grub-devel@gnu.org; Thu, 31 Jan 2008 04:41:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKVuj-0000S7-NF for grub-devel@gnu.org; Thu, 31 Jan 2008 04:40:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKVuj-0000Ro-Cv for grub-devel@gnu.org; Thu, 31 Jan 2008 04:40:57 -0500 Received: from mail.physik.uni-muenchen.de ([192.54.42.129]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKVuj-0001QS-35 for grub-devel@gnu.org; Thu, 31 Jan 2008 04:40:57 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 88FF720064 for ; Thu, 31 Jan 2008 10:40:55 +0100 (CET) X-Virus-Scanned: amavisd-new at physik.uni-muenchen.de Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10023) with LMTP id iZAoT0C-nHtO for ; Thu, 31 Jan 2008 10:40:55 +0100 (CET) Received: from [129.187.180.214] (etppc19.garching.physik.uni-muenchen.de [129.187.180.214]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 6F91720063 for ; Thu, 31 Jan 2008 10:40:55 +0100 (CET) From: Christoph Anton Mitterer To: grub-devel@gnu.org Content-Type: text/plain Organization: =?ISO-8859-1?Q?Ludwig-Maximilians-Unive?= =?ISO-8859-1?Q?rsit=E4t?= =?ISO-8859-1?Q?_M=FCnchen?= Date: Thu, 31 Jan 2008 10:40:55 +0100 Message-Id: <1201772455.3262.5.camel@etppc19> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-40.el5) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: 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: Thu, 31 Jan 2008 09:41:00 -0000 Hello. I've just tried to install grub1 on an USB-stick in order to boot from it, but it continues to fail: Following situation: -BIOS is definitely able to boot from USB -the system has one harddisk /dev/sda -USB-stick has one partition /dev/sdb1, type 0x83, filesystem ext3 -Debian sid => grub 0.97 -Installation of grub on /dev/sda works with both grub-install and the grub shell The stick is mounted on /mnt/ -/boot/grub/device.map shows: (hd0) /dev/sda This is also automatically generated by grub-install --recheck /dev/sda -/mnt/boot/grub/device.map shows: (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb Automatically generated, too (via grub-install --recheck --root-directory=/mnt /dev/sdb) btw: this is strange, because the notebook doesn't have an floppy dr I really tried every combination I could think of: Via grub-install, grub-shell, with and without device.map, with hd0 and hd1, from a chroot and not, etc. etc. Some of them look like the following: via grub-install: # grub-install --recheck --root-directory /mnt /dev/sdb Probing devices to guess BIOS drives. This may take a long time. The file /mnt/boot/grub/stage1 not read correctly. or: via grub-install: # grub-install --root-directory /mnt /dev/sdb The file /mnt/boot/grub/stage1 not read correctly. via grub shell: grub> device (hd0) /dev/sdb grub> root (hd0,0) FIlesystem type is ext2fs. partition type 0x83 grub> setup (hd0) setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type grub> >From chroot into /mnt/ grub-install --recheck --root-directory /mnt /dev/sdb (with and without --recheck) seems to work,.. at least grub-install reports no error, BUT... When I now boot from the stick (it actually seems to use the grub on the stick, and not that on the HDD, because it "works" even, when I deactivate the HDD in the BIOS) grub loads,... but it uses the menu.lst from the hdd (/dev/sda) and not from the stick. (I can see this because I've renamed the entries). Perhaps you have some ideas :-) Note, that switching to grub2 is not really an option for me,... on reason are still missing features in grub2 like password protection. Best wishes, Chris. btw: Please CC me, as I'm currently not subscribed.