Re: Re: [Etherboot-users] Kernel creation for use with Etherboot
Brought to you by:
marty_connor,
stefanhajnoczi
From: Sandeep T. <san...@re...> - 2005-08-23 13:38:59
|
=0AHi Marty,=0AI'm facing a problem in configuring for the ROM image on r= om-o-matic. I have the kernel image and the rootfs.=0AI'm making the kernel= image network bootable as follows:=0Amknbi-linux linux.binary --param=3D"r= oot=3D/dev/nfs ip=3D::::::nfsroot=3D/tftpboot/rootfs console=3DttyS0,115200= " > board/kernel.nb=0ANow I have the net-bootable image in my board directo= ry.=0AI have the SBC board to which floppy can be connected. so I want to m= ake the floppy ROM image. How should I configure for it??particularly that = "advanced_only_encapsulated" option..??=0A=0AThanks,=0ASandeep.=0A=0AOn Tue= , 21 Jun 2005 Marty Connor wrote :=0A>On Jun 20, 2005, at 3:32 PM, Faber wr= ote:=0A>>Hi there. I'm new to etherboot, and while I've been using linux f= or at least a couple of years, I'm still not quite down with the kernel com= pile process. I created a directory called /newkernels/ in order to downloa= d source and compile a custom kernel for a computer which I would like to u= se etherboot with. the full directory to my source is /newkernels/src/linu= x-2.4.27/=0A>>now, I've done make dep, make bzImage, make modules, but I sk= ipped make modules_install because I didn't want to install any modules on = the server computer. the etherboot howto at http://etherboot.sourceforge.n= et/doc/html/userman/x126.html under "Compiling a Custom Kernel" states that= before I can run mkelf-linux to create the boot image, I need to create an= initial ram disk for this kernel image. Now, again I'm not perfectly fami= lliar with building kernels, and I've hunted around the net, and have no cl= ue on how to properly use mkinitrd. I've read the man page which didn't he= lp solve anything, unfortunately. Can someone who's done this either help = me, or point me at a howto for etherboot which is much more in-depth and co= mprehensive than the one on the website?=0A>>Thanks a lot, I know this isn'= t exactly on topic, but any help whatsoever is appreciated!=0A>>--Faber=0A>= =0A>Hi Faber,=0A>=0A>Welcome to Etherboot. I can understand your confusion= about how to proceed.=0A>=0A>Can you describe more about how you would lik= e things to work after you boot? It sounds like you would like to have the= client computer run without the need for a server after it is booted.=0A>= =0A>This is certainly possible.=0A>=0A>There are two ways to use Etherboot = to boot a kernel (and optionally mount an initrd and run a linuxrc script o= n it).=0A>=0A>You can use mknbi-linux to make an NBI image, which contains = your kernel, and additionally may include an initrd, or you can use the PXE= LINUX package to load a kernel and initrd for you. PXELINUX does not need = the kernel and initrd to be wrapped.=0A>=0A>Since Etherboot only recently g= ot PXE support (as of 5.4.0), there is somewhat less documentation on the E= therboot site about booting via PXE, but there is lots of information on th= e net about how to use PXELINUX, and if you just treat Etherboot like any o= ther PXE bootloader, you will be able to load a pxelinux.0 file from your t= ftp server. pxelinux.0 will in turn load your kernel and ramdisk as direct= ed by the configuration file(s) in the pxelinux.cfg directory.=0A>=0A>An ad= vantage to using PXELINUX is that if you need to change your kernel or init= rd, you don't have to remake the NBI image, just put the new file on the tf= tp server and go.=0A>=0A>Here is a link that talks about making initrd imag= es. It also has some sample initrd images from some Linux installation CDs= .=0A>=0A> http://www.linux-boot.net/InitRD/Creating/=0A>=0A>I also sugg= est that you check out the LTSP (linux terminal server project) site=0A>=0A= > http://www.ltsp.org/=0A>=0A>There is lots of interesting information t= here about network booting, and especially what to do after the kernel is l= oaded.=0A>=0A>If you can be more specific about what you are trying to acco= mplish, perhaps we can point you to or provide more specific information on= how to reach your goal.=0A>=0A>Once again, welcome, and I hope this helps = you find your way.=0A>=0A>Marty=0A>=0A>-- Try: http://rom-o-matic.net/ = to make Etherboot images instantly.=0A>=0A> Name: Marty Connor=0A>US Mai= l: Entity Cyber, Inc.; P.O. Box 391827;=0A> Cambridge, MA 02139; U= SA=0A> Voice: (617) 491-6935; Fax: (617) 491-7046=0A> Email: mdc@etherb= oot.org=0A> Web: http://www.etherboot.org/=0A>=0A>=0A>=0A>-------------= ------------------------------------------=0A>SF.Net email is sponsored by:= Discover Easy Linux Migration Strategies=0A> from IBM. Find simple to foll= ow Roadmaps, straightforward articles,=0A>informative Webcasts and more! Ge= t everything you need to get up to=0A>speed, fast. http://ads.osdn.com/?ad_= id=3D7477&alloc_id=3D16492&op=3Dclick=0A>__________________________________= _____________=0A>Etherboot-users mailing list=0A>Eth...@li...ur= ceforge.net=0A>https://lists.sourceforge.net/lists/listinfo/etherboot-users= =0A |