Difference between revisions of "User:Ml"


From Knoppix Documentation Wiki
Jump to: navigation, search
m
m (miniroot changes)
Line 31: Line 31:
  
  
==== miniroot changes ====
+
==== miniroot changes, dev setup ====
 +
 
 +
i wanted an easy way to test the remastered version from hd without having to reboot or create an iso each time, so i had another machine boot from the network just like knoppix terminal server, except with the current
 +
state of my remastered version.
 +
 
 +
i got tired of having 2 different miniroots (one for the cd, one for netboot) so i merged the 2 together.
 +
 
 +
Also, knoppix terminal server still required a KNOPPIX cloop file, which i didn't want to create each time,
 +
so i added a cheatcode (nocloop) to use the raw files instead.
 +
 
 +
There are issues when using nfs + unionfs directly (which normally don't occur in knoppix terminal server since
 +
it's nfs + cloop + unionfs - note: "nfsro" unionfs mount option seems to fix it, but shouldn't be needed), so i ended up putting the remastered files in an ext2 filesystem in a loop file (knoppix_loop) and accessing that from the diskless client.
 +
 
 +
 
  
 
new cheatcodes etc
 
new cheatcodes etc

Revision as of 14:14, 10 May 2006

(Work in progress)
i worked on a customized knoppix cd, based on knoppix 4.0.2. I'm posting my changes here in case they might be of use to others.


Grub gfx boot

i wanted the cd to boot using grub instead of isolinux (can be used for repairs/diagnostics). morphix and kanotix are both using a cute graphic grub menu, which gives easy access to various knoppix cheatcodes, documentation etc. This one's based on morphix, with slight ui changes (added dvorak keyboard layout, kept only french and english languages, updated doc and menus)

screenshot http://matthieu.lucotte.free.fr/myknoppix/grub_gfx_sml.png

grub files need to be setup under boot/grub on the knoppix cd.

note: remember to make final iso image with :

mkisofs -pad -l -f -r -J -V "MYKNOPPIX" -b boot/grub/iso9660_stage1_5 -c boot/grub/boot.cat -o
../myknoppix.iso -no-emul-boot -boot-load-size 1 -boot-info-table  knoppix_iso_directory

boot/grub/message is a cpio archive which controls the ui. to recreate it you need the tools from gfxboot_2.4.orig.tar.gz.

Then you can use gfxboot-grub-0.1_my.tgz to recreate message (based on morphix-iso-grubtheme_0.1-2.tar.gz)


miniroot changes, dev setup

i wanted an easy way to test the remastered version from hd without having to reboot or create an iso each time, so i had another machine boot from the network just like knoppix terminal server, except with the current state of my remastered version.

i got tired of having 2 different miniroots (one for the cd, one for netboot) so i merged the 2 together.

Also, knoppix terminal server still required a KNOPPIX cloop file, which i didn't want to create each time, so i added a cheatcode (nocloop) to use the raw files instead.

There are issues when using nfs + unionfs directly (which normally don't occur in knoppix terminal server since it's nfs + cloop + unionfs - note: "nfsro" unionfs mount option seems to fix it, but shouldn't be needed), so i ended up putting the remastered files in an ext2 filesystem in a loop file (knoppix_loop) and accessing that from the diskless client.


new cheatcodes etc -> nbd setup etc

accelerated knoppix

knoppix accelerated changes: + notes

 dpkg -i lcat_1.0.0-1_i386.deb
 new miniroot, merged knoppix accelerated changes, added sg module
 noac cheatcode to turn off knoppix accelerated changes to boot scripts/progs
 knoppix-terminal-server:
   build miniroot from /cdrom/boot/miniroot.gz (or prompt user) instead of
   building from scratch (so we reuse whatever cloop module is in there)


qemu

qemu wrapper, conf etc

misc

notes

via xorg/xfree drivers

 extracted via_drv.o for xfree 4.3.0 from
 http://www.physik.fu-berlin.de/~glaweh/debian/unichrome/xserver-xfree86_4.3.0.dfsg.1-10.1unichrome30.1_i386.d

eb

 fixed /usr/share/hwdata/pcitable to use via xfree driver


home on unionfs

various scripts changes (fstype etc)