[gPXE] Linux instalation using linux iso image.

sivakumar siva kumar td_sk at rediffmail.com
Mon Jul 5 09:36:16 EDT 2010


Sir,

   Thanks for your replay & sorry for the delay in my replay.

It is unclear which component (gPXE, BIOS, Linux kernel, distro
installer) is displaying this error message..


   I am using 1.0.0 . I am using linux kernel 5.5 & 5.3. Bios it is an Cisco blade with there own bios.

Your comments:The following commands work for me, I just tested with RHEL 5.5 and a
KVM virtual machine:
dhcp net0
kernel http://10.0.2.2:8000/isolinux/vmlinuz askmethod
initrd http://10.0.2.2:8000/isolinux/initrd.img
boot 


When i give this cmd it is working fine and with out error I am going to nex line. But when i give boot cmd it says no unique boot image is found.

I loaded the iso image in http service and it is working fine.

I don't know  what mistake I am doing . Or it may be an issue of my bios. I am attaching the screen shot please review it.

Thanks & Regards.
Siva Kumar.


 
On Sat, 03 Jul 2010 13:13:18 +0530  wrote
>On Sat, Jul 3, 2010 at 7:57 AM, sivakumar siva kumar

 wrote:

>

> Sir,

>

> Thanks for the replay.



Please keep the gpxe at etherboot.org mailing list CCed. That way others

can follow the conversation and make suggestions.



>

> I try to excute the lines which you mentioned. But after that whn i try to boot it is showing error no uniqe image loaded.



It is unclear which component (gPXE, BIOS, Linux kernel, distro

installer) is displaying this error message. Can you give more

details about your configuration and what happens before you see the

error message?



The following commands work for me, I just tested with RHEL 5.5 and a

KVM virtual machine:

dhcp net0

kernel http://10.0.2.2:8000/isolinux/vmlinuz askmethod

initrd http://10.0.2.2:8000/isolinux/initrd.img

boot



The HTTP server is listening on 10.0.2.2:8000 and exports the entire

RHEL 5.5 ISO contents. The ISO was mounted with "mount -o loop

RHEL5.5.iso /mnt" and the HTTP server has /mnt as the server root.

The kernel and initrd paths therefore need to point into the isolinux/

directory (i.e. isolinux/vmlinuz and isolinux/initrd.img).



I use "askmethod" on the kernel command-line so that the installer

prompts whether to install from CD-ROM, HTTP, FTP, etc. When HTTP is

selected, there is a dialog to enter the hostname/ip of the HTTP

server and the path, I use "10.0.2.2:8000" and "/".



When you run the commands above, you will see gPXE download the kernel

and initrd. Then Linux boots and kernel messages scroll past - at

this stage gPXE is not used anymore and Linux has taken over. Then

/sbin/loader starts the distro installer and menus appear to select

your language, keyboard, and installation method. At which stage are

you seeing the error message?



Also, I noticed in your original email you wrote "insolinux" instead

of "isolinux". Is that a typo in the email or did you really use that

in the command?



If you're still stuck, consider sending a screenshot when the boot

stops with an error message.



Stefan



>

> Thanks

> Siva Kumar.

>

> On Sat, 03 Jul 2010 00:54:14 +0530 wrote

> >On Fri, Jul 2, 2010 at 9:30 AM, sivakumar siva kumar

>

> wrote:

>

> >

>

> > Hi all,

>

> >

>

> > I would like to install an os through gpxe using httpd servece.

>

> >

>

> > My setup like this.

>

> >

>

> > 1.I have web server which is running in linux. I mounted the iso image in /var/www/html/.

>

> >

>

> > 2. I have created the dhcp server and through gpxe iso i am getting dhcp ips.

>

> >

>

> > 3. After getting the ipaddress i press ctl b from i am issuing the the following cmd

>

> >

>

> > gPXE> kernel http://ipaddress/RH_5.5/insolinux/vmlinuz

>

> > http://ipaddress/RH_5.5/insolinux/vmlinuz......ok

>

> > gPXE> initrd ipaddress/RH_5.5/insolinux/initrd.img ramdisk_size=8265

>

> > gPXE> append method http://ipaddress/RH_5.5/

>

> > Append command is not found

>

> > gPXE>

>

> >

>

> > RH_5.5 is my folder where the iso is mounted.

>

>

>

> "append" is not a gPXE command. It is a PXELINUX command, which you

>

> may have used previously to PXE install Linux. See here for the list

>

> of gPXE commands:

>

>

>

> http://etherboot.org/wiki/commandline

>

>

>

> I suggest trying:

>

> dhcp net0

>

> kernel http://ipaddress/RH_5.5/insolinux/vmlinuz method http://ipaddress/RH_5.5/

>

> initrd ipaddress/RH_5.5/insolinux/initrd.img

>

> boot

>

>

>

> Stefan

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20100705/5237cc03/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gpxe_loaded_menu.docx
Type: application/octet-stream
Size: 51719 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe/attachments/20100705/5237cc03/attachment-0001.obj 


More information about the gPXE mailing list