Greetings, Hopefully a quick question.. I have been experimenting with pxelinux and have noticed the following, when using initrd.gz - vmlinuz needs to exist 'tftpboot' directory, else I get an error from pxelinux. eg. kernel/vmlinuz - vmlinux also needs to exist in initrd.gz (in the same relative path eg. kernel/vmlinuz) else Linux is not booted. [I haven't confirmed which one actually is booted, other then the file needs to exist in both locations.] I would like to only have a single copy of 'vmlinuz'. (I'm using the net booting to test various linux kernel options..) I suspect that vmlinuz only needs to be in 'initrd.gz', and that the pxelinux check can/could be disabled. Is this correct? Cheers, Paul
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello... Paul Schulz wrote: | - vmlinuz needs to exist 'tftpboot' directory, | else I get an error from pxelinux. Of course. PXElinux is a Linux Boot loader. Loading vmlinuz (the Linux Kernel file, I suppose?) is its job. Since the Kernel file is loaded via ~ TFTP over the network, it has to exist in the tftpboot directory. | - vmlinux also needs to exist in initrd.gz Nope. vmlinuz is read only by the boot loader, only once per boot. You don't need the file again later (so it does not need to be in your initrd)... | I suspect that vmlinuz only needs to be in 'initrd.gz', | and that the pxelinux check can/could be disabled. Wrong. PXELINUX, as I wrote, loads the kernel file via TFTP and uncompresses it into RAM. Afterwards it loads the initrd file and puts it into Memory too. (Don't know if it's decompressed by PXELINUX or by the Kernel itself, but that doesn't matter here). HTH bye Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/Ne7e2gF1h3CVOsMRAhA8AJ0SBatEagoLPml6+Lx0BMkQgCRoBQCg7I8i OnVvkB1AjV5HZbeGPFNXYQo=8Fqx -----END PGP SIGNATURE-----
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de
Hi, Paul Schulz <paul at mawsonlakes.org> schrieb am 10.08.03 06:02:00:> > Greetings, > > Hopefully a quick question.. I have been experimenting with > pxelinux and have noticed the following, when using initrd.gz > > - vmlinuz needs to exist 'tftpboot' directory, > else I get an error from pxelinux. > eg. kernel/vmlinuzIt doesn't need to exist. Depending on your configuration it's called 'vmlinuz', 'bzImage', 'kernel' or else. BTW: Why didn't you qoute your config file?> - vmlinux also needs to exist in initrd.gz > (in the same relative path eg. kernel/vmlinuz) > else Linux is not booted. > > [I haven't confirmed which one actually is booted, > other then the file needs to exist in both locations.]Usually you put all files in the same directory where pxelinux.0 resides. This would be the kernel and the initrd. Don't use directories.> I suspect that vmlinuz only needs to be in 'initrd.gz', > and that the pxelinux check can/could be disabled. > Is this correct?This last statement makes me wonder if we're talking about the same thing. What do you mean with that? There's some minimum root filesystem in the initrd (Initial Ram Disk, Initial Root disk, one of these it's called), the kernel is completely different from this. BTW, to answer the different question in this thread: pxelinux loads the kernel and the initrd via tftp, and spreads them over the memory (especially the kernel is put in at least two different places in memory): The (real-mode, 16 bit) setup part, which handles first memory setup, this is put into low memory (<1MB), and the 32 bit part, which is put into high memory (>1MB). The initrd is put after the 32 bit kernel part, also in high memory. Everything is uncompressed by the kernel itself, pxelinux only tells the 16 bit part where to find everything, passes the command line etc.pp. Regards, Josef __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.web.de