-
Senior Member
registered user
I made some modifications to knoppix-autoconfig by adding following lines after last "fi":
# Setting right permissions and owners to /etc/qt3, /tmp/.ICE-unix and /tmp/.X11-unix
mkdir -p /tmp/.ICE-unix 2>/dev/null
chown -R root:root /tmp/.ICE-unix 2>/dev/null
chmod 1777 /tmp/.ICE-unix 2>/dev/null
mkdir -p /tmp/.X11-unix 2>/dev/null
chown -R root:root /tmp/.X11-unix 2>/dev/null
chmod 1777 /tmp/.X11-unix 2>/dev/null
chmod 777 /etc/qt3 2>/dev/null
# Copy everything from /etc/skel to /home/knoppix
mkdir -p /home/knoppix 2>/dev/null
cp -Rp /etc/skel/.??* /home/knoppix 2>/dev/null
cp -Rp /etc/skel/??* /home/knoppix 2>/dev/null
# mv /home/skel knoppix 2>/dev/null
chown -R knoppix:knoppix /home/knoppix 2>/dev/null
I think that home directory for user knoppix can be done in this early stage (before starting X) because in /etc/X11/Xsession.d/45xsession is always --ignore-existing before copying files.
These modificationg might be too complicated and I have forgotten what difficulties I had using 45xsession when copying files from /etc/skel to /home/knoppix. So this is only my temporary solution for KDE 3.4.1. Perhaps someone knows a better way to do these thing than I have done. I think that with KDE 3.4.0 was no problem in populating /home directory.
Hope there would be an updated 45xsession and knoppix-autoconfig file in next Knoppix release to solve these owner and permissions problems and /home/knoppix directory population problems.
-tapsa-
-
Re: HOWTO: Remaster the easy way using menu based scripts
Here are a couple of small observations. (1) The HOWTO is so well written and clear that I I got a little lost when I didn't see the commands for exiting chroot at the appropriate places, evem though it is mentioned in the text. Actually sticking them in the command examples would make it just a little more explicit. (2) Most folks attempting this will be familiar with the apt-get way of life. But some may be a little newer (like myself). The HOWTO mentions grabbing updates from a local mirror. HHow about adding this OPTIONAL section for explaining how to do just that.
The following OPTIONAL section explains how to update your apt-get sources list to point to a fastt mirror near you. While in the CHROOT environment, type the following commands:
apt-get install apt-spy
apt-spy -d testing -a north-america -e 3
where apt-spy will test 3 mirrors (-e 3) in North America (-a north-america) that host the testing distribution of Debian (-d testing, versus stable, unstable, or security) and will REPLACE /etc/apt/source.list with information that will allow apt to download updates from the faster mirror tested.
-
Hi,
First of all I got to say thanks for that working and really easy to follow howto ... I've been searching quite a lot on the web to find the way to modify Knoppix and this is by far the most complete howto there is ! I wanted to contribute a little bit so here it is:
I succesfully Remastered a Knoppix v4.0.2 CD with this howto so it could be added to the list of compatible versions...
There is 3 things you need to know to do it successfully :
1. There's a bug with the knoppix remaster script ... after your done copying the whole cd on the drive you got the stop the script type exit a couple of times to reset the tty then restart the script ... if you don't do this you wont be able to see what you type
2. The part talking about /etc/X11/XSession.d/45xsession didn't really worked ... I used this thread to make my environment like I set it up : http://www.knoppix.net/forum/viewtopic.php?t=18156 (BTW the lines to comment aren't really the same numbers as stated in the thread but they are really closed. Use common sense and you'll figure it out ! )
3. The part that are stated for knoppix 3.8.2 do not apply to 4.0.2
Thats it, thats all. For the rest if you follow the instructions, you won't have any problems!
Stiff.
-
Oh yeah I forgot ... this should be sticky for sure !
-
Administrator
Site Admin-
Originally Posted by
stiffmaster
Oh yeah I forgot ... this should be sticky for sure !
Iym not sure what this is, but rather than clutter the top of forums with many stickies, now that the new wiki software is up and functional, we are encouraging people to place information that they consider useful to many users in the wiki. That way it is well organized in a place where it can easily be found and can be maintained by all who are concerned about it. I invite you to move and edit any information that you would consider important enough to be made "sticky" into the remastering section of the wiki (reached by the documentation link near the top of this page).
The wiki, of course, also welcoms new submissions. If you are about to respond to a question in these forums and the information might help more than just the person who asked the question, consider writing your response in the form of an entry in the proper place in the wiki, and then just posting a link to that wiki entry as your response in the forum. That way the information will be well indexed and made available to many.
-
-
trying to use USB flash disk
Hi again
i'm trying to 'saveconfig' (knoppix menu) the desktop and menu change into usb flash, -> which will turns into configs.tbz and knoppix.sh, and copy it back to the directory where the remastered reside
/mnt/<partition>/KNOPPIX or somewhere else it has configs.tbz and knoppix.sh, so it will rewrite it
,right before i'll burn the cd,
using konsole outside the chroot....
hope it will work
-
Troubel with eclipse ?
Hi , i want to make knoppix customizing with eclipse inside. I follow this tutorial, glad i have no trouble.
But when i execute the eclipse. it says , it need rw in folder ( /usr/share/eclipse/workspace ). I just answer , is the solution is make a symlink to /var folder ? ( i heard that all symlink will be erase when i do the create compressed fs ).
-
Is this possible?
HI,
First of all, thanks for the hard working of developing this tool. I have been using Knoppix since 3.1, but, never try to remaster. This tool definitely will make this task a lot easier.
I read through all the posts in this thread. Before I dive into the remastering project, it will be appreciated if someone here can tell me if it is possible to use this tool to get what I am looking for.
I got an Open Source scientific software, on a normal hard drive install (SuSE or Fedore Core), I need to un-tar/unzip the source code to specific folder (say /home/knoppix/Software, ....), then, I need to un-tar/unzip the binary code to specific folders (I am not sure where exactly the binary go to), then, I need to edit /home/knoppix/.bashrc to refect the changes. Each time, I open up a shell terminal, .bashrc executed.
So, in the tool, after I remove the packages I do not want, what will be steps to install this special Open Source software?
Thanks a lot for pointing to me a direction.
phsieh2006
-
12-22-2005, 12:05 PM
#100
Is this supportsfor remastering knoppix 4.0 also
Similar Threads
-
By acer0001 in forum Customising & Remastering
Replies: 1
Last Post: 01-25-2005, 05:38 PM
-
By ix86i in forum Customising & Remastering
Replies: 3
Last Post: 11-11-2004, 10:21 PM
-
By Steve F in forum Ideas
Replies: 0
Last Post: 10-21-2004, 03:28 AM
-
By bitey in forum Tips and Tricks
Replies: 0
Last Post: 09-01-2003, 09:05 AM
-
By rihad in forum Customising & Remastering
Replies: 7
Last Post: 07-02-2003, 06:18 AM
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
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$75.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$46.03
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
Intel Core i7-9700K Octa-Core 3.6 GHz Desktop CPU Processor
$165.00
Intel Core i9-14900KF Unlocked Desktop Processor
$579.99
Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK
$35.00
Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903
$269.00