Facing problem when trying to enable TFTP in GRUB 0.97 legacy
From:
chandra sekhar
Subject:
Facing problem when trying to enable TFTP in GRUB 0.97 legacy
Date:
Thu, 26 May 2011 20:08:10 +0530
Hi, I am new to grub boot loader.
I made set up like TFTP client is running at one machine and TFTP server is running on another machine(I enabled TFTP server properly ). Client side I am using GRUB0.97 where I need to set up TFTP client.
I am trying to do the TFTP using grub0.97 legacy at client side to download the files from TFTP server(server is running as user application on another linux machine).
I have compiled the grub0.97 legacy for client side as 1. sudo ./configure --enable-rtl8139 --enable-diskless CC=gcc34 //--enable-rtl8139(adding the NIC driver) // -enable-diskless compiling as diskless for network boot
2. sudo make install
As I understand that first command generating the make files for network boot and rtl8139 driver and same will add ifconfig command in command list of grub. when I enter the command "ifconfig" at grub prompt it is giving error as " Error 27: Unrecognised command"
and also I did some experiment as
I inserted debug message in /netboot/buildins.c under #def SUPPORT_NETBOOT, it is printing properly After executing ./grub/grub statement at command prompt, grub shall comes up like GRUB>
when I enter the command "ifconfig" at grub prompt it is giving error as " Error 27: Unrecognised command"
Can any one help me to resolve the same issue? If I missed any thing suggest me to correct my mistake.
Am I added properly "ifconfig" or not. If not can you please advice me how to add.