-
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
Juniper Networks SRX345 Gateway Appliance
$190.00
Juniper EX2300-48P PoE+ Switch 48x1GbE, 4 SFP+/SFP 10G uplinks
$150.00
Juniper EX4300-48T 48 Port Gigabit 4 QSFP 40G Dual PSU AFO w/EX-UM-4X4SFP Module
$99.00
Juniper Networks EX2300-C-12P PoE + Compact 12-Port Switch W/Rack Mount Kit
$295.00
Juniper Networks EX4650-48Y-AFO EX4650 48x25G+8x100G AC airflow out
$4200.00
Juniper EX3400-48P 48-Port PoE Gigabit Switch EX 3400 w/ AC - 1 Year Warranty
$135.00
Juniper EX3400-24P 24-Port PoE Gigabit Switch EX 3400 w/ AC - 1 Year Warranty
$125.00
Juniper QFX5200-32C-AFO QFX5200 32 Port QSFP 40/100G AFO Front to Back Airflow
$669.00
Juniper Networks EX4300-48P-TAA 48-Port Switch with PoE+ w/ 2x Power Supplies
$99.99
Juniper QFX10002-36Q 36-Port 40G QSFP+/ 12-port 100G QSFP28 **Read Details**
$999.99