General TC > Tiny Core on Virtual Machines

Netbooting TCL with Xen Dom0


Let me start by just saying, what a fantastic effort TCL is! well done.

What I'm wanting to do is use TCL as the basis for PXE booting a TCL based Xen Dom0.

The boot process I'm using is the multiboot mboot.c32 module from the syslinux project 

However, where I'm a little unstuck is installing a custom kernel.

Unfortunately the version of the kernel source 3.0.21 that is provided does not yet have all the Xen modules that I'm requiring.  These are in Jeremy's pvops kernel branch 2.6.32.x though and because it's better tested for my config I want to have TCL running with the older kernel as a dom0.

So what I have started to do is customize the core iso by doing something pretty similar to the remastering link.  It actually starts to boot up but part way through the process the machine resets and I cannot see why.
I did copy all the modules and config files from a pre-built kernel to /lib/modules/

It did a little more reading and found the custom kernel link in the TCL wiki
Which suggests there are some patches applied to the kernel source for TCL.  But, those are against the newer 3.x kernel.  Are those patches going to need to be backported to my 2.6 kernel?

I guess I should step back for a moment and just ask, am I going about this the right way? 
Should I be starting with the latest version 4 TCL, or perhaps using an older version 3 which would have a version 2.6 kernel to start with?


I got a little further on this.  Without any of the patches from the alternate kernels applied as yet I have it getting as far as attempting to mount the initrd image I created.

What I want to do is mount that filesystem and keep it there.  So my pxe default file looks like:

LABEL tinyxen
  KERNEL mboot.c32
  APPEND /images/xen-4.1.2.gz noreboot --- /images/vmlinuz- noswap embed console=tty0 ro root=/dev/ram0 --- /images/tinyxen.img

But, what I get is:
  No filesystem could mount root, tried: ext3 ext2 ext4 fuseblk
  Kernel panic - not syncing: VFS: Unable to mount fs on unknown block(1,0)

Am I missing a kernel module to support the ram disk?

TC 4 is not going to run with a kernel that old. Both udev and glibc require something newer, IIRC. TC 3 might.
says 3.0 has the required support to run as dom0. It might be easiest for you to start from our config and enable what you need.

Thanks curaga.

I'll try one of those suggestions.

And just to fill in for anyone who is curious.

Yes, the 2.6.32 kernels do work with the older 3.x series, even the newest of the version 3 TCL.


[0] Message Index

Go to full version