PDA

View Full Version : How to replace UNIONFS in Knoppix 3.9?



tr
07-19-2005, 04:08 PM
I'm doing a remastering with 3.9 version and would like to replace buggy unionfs version (052605-1143) with stable 1.0.11-1 version.

I can remove unionfs-module-2.6.11 with apt but also knoppix-image is removed at the same time. Then I can install unionfs-source and unionfs-utils with apt but not knoppix-image.

Now the situation is that I have a working UNIONFS but can't choose 'create a persistent KNOPPIX disk image' from Knoppix menu, and the former created disk image is not recognized.

How to get knoppix-image installed back? Is there an apt repository somewhere where it could be installed with apt?


-tapsa-

Sergey.Khlutchin
07-20-2005, 09:25 PM
install unionfs-utils from debian

tr
07-22-2005, 09:51 PM
I found solution in an other tread:

dpkg-repack knoppix-image
I had Knoppix 3.8.1 and got package knoppix-image_0.5-8_i386.deb from it with dpkg-repack. Then I installed it:

dpkg -i knoppix-image_0.5-8_i386.deb

Now the case is closed!


-tapsa-

Sergey.Khlutchin
07-23-2005, 08:03 AM
But now possibly you have doungraded knoppix-image

tr
07-23-2005, 08:57 AM
But now possibly you have doungraded knoppix-image

Yes, you are right. I think knoppix-image from Knoppix 3.9 can also be used. So
dpkg-repack knoppix-image in Knoppix 3.9 gives knoppix-image_0.5-9_i386.deb

-tapsa-

knopx4me
07-23-2005, 09:20 AM
Did this solution solve the problem for you?

tr
07-23-2005, 08:04 PM
Did this solution solve the problem for you?

Yes and no. Now knoppix-image works but KDE does not start.

This is a littlle bit out of topic but I get this in my /home/knoppix/.xsession-errors:

/etc/X11/Xsession.d/45xsession: line 73: [: : integer expression expected
/etc/X11/Xsession.d/45xsession: line 77: [: : integer expression expected
SocketCreateListener: failed to bind listener
SocketUNIXCreateListener: ...SocketCreateListener() failed
MakeAllCOTSServerListeners: failed to create listener for local
Cannot establish any listening sockets
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.
Warning: connect() failed: : Connection refused
SocketCreateListener: failed to bind listener
SocketUNIXCreateListener: ...SocketCreateListener() failed
MakeAllCOTSServerListeners: failed to create listener for local
Cannot establish any listening sockets
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.

After this twm starts and gives error message of ksmserver which could not be started.

This is at least fifth time I try to remaster Knoppix 3.9. This time I made a brand new remastering and used only stable and testing packages in updating (changed default-release to sarge and commented unstable out from sources.list). Only KDE 3.4.1 is experimental.

But I can't understand whyI can start X from my chrooted remastering partition ('su - knoppix' and 'startx'). Anyhow, I got error message of DCOpServer that is already running but KDE starts and everything works. But why do they not work after doing a compressed fs and isofs?

I hope that someone could tell me what those error messages mean and how to get rid of them.

I have used menu based scripts in my remastering.


-tapsa-

knopx4me
07-24-2005, 07:58 AM
Did you do the following while chrooted:

chmod 777 /tmp

But anyway, the reason I asked you if it did work is that I have tried to remaster it several times after downgrading UnionFS, but failed so I gave up and remastered Kanotix instead.

tr
07-24-2005, 09:52 AM
Did you do the following while chrooted:
chmod 777 /tmp

No need for that anymore because in knoppix-autoconfig is line 524:

chmod 1777 /tmp 2>/dev/null

So it is right by default. And as I said before, I can startx X in chrooted state fine.

But when I do compressed fs and isofs, I can boot to text mode (boot: linux 2) but not in X. If I try to change to graphical mode by init 5, I get errors. Why can't I start DCOPServer here (booting my new remastering) but can start it there (chrooted)?

One thing more. I can start an other X in my working remastering (from Knoppix 3.8.1) by su - knoppix and startx -- :2 (starts X to an other virtual terminal). It is the same as starting X in chrooted state. But in my new remastering (Knoppix 3.9). I get X: user not authorized to run the X server, aborting. Why do I have no permissions to run X server? In spite of that /home/knoppix is populated right.

Anyhow, I'm not giving up. There must be a solution somewhere. But I don't know KDE's starting process enough, so it's difficult to figure out what is not right. I think that knoppix-autoconfig is right because I can boot to text mode fine.

So is the problem in 45xsession or in kdeinit which starts dcopserver? Perhaps someone could help me.

I have also noticed that reversing back to stable UnionFS didn't help. Sometimes my whole machine is halted perfectly in spite of that. Perhaps the problem in Knoppix 3.9 has been kdeinit and not UnionFS .


-tapsa-