-
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
IBM System x3100 M5 Intel Xeon E3-1271 v3 3.6GHz 8GB RAM NO HDD NO OS Good
$129.99
IBM 8203-E4A pSeries 520 6-Bay Server System Power6 2 Core 4.2GHz 4GB No HD
$240.00
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 128GB RAM Tested
$695.00
IBM X3550 M4 SERVER Dual E5-2680 2.7GHZ 288GB Ram 06TXNE7 - Tested & Working
$159.99
Lenovo IBM System x3250 M6 XEON e3-1220v5 3.00GHZ 32GB RAM Server TESTED
$99.99
IBM System X3100 M5 (PN: 5457-AC1) Server
$199.99
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$56.05
LOT OF 3: IBM System x3650 M3 Servers~Intel Xeon 5140 @ 2.33 GHz~4GB~5x 72GB SAS
$399.99
IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives
$125.00
IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express
$595.00