From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BcIws-0002nv-IB for mharc-grub-devel@gnu.org; Mon, 21 Jun 2004 03:10:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcIwq-0002nQ-OR for grub-devel@gnu.org; Mon, 21 Jun 2004 03:10:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcIwo-0002m9-V8 for grub-devel@gnu.org; Mon, 21 Jun 2004 03:10:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcIwo-0002m4-TJ for grub-devel@gnu.org; Mon, 21 Jun 2004 03:10:30 -0400 Received: from [64.4.16.84] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcIvS-00016p-Cb for grub-devel@gnu.org; Mon, 21 Jun 2004 03:09:06 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Jun 2004 00:09:05 -0700 Received: from 194.7.240.2 by by22fd.bay22.hotmail.msn.com with HTTP; Mon, 21 Jun 2004 07:09:04 GMT X-Originating-IP: [194.7.240.2] X-Originating-Email: [lode_leroy@hotmail.com] X-Sender: lode_leroy@hotmail.com From: "lode leroy" To: grub-devel@gnu.org Bcc: Date: Mon, 21 Jun 2004 09:09:04 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jun 2004 07:09:05.0132 (UTC) FILETIME=[A34A62C0:01C4575E] Subject: GRUB2 / pxe X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 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: Mon, 21 Jun 2004 07:10:32 -0000 Hello, I managed to boot grub2 over PXE/TFTP/DHCP using the following code. Could someone add this to grub2, please? -- lode ps: it's a mix between pxeloader.S from grub0.94, abd boot.S from grub2 ====boot/i386/pc/pxeboot.S================================ #include #include /* * defines for the code go here */ .file "pxeboot.S" .text /* Tell GAS to generate 16-bit instructions so that this code works in real mode. */ .code16 .globl _start; _start: /* * _start is loaded at 0x7c00 and is jumped to with CS:IP 0:0x7c00 */ ljmp $0, $0x8200 . = 0x8000 - 0x7C00 -1 .byte 0 =================================================== I created the image as follows (I'm sorry I have not managed to update the makefiles appropriately) gcc -Iboot/i386/pc -I../boot/i386/pc -I. -Iinclude -I../include -Wall -W -DASM_FILE=1 -nostdinc -fno-builtin -c -o pxeboot_img-boot_i386_pc_pxeboot.o ../boot/i386/pc/pxeboot.S gcc -o pxeboot.exec pxeboot_img-boot_i386_pc_pxeboot.o -nostdlib -Wl,-N,-Ttext,8000 objcopy -O binary -R .note -R .comment pxeboot.exec pxeboot.img make ./grub-mkimage -v -d . -o core.img _chain ext2 normal boot hello ls fat _linux terminal vga font cat cmp minix ufs _multiboot cat pxeboot.img core.img > pxegrub2 =================================================== _________________________________________________________________ MSN Messenger v6.2 al geïnstalleerd? http://messenger.msn.be?DI=1032&XAPID=2604&SU=hotmail.be