On Tue, Nov 30, 2004 at 12:08:50AM +0200, Ira Abramov wrote: > Quoting Yedidyah Bar-David, from the post of Mon, 29 Nov: > > > > > > I have a bzImage. It was built with 2.6.* kernel. I do not know the > > > configuarion > > > ( More rpecisely :I'm not sure I have the .config file it was built with > > > ). > > > > 2.6 added the option to include this file in the kernel itself, as > > /proc/config.gz. You might look there. > > Didi... it's a chicken and egg thing, you see... to look in /proc under > that kernel, it has to be booted on a machine. we are talking about a > bzimage that is not yet running. if running it was an option the > question would not rise. in fact, if he reboots a remote server without > a watchdog, and the ext3 driver is not there, he doesn't need /proc to > find out as the kernel will panic and halt, which is a silly thing to do > on a remote machine.
That wasn't my impression - the OP did talk about /proc. In any case, as was already mentioned, there is a script to get the config from the bzImage. BTW, nobody stops you/him from booting this bzImage on another machine, just for this purpose. Unless it's a very weird kernel, it should boot to /bin/sh of an ext2 initrd with no problem on almost any machine. Last note - I really do not understand this trend of compiling the kernel with a modular ext3, while defaulting "/" to be ext3, therefore forcing you to have an initrd, started by RH7.2. Of course some hardware will require it anyway, but common hardware won't. Thinking about it, it really seems to me not to be the result of careful thinking and design (e.g. to save memory if the user chose ext2), but rather a result of a simple miscoordination between the team responsible for the kernel and the one who decided on defaulting to ext3 (which was considered by many new and imature, at the time) in the installer. -- Didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
