--- Seth Arnold <sarnold@wirex.com> wrote: > On Wed, Jul 09, 2003 at 05:32:51PM -0700, PoIsOn > wrote: > > I am trying to boot a 2.4.2 kernel with a root > file > > That kernel is extremely old and has significant > security problems. Too bad for me .(- > > system that is resident in memory.This section of > > memory is mapped;so no problems getting there.I > don't > > want to use the ramdisk method as the kernel > spends > > quite some time to unzip and then load the stuff > onto > > memory(the big for loop in driver/block/rd.c). > > How do I tell the kernel to find the root FS at > _X_ > > You will probably need to write your own support for > this. Maybe you can > take the guts of rd.c and remove the code that > performs the unzip. I did try doing that but it is the copying part that takes plenty of time/cycles.Moreover, the writes in the for loop go thru' the buffer cache...maybe I could change this to a static address of the kernel memory and avoid the buffer cache;sounds like raw I/O.Does anyone know where the ramdisk is loaded after the unzip/load process?Where does it exactly fit in? p;n > -- > "In time of war, the laws are silent." -- Chief > Justice of the United > States Supreme Court, William Rehnquist > > ATTACHMENT part 2 application/pgp-signature __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/