[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Editing /linuxrc in initial Kernel ramdisk


If you are using Etherboot, then you need to download
the ltsp_initrd_kit from the ltsp.org website.

Within that kit are all the pieces you need.  You will also
need to go to Etherboot.sourceforge.net and grab the mknbi-linux
tool to combine the kernel and the new initrd.

You should be able to just uncompress the initrd image that is
included in the kit, and mount it, then make your changes, and
unmount, and gzip it.

Then, use mknbi-linux to create the final image for booting.

Take a look at the buildk script to see what args are used for

You probably don't want to run the buildk script, because that
expects that you have built a kernel and have the kernel and
modules on your server.

Hope that helps,

Jim McQuillan
jam Ltsp org

On Tue, 30 Apr 2002, Christopher Hill wrote:

> Hi! This is a question for all you developers of K12LTSP.
> I'm trying to edit the dhclient.conf file that is created when clients boot 
> up using Etherboot. It is created by the /linuxrc file in the initial ramdisk 
> that is passed to the clients.
> As far as I can tell, there are a number of copies of the initial ramdisk 
> (the one before the pivot_root), all stored in TFTPRoot. A couple are in the 
> PXE directory as separate initrd files, and they are used for PXE booting. 
> However, I'm not 100% sure where the one that is used for non-PXE booting is 
> stored. I think it's appended to the kernel image file itself using mknbi.
> Can anyone confirm or deny this, and tell me how I can get at and edit all of 
> the copies of /linuxrc in K12LTSP, or tell me where I can go to get the 
> answer?
> Thanks!
> Chris
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]