Hi, is it possible to append more than only one file? Atm i've the kernel and my initrd that are loading. How can i access the other files in my diskimage? My problem is, that i can't see/mount the additional files in my diskimage, only the kernel and the initrd are shown. And I want to have separate files, it is not possible for me to put all needed files in the initrd to solve my problem. Or can I access the loaded diskimage somewhere? I tried to put two append lines in the config but the first append line was observed. Is this supported, what must I write into the syslinux.cfg? Thank you very much!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jul 12, 2005 at 11:48:36PM +0200, Sebastian Tillmann wrote:> Hi, > > is it possible to append more than only one file? > > Atm i've the kernel and my initrd that are loading. > How can i access the other files in my diskimage? > > My problem is, that i can't see/mount the additional files in my > diskimage, only the kernel and the initrd are shown. And I want to > have separate files, it is not possible for me to put all needed files > in the initrd to solve my problem. Or can I access the loaded > diskimage somewhere? I tried to put two append lines in the config but > the first append line was observed. > > Is this supported, what must I write into the syslinux.cfg?I'm not sure, but I think it is not supported. What you are asking is "appending" a second file to the kernel. AFAIK support Linux kernel only a single initial ram disk. I suggest to solve the problem in the initrd, so that the first initrd retrieves the the second "initrd".> > Thank you very much!I think "two stage initrd" is allready solved before. If you find some solution, then please post it here for having it in the mailinglists archive. Cheers Geert Stappers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFC1NzUOSINbgwa/7sRAjunAJ9xunSinEgiWBk32FwEjd8qzqitQQCglRQR GUGgjsJIOjEDlg3zoesQXnE=enuA -----END PGP SIGNATURE-----
Hi, thanks for the answers so far. I am now able to load two files over tftp by specifying multiple initrd images in the pxelinux config file. Besides the kernel image, I'm loading the normal initrd file and an additional file. The problem: It looks like the addtional file must be mountable by the kernel to access the contents of it. As this file is dynamically generated for each of the clients and I cannot generate a mountable image file, I need some way to access the additional file from the booted system. So, I have the kernel loaded, the initrd booted and the additional file resides somewhere in the RAM. I now need a way to access this file. For example, I can access the kernel file via /proc/kcore; the initrd image is accessible via /dev/initrd (I guess this is the initrd image?). Is there a similar way to access any additional files that pxelinux loaded from the tftp server? Any suggestions? Thanks again for the help!