-
A working DVD remaster manual (with X-Desktop)
I wrote a mostly command based but fully complete manual to remaster the knoppix DVD. Here it is:
Code:
The first WORKING!! Knoppix DVD remaster Guide WITH X-Desktop. (c) 2005 by ArkoN <www.ArkoN.ch>
Boot your knoppix with a window manager(thats needed for a working XF86Free-Config-4 file)
The DVD Filesystem CANT!!! handle files bigger than 2 GB
make a 25GB ext2 Partition and name it sda1(or whatever you want) then remaster it with these commands:
su -
mount -rw /dev/sda1 /mnt/sda1
mkdir /mnt/sda1/knx
cd /mnt/sda1/knx
dd if=/dev/zero of=swapfile bs=1M count=5500
mkswap swapfile
swapon swapfile
mkdir -p /mnt/sda1/knx/master/KNOPPIX
mkdir -p /mnt/sda1/knx/source/KNOPPIX
mkdir -p /mnt/sda1/knx/source/KNOPPIX2
cp -Rp /KNOPPIX/* /mnt/sda1/knx/source/KNOPPIX
cp /cdrom/KNOPPIX/KNOPPIX2 /mnt/sda1/knx/master/KNOPPIX/
cp /cdrom/index.html /mnt/sda1/knx/master/
cd /cdrom && find . -size -15000k -type f -exec cp -p --parents '{}' /mnt/sda1/knx/master/ \;
cp /etc/dhcpc/resolv.conf /mnt/sda1/knx/source/KNOPPIX/etc/dhcpc/
cp /etc/X11/XF86Config-4 /mnt/sda1/knx/source/KNOPPIX/etc/X11/
vi /mnt/sda1/knx/source/KNOPPIX/etc/X11/Xwrapper.config
change "allowed_users=console" to "allowed_users=anybody"
/etc/init.d/xsession stop
// Now we start the chroot into the directory
chroot /mnt/sda1/knx/source/KNOPPIX
mount -t proc /proc proc
// check with the command date your date. If its wrong set it right, read the manpages (example: date -s 15:14)
// If you install some programms, you dont have troubles.
chmod 777 /tmp
cd /home
cp -R /etc/skel knoppix
chown -R knoppix:knoppix knoppix/
//do this not remote!!
su knoppix
startx
//make changes now
// apt-get remove --purge gnome*
// change your x settings etc.
/etc/init.d/xsession stop
su -
cd /home
rm -rf /etc/skel
mv knoppix/ skel
mv skel /etc
chown -R root.root /etc/skel
apt-get clean
apt-get autoclean
rm -f /etc/skel/.bash_history
rm -f root/.bash_history
rm -f /etc/dhcpc/resolv.conf
rm /etc/X11/XF86Config-4
chmod 555 /tmp
vi /etc/X11/Xsession.d/45xsession
go to line 128 (with escape then type 128)
change these lines:
rsync -Ha --ignore-existing /etc/skel/{.kde*,Desktop} $HOME/ 2>/dev/null
rsync -Ha --ignore-existing /etc/skel/ $HOME/ 2>/dev/null
wq!
umount /proc
CTRL+D
mount -t proc /proc proc
mkisofs -R -U -V "KNOPPIX.net filesystem" -publisher "KNOPPIX www.knoppix.net" \
-hide-rr-moved -cache-inodes -no-bak -pad /mnt/sda1/knx/source/KNOPPIX \
| nice -5 /usr/bin/create_compressed_fs - 65536 > /mnt/sda1/knx/master/KNOPPIX/KNOPPIX
cd /mnt/sda1/knx/master
find -type f -not -name md5sums -not -name boot.cat -not -name isolinux.bin \
-exec md5sum '{}' \; > KNOPPIX/md5sums
mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 \
-boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
-hide-rr-moved -o /mnt/sda1/knx/knoppix.iso /mnt/sda1/knx/master
Now your iso is there:
/mnt/sda1/knx/knoppix.iso
And ready to burn, hf
www.ArkoN.ch
Similar Threads
-
By koo in forum Hardware & Booting
Replies: 0
Last Post: 06-11-2005, 02:12 AM
-
By adamnewton in forum Customising & Remastering
Replies: 0
Last Post: 03-09-2005, 01:39 PM
-
By ProDJ Tech in forum Customising & Remastering
Replies: 2
Last Post: 05-24-2004, 04:19 PM
-
By ame in forum Networking
Replies: 2
Last Post: 02-07-2004, 01:44 AM
-
By jake5m in forum Customising & Remastering
Replies: 0
Last Post: 08-29-2003, 02:11 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

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99

HP SK HYNIX HMA42GR7AFR4N-TF Server Memory 16GB DDR4 RDIMM
$10.98

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$11.99

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$10.95

Samsung 8GB 2Rx8 PC3-12800 DDR3 1600 MHz 1.5V Non-ECC DIMM Desktop Memory RAM 8G
$9.99

A-Tech 16GB 2x 8GB PC3-10600 Desktop DDR3 1333 MHz DIMM 240pin Memory RAM 16G 8G
$23.98

HyperX FURY DDR3 16GB 2x 8GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pins
$21.50

16GB 4x4GB PC3-12800U Dell OptiPlex 7010 7020 9010 9020 990 980 790 Ram Memory
$12.99

Hynix 64 GB Memory 2RX4 PC4-2933Y
$99.00

A-Tech 512GB 16x 32GB 4Rx4 PC4-17000L DDR4 2133 MHz ECC LRDIMM Server Memory RAM
$399.84