PDA

View Full Version : AUFS how to install.



Mroofka_PL
01-11-2007, 01:38 AM
Hi,

I'm new in this so please be patient :P. I'm trying to make remastered knoppix and after simply steps like removing packages and editing logo I stopped on kernel replacing. I managed to compile cloop and it apears to work but I have problem with aufs. I completely don't know where to start with it.
Can somebody explain me step by step how to install aufs? Mayby is simply way to change it back to ufs? (because I think that using older version of knoppix will also work) I'm using 2.6.18-gentoo-r4 kernell but I think that it isn't problem.

I'v got this message after booting.

Found primary KNOPPIX (cut)
creating /ramdisk (cut) ... done
ERROR: CANNOT UNITE READ-ONLY MEDIA AND INITIAL RAMDISK! shutdown: hda
System halted

>>Read-only CD sytem successfully merged with read-write /ramdisk
/linuxrc: cannot create /var/run/utmp: directory nonexistent
VFS cannot open root device "<NULL>" or unknonw-block (8,4)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,4)


I didn't install aufs after changing kernell so I assume that this is problem.

Pleas help

Thanks in advance
Mroofka

kaspare
01-14-2007, 05:44 PM
Hi,
I had the same problem, you should a line in the file linuxrc in minirt.gz.


if test -n "$UNIONFS" && /bin/mount -t aufs -o "br:$UNION=ro" /UNIONFS /UNIONFS; then

You can boot knoppix with the "debug" option give a couple of "exit", and with a copy of the linuxrc try to debug the aufs step.

Saluti

Max

kaspare
01-14-2007, 05:54 PM
Oops I was to fast!!

Here's the modified line:

if test -n "$UNIONFS" && /bin/mount -t aufs -o "br:$UNION=ro" /UNIONFS /UNIONFS


With the cd (not the dvd) $UNION should be /ramdisk:/KNOPPIX
Check if the dir /UNION is present...I had to /bin/mkdir /UNIONFS just before " # Do the actual mount".


Cheers

Max