-
Senior Member
registered user

Originally Posted by
mzilikazi
Indeed it is far easier to remaster if you can boot it.

Plus desktop customizations become possible that are much more difficult if you're using chroot.
I've never tried to use the persistent home feature during a remaster however. I simply do
Code:
mv /home/knoppix /etc/skel
Some other things I've learned......
You can change the default keymep
install-keymap us
dpkg-reconfigure console-common
Change default background:
cp /your/fav/image.jpg /usr/local/lib/knoppix.jpg
Make it the same as your WM background and you have a nice transition
from text mode to desktop.
Debian menus:
update-menus -v
To remove the original KDE menus:
rm -rf /etc/skel/.kde/applnk
rm -rf /usr/share/applnk
(or just go into those directories
and remove all references to KDE apps).
I don't actually use the persistent home for the remaster, it just makes running the 'toHD' install easier...and the toHD install makes a much more convenient backup system than using the CD. The persistent home would still be active after you copied the KNOPPIX file to the toHD install to test it however, unless you modified lilo so that it booted without it. I suppose it could possibly cause some problems since it would be set up for the original KNOPPIX filesystem.
I tried your method for saving /home/knoppix, I had actually included the code in my remaster.clean script at one point:
Code:
mv /home/knoppix /etc/skel
touch /home/knoppix
chown knoppix:knoppix /home/knoppix
chown -R root:root /etc/skel
but something went wrong & I was left with an empty /home/knoppix & an empty /etc/skel! I think it was unable to write to /etc/skel so it removed /home/knoppix as step 1 of the mv but couldn't write it so it just reported an error & lost it. Then dumb me fixed whatever reason it couldn't do the write & tried it again....this time it worked but now /home/knoppix was empty so it wiped out /etc/skel as well.
That was my last remaster effort with knx3.3...I then tried apt-get upgrade which pretty much slaughtered the system so I started working on 3.4 instead.
I've just tried the cleanup script & a remaster with 3.4, there were some errors is the cleanup script but making the compressed fs did not go well...it ended up 1.1Gig, overfilled the target partition & crashed with 'fatal: could not load /lib/mopdules/2.6.6/modules.dep-no such file' error when I tried to run it. Not sure why, the remaster was downsized from Knoppix original & should have ened up about 550Meg. I don't think anything has changed in the create compressed file system step from knx3.3 to knx3.4. Or has it?
The background menus is a nice tip, I will include it in the final HOWTO. I don't want to include the kde menus info because I use KDE but should include something about removing uneeded /home/knoppix/.hidden-setup-files. There should be more documentation about .desktop & other setup files & how they work but I'm not knowledgable enough to write it.
Can you enlighten me about sorting prior the making the compressed fs? Is it necessary? or desirable?
I see you were using:
Code:
ls -U /build/KNOPPIX
boot.img KNOPPIX
cd /build
what is this doing? (probably it is now a moot point as 3.4 does not use boot.img).
Thanks
Similar Threads
-
By jimbob in forum The Lounge
Replies: 6
Last Post: 10-26-2004, 04:18 PM
-
By champagnemojo in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 02-12-2004, 06:53 PM
-
By champagnemojo in forum Hdd Install / Debian / Apt
Replies: 15
Last Post: 01-21-2004, 05:52 PM
-
By robelanator in forum The Lounge
Replies: 11
Last Post: 11-16-2003, 05:38 PM
-
Replies: 6
Last Post: 04-08-2003, 05:37 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

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD
$27.99

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG
$299.99

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99