Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Cv1Wt-0002rq-SW for mharc-grub-devel@gnu.org; Sat, 29 Jan 2005 17:57:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cv1Wp-0002pe-FY for grub-devel@gnu.org; Sat, 29 Jan 2005 17:57:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cv1Wh-0002kR-4U for grub-devel@gnu.org; Sat, 29 Jan 2005 17:57:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cv1Wh-0002j7-0i for grub-devel@gnu.org; Sat, 29 Jan 2005 17:57:11 -0500 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cv1E0-00067v-4c for grub-devel@gnu.org; Sat, 29 Jan 2005 17:37:52 -0500 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 48B26F9453A0 for ; Sat, 29 Jan 2005 23:37:51 +0100 (CET) Received: from 127.0.0.1 ([127.0.0.1] helo=localhost) by ASSP-nospam ; 29 Jan 05 22:37:51 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: grub-devel@gnu.org Date: Sat, 29 Jan 2005 23:38:28 +0100 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501292338.29114.okuji@enbug.org> Subject: simple shell script for installation 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: Sat, 29 Jan 2005 22:57:22 -0000 I don't remember if I have already posted this script to this list. I'm using this script to make a floppy image on PC: #! /bin/sh file=$HOME/work/grub2/objs/floppy.img ./grub-mkimage -d . -v -o core.img chain fat mkdosfs $file sudo mount -o loop -t vfat $file /mnt/loop sudo mkdir -p /mnt/loop/boot/grub sudo cp boot.img core.img *.mod /mnt/loop/boot/grub test -f grub.cfg && sudo cp -f grub.cfg /mnt/loop/boot/grub sudo ./grub-setup -d /mnt/loop/boot/grub -v -r '(fd0)' -m device.map '(fd0)' sudo umount /mnt/loop After running this script, I simply do "qemu -fda floppy.img". I guess you have your own script, but I hope this helps some people. Okuji