SPARC and own kernel
lange at informatik.uni-koeln.de
Tue Feb 14 10:01:00 CET 2012
>>>>> On Tue, 14 Feb 2012 08:41:08 +0100, Denny Schierz <linuxmail at 4lin.net> said:
> I want to install several SPARC machines, X86 and LXC Linux container from a Squeeze X86 box. I'm able to install Squeeze via OpenBoot and it works with the netboot (DHCP/TFTP/NFS) Image for SPARC. Under SPARC (Sunfire v245) I installed the FAI-Quickstart, copied /etc/fai to /etc/fai-sparc, changed several pathes inside the config and called "make-fai-nfsroot -v -C /etc/fai-sparc" and copied all files (/etc/fai-sparc + /srv/fai-sparc) to my X86 Squeeze box.
First check the log of make-fai-nfsroot if everthing went fine. Is
live-boot installed inside the nfsroot?
> But now I hang, because the kernel doesn't find any "init",
> after the NFS mount, what's right. I can't use the pxelinux.0
> file, because it isn't SPARC executable, so I use my own
> monolith Kernel (which I use for a NFS based rescue system). So,
> I don't know, what I have to do now. My sources are:
Please use the default Debian kernel with an initrd. I'm not sure if a
monolithik kernel will work with FAI. We need the live-boot (or
dracut) package which cares about mounting via NFS and using an aufs
on to make the read-only nfsroot, writeable.
I'm not sure if it's possible to add some kernel command line
parameters when booting a SPARC. live-boot needs some additional
parameters like boot=live to work properly.
> [ 109.198293] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Mmm, saw that in the past but I can't remember how to fix it. First,
check the m-f-n logs.
More information about the linux-fai