Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: sodface on November 15, 2012, 04:39:31 PM

Title: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: sodface on November 15, 2012, 04:39:31 PM
Newbie here trying to PXE boot tiny core to a diskless workstation.  I like this method (http://wiki.tinycorelinux.net/wiki:dynamic_root_filesystem_remastering) of adding extensions to the stock tiny core.  What I'm trying to do is pxe boot the stock tc kernel and initramfs plus an additional initramfs that contains additional extensions as well as the core x extensions in the cde directory from the stock .iso.

The PXE boot works fine.  TC boots to the command line but the GUI never starts.  I don't believe that any of the extensions are loading though the extra initramfs transfers fine and is integrated into the root file system.

I tried having the extensions in /opt/tce/optional and /tmp/tce/optional along with onboot.lst and xcore.lst files one directory above the optional directory.

What am I missing?  I have searched but I'm having trouble finding anything that looks helpful.
Title: Re: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: gerald_clark on November 15, 2012, 05:00:41 PM
Try the netboot instructions in the wiki.
Title: Re: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: tinypoodle on November 15, 2012, 05:49:56 PM
Based on your description I couldn't spot a reason why that should not work.

Could you try to boot the same configuration with extlinux or syslinux from a hdd ext* or FAT* partition and see what happens then?
Title: Re: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: sodface on November 15, 2012, 06:13:16 PM
I did go through the netbooting section of the wiki and used the tftplist method described there successfully prior to trying the additional initramfs method - which I can't get to work.  The netboot wiki entry even documents the initramfs method for loading just nfs-utils extension.  I don't see what I'm doing differently other than trying to load about 15 tczs vs just one as in the wiki.

Edit//  tinypoodle - I'm going to mess with it more tomorrow - you're suggestion just taking the pxe boot out of the equation?
Title: Re: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: tinypoodle on November 15, 2012, 06:58:08 PM
Yes.
Title: Re: PXE Booting with Multiple Initramfs - Extensions Won't Load
Post by: sodface on November 16, 2012, 08:41:34 AM
I went through /usr/bin/tce-setup and in accordance with the section after the comment "Next Check for any tcz initrd builtins" I built my second initrd to extract into /tmp/builtin/optional.

This worked.