-
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 Poweredge R630 2x Xeon E5-2670 v3 2.3ghz 24-Cores / 32gb / 500gb / 495w
$164.99
Dell Poweredge R730 2x Xeon E5-2670 v3 2.3ghz 24-Cores / 64gb / H730 / iDracEnt
$204.99
HP ProLiant DL380 Gen10 8SFF Server - Intel Xeon Gold 6142 - 32 Cores- 64GB Ram
$399.00
Dell R640 8x 2.5" SFF Server iDRAC - Wholesale Custom Build Your Server
$270.99
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$159.20
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$180.99
Dell PowerEdge T330 | Intel Xeon E3-1220 v5@3.0GHz 8GB RAM 4x 1TB HDD NO OS
$229.99
Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server
$324.99
Dell Poweredge R230 Xeon Choose Your v5 v6 CPU & RAM Configuration
$183.99
Dell PowerEdge R640 Barebones Server 2X Heatsink 2X PSU S140i I350 No CPU/ RAM
$274.98