PDA

View Full Version : Root file system links to UNIONFS (e.g. bin -> /UNIONFS/b



Jim Tonic
05-10-2006, 11:01 AM
Hello,
I'm trying to remaster the new Knoppix 5.0 CeBIT Version.
I found Remaster From Hd Install HowTo (http://www.knoppix.net/wiki/Remaster_From_Hd_Install_HowTo) and Knoppix Remastering Howto (http://www.knoppix.net/wiki/Knoppix_Remastering_Howto) very helpfull, thanks for that.

But still I've got a problem.
I've made an empty partion where I installed Knoppix with knoppix-installer-latest-web (in my case /dev/hdc2)
I need that because I need a full system to which I can boot to install everything (Tomcat, JDK, Eclipse and stuff). This is much easier than chroot into it.
I'll boot to it and create a file /home/knoppix/test.txt for testing purpose.

I make a cloop compressed file system of /dev/hdc2 according to "Remaster From Hd Install HowTo" and then make an iso image.
If I boot that iso image with qemu my root file system is linked to /UNIONFS.
e.g.
bin -> /UNIONFS/bin
mnt -> /UNIONFS/mnt
...

The file /home/knoppix/test.txt is not there, it's only in /UNIONFS/home/knoppix/test.txt

What am I doing wrong ?
Thanks for any help.

firnsy
05-24-2006, 04:14 AM
I'm not sure if you've solved this one, but in case you haven't ...

The reason you are not seeing it in /home is because /home is not linked the same way as /bin, /boot, etc. It is in fact created from /etc/skel during the boot phase.

If you need a file in the /home directory on boot up then consider placing it in /etc/skel.

Let us know how you go.

firnsy