-
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
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$45.00
NEW Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$49.00
Cisco Catalyst WS-C3650-48PD-L 48-Port PoE Managed Network Switch TESTED
$43.95
Cisco Catalyst 2960-L 8-Port Managed Gigabit Network Switch WS-C2960L-8PS-LL
$39.99
5 Port Desktop Gigabit Switch
$8.78
Cisco WS-C2960-48TT-L Catalyst 2960 48 Port Managed Network Switch
$32.99
TP-Link TL-SG108 8-Port Gigabit Ethernet Switch
$14.99
Tenda 8-Port Gigabit Desktop Switch SG108 NEW
$15.00
Cisco WS-C3850-12X48U-S
$99.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97