-
Senior Member
registered user
How to build aufs for remastered Knoppix 5.1.1's kernel?
What am I doing wrong because I can boot my remastered Knoppix 5.1.1 CD using Qemu, but booting from CD stops 'Accessing KNOPPIX CD at /dev/hdc...' and giving 'Segmentation fault' message, and then continues booting from my installed system, or giving only minimal root environment and not booting?
It this a minirt.gz problem because only original minirt.gz works and my own version gives 'Kernel panic...' message? Just copying new modules to minirt from kernel tree makes this - no other changed. Weird?
EDITED 24.2. I have been using initramfs instead of initfs. Just forgot to copy init to the root
But still old problem exists with initramfs: Starting udev hardware hotplug detection failes. Anyhow, this aufs stuff has nothing to do with minirt.gz as far as I can see.
I have built aufs module against my running kernel both in normal user's home directory and in / directory as a root. No building problems and both boots from Qemu but not from CD.
This is how I built aufst:
Code:
$ cvs -z3 -d:pserver:[email protected]:/cvsroot/aufs co -P aufs
$ cd ~/aufs/
$ make -f local.mk
Then I just copid aufs.ko to /modules /where cloop.ko is copied, too (from /lib/modules/kernel_version/extra directory). Now I use 2.6.21-rc1 kernel but no success with it (same with previous kernel versions). Is 2.6.20 kernel or newer ones too new? Or what is wrong?
Can anyone show me, how to make a .deb package for aufs from CVS tree?
Is there any apt repository existing for aufs source?
-tapsa-.
-
Yes, this is a minirt issue. Open it up and you'll see that the aufs module needs to be loaded, not the unionfs module.
-
Hi again,
For ParallelKnoppix, I build aufs.ko within the chroot enviroment, and you need to tell it where your live CD kernel lives. The aufs README explains cross-compiling like this:
Currently these configurations are written in ./local.mk, ./local.mk will work
for you in most cases.
$ make -f local.mk
The local.mk searches your kernel build path by
KDIR = /lib/modules/$(shell uname -r)/build
If you are cross-compiling the aufs module, try
$ make KDIR=/your/kernel/build/path -f local.mk
so what I do is (inside the chroot)
Code:
make KDIR=/usr/src/linux -f local.mk
Then you also need to fix the minirt. I don't understand why you got something that works in QEMU but not with CD boot.
Similar Threads
-
By rbos in forum Customising & Remastering
Replies: 4
Last Post: 02-05-2007, 07:34 PM
-
Replies: 0
Last Post: 06-06-2006, 04:32 AM
-
By artturi in forum Customising & Remastering
Replies: 0
Last Post: 03-28-2006, 08:17 PM
-
By kevman in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 11-30-2005, 07:40 AM
-
By TheCyberDude in forum Tips and Tricks
Replies: 3
Last Post: 09-03-2003, 03:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

2X - SK Hynix 8GB (16GB) 2Rx8 PC4 2133P ECC HMA41GR7AFR8N-TF Server Memory RAM
$61.95

Lot Of 8 Micron 8GB 2Rx8 PC4-2666V-RE2-11 ECC REG Server Ram MTA18ASF1G72PDZ-2G6
$210.00

LOT OF 2 SK Hynix 8GB 1Rx8 PC4-3200AA ECC HMA81GR7CJR8N-XN
$89.95

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Lot of 32 IBM 32GB SERVER MEMORY MT80KHF4G72M3DZ-1G6E4B50A 00LP736 4Gx72 = DW
$17000.00

Micron 64GB 4DRX4 PC4-2400T-LE2-11 MTA72ASS8G72LZ-2G3B2MG DDR4 Server RAM KD313
$229.98

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Lot Of 16Micron MTA36ASF2G72PZ-2G1A2IJ 16GB 2Rx4 PC4-2133P-RB0-10 ECC Server Ram
$960.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98