
Hi,
I managed to add a section to linuxrc of the netboot 0.8 package which downloads the seconds stage via http, but after updating the files to the grml-small 0.3 kernel and modules I noticed it lacks unionfs support?!
So can anyone give me a small hint how to compile a customized grml-small kernel I can use for PXE booting?
BTW: My intention is to prevent setting up a NFS server in my network...
bye, Markus

* Markus Wigge mwigge@marcant.net [20061208 12:40]:
I managed to add a section to linuxrc of the netboot 0.8 package which downloads the seconds stage via http, but after updating the files to the grml-small 0.3 kernel and modules I noticed it lacks unionfs support?!
What exactly are you doing there?
The unionfs-module is *not* part of the kernel itself, it's a module (unionfs.ko) located in /modules/ of initrd.
regards, -mika-

Hi there,
I managed to add a section to linuxrc of the netboot 0.8 package which downloads the seconds stage via http, but after updating the files to the grml-small 0.3 kernel and modules I noticed it lacks unionfs support?!
What exactly are you doing there?
The unionfs-module is *not* part of the kernel itself, it's a module (unionfs.ko) located in /modules/ of initrd.
ok, I updated the kernel to the grml-small kernel and only had a look at the modules under /lib/modules... I apparently did not notice the /modules directory. Why do you put these modules separately from the others?
But I did not yet find the unionfs modules for the grml-small kernel, only for the "big" grml kernel.
BTW: what tools do you guys prefer to clone partitions (windows and linux installations in an education network) partimage seemed to be quite unstable on my last tests.
thanks for your answer, Markus

* Markus Wigge mwigge@marcant.net [20061211 15:15]:
The unionfs-module is *not* part of the kernel itself, it's a module (unionfs.ko) located in /modules/ of initrd.
ok, I updated the kernel to the grml-small kernel and only had a look at the modules under /lib/modules... I apparently did not notice the /modules directory. Why do you put these modules separately from the others?
Because the modules are handled different, and it does not matter at all - all relevant code is in /linuxrc and handled by our own. Do *not* mix userspace and initrd parts!
But I did not yet find the unionfs modules for the grml-small kernel, only for the "big" grml kernel.
Take a look at the initrd file minirt26.gz (/modules/unionfs.ko), seems you are looking at the wrong place (initrd vs. userspace).
BTW: what tools do you guys prefer to clone partitions (windows and linux installations in an education network) partimage seemed to be quite unstable on my last tests.
Please be more verbose on the "unstable" for partimage. What kind of problems did you consider?
regards, -mika-

Hi again,
The unionfs-module is *not* part of the kernel itself, it's a module (unionfs.ko) located in /modules/ of initrd.
ok, I updated the kernel to the grml-small kernel and only had a look at the modules under /lib/modules... I apparently did not notice the /modules directory. Why do you put these modules separately from the others?
Because the modules are handled different, and it does not matter at all - all relevant code is in /linuxrc and handled by our own. Do *not* mix userspace and initrd parts!
yes, the /linuxrc was the first I saw and where I added the http download of the stage2 image file.
But I did not yet find the unionfs modules for the grml-small kernel, only for the "big" grml kernel.
Take a look at the initrd file minirt26.gz (/modules/unionfs.ko), seems you are looking at the wrong place (initrd vs. userspace).
Maybe, I used the netboot package for 0.8 and made my changes, now as you say it I should had had a look at the originial initrd too.
BTW: what tools do you guys prefer to clone partitions (windows and linux installations in an education network) partimage seemed to be quite unstable on my last tests.
Please be more verbose on the "unstable" for partimage. What kind of problems did you consider?
Well, like the server crashes as soon as a second client tries to connect it for example. I'm currently trying to find out why and if the newer beta has the same trouble (but I think so, I already had similar issues before I started with grml-small).
Ah, and another point: "apt-cache show grml-etc-core" says: Depends: vim | nvi, zsh
Why not "Depends: editor, zsh"? This way I cannot replace nvi by vim-tiny without breaking dependencies.
/Markus

* Markus Wigge mwigge@marcant.net [20061213 16:15]:
Take a look at the initrd file minirt26.gz (/modules/unionfs.ko), seems you are looking at the wrong place (initrd vs. userspace).
Maybe, I used the netboot package for 0.8 and made my changes, now as you say it I should had had a look at the originial initrd too.
Ok.
BTW: what tools do you guys prefer to clone partitions (windows and linux installations in an education network) partimage seemed to be quite unstable on my last tests.
Please be more verbose on the "unstable" for partimage. What kind of problems did you consider?
Well, like the server crashes as soon as a second client tries to connect it for example. I'm currently trying to find out why and if the newer beta has the same trouble (but I think so, I already had similar issues before I started with grml-small).
Oh ok.
Ah, and another point: "apt-cache show grml-etc-core" says: Depends: vim | nvi, zsh
Why not "Depends: editor, zsh"? This way I cannot replace nvi by vim-tiny without breaking dependencies.
Thanks for the hint. Adjusted:
http://hg.grml.org/grml-etc-core/rev/745f7ba5c175
grml-etc-core_0.2.11_all.deb is online as well (grml-testing).
regards, -mika-

Hi again,
I managed to add a section to linuxrc of the netboot 0.8 package which downloads the seconds stage via http, but after updating the files to the grml-small 0.3 kernel and modules I noticed it lacks unionfs support?!
What exactly are you doing there?
The unionfs-module is *not* part of the kernel itself, it's a module (unionfs.ko) located in /modules/ of initrd.
Well, finally I got it running, but the unionfs-module package depends on linux-image-2.6.18-grml and not on the "grml-small" kernel package.
Unfortunately I cannot find the grml-small kernel in the repository pool? Can I get it separately? And how can I rebuild it?
bye, Markus

* Markus Wigge mwigge@marcant.net [20061212 21:35]:
Well, finally I got it running, but the unionfs-module package depends on linux-image-2.6.18-grml and not on the "grml-small" kernel package.
Just build the kernel module against the sources of your choice using something like:
module-assistant -f -l '2.6.18-grml-small' -k /path/to/kernel/linux-2.6.18-grml.small build unionfs
Unfortunately I cannot find the grml-small kernel in the repository pool? Can I get it separately? And how can I rebuild it?
http://dufo.tugraz.at/~prokop/grml-kernel/2.6.18-grml-small/
The kernel configuration and the all-in-one-patch are available at http://grml.org/kernel/ too - build the kernel using make-kpkg.
regards, -mika-
Teilnehmer (2)
-
Markus Wigge
-
Michael Prokop