Difference between revisions of "Knoppix Installer"


From Knoppix Documentation Wiki
Jump to: navigation, search
 
Line 73: Line 73:
 
****** 2.4.1.1.6.3 rewrite files which mention /home/$DEFAULT''USER to have /home/$USER''NAME
 
****** 2.4.1.1.6.3 rewrite files which mention /home/$DEFAULT''USER to have /home/$USER''NAME
 
**** 2.4.1.2 system''add''hd_config
 
**** 2.4.1.2 system''add''hd_config
***** 2.4.1.2.1 [[ ! -r /etc/init.d/knoppix-hd-config -a -x tools/knoppix-hd-config ]] && cp -f tools/knoppix-hd-config $TARGET''MNT''POINT/etc/init.d/
+
***** 2.4.1.2.1 [ ! -r /etc/init.d/knoppix-hd-config -a -x tools/knoppix-hd-config ] && cp -f tools/knoppix-hd-config $TARGET''MNT''POINT/etc/init.d/
 
***** 2.4.1.2.2 mkdir -p $DEFAULT''CONFIG''DIR/etc/network/
 
***** 2.4.1.2.2 mkdir -p $DEFAULT''CONFIG''DIR/etc/network/
 
***** 2.4.1.2.3 save''config $DEFAULT''CONFIG_DIR/install-configuration
 
***** 2.4.1.2.3 save''config $DEFAULT''CONFIG_DIR/install-configuration
Line 84: Line 84:
 
***** 2.4.1.3.2 copy across XF86Config
 
***** 2.4.1.3.2 copy across XF86Config
 
***** 2.4.1.3.3 change insmod to modprove in knoppix-autoconfig
 
***** 2.4.1.3.3 change insmod to modprove in knoppix-autoconfig
***** 2.4.1.3.4 s/^CMDLINE=/[[ -z "\$CMDLINE" ]] && CMDLINE=/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
+
***** 2.4.1.3.4 s/^CMDLINE=/[ -z "\$CMDLINE" ] && CMDLINE=/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
 
***** 2.4.1.3.5 s/modutils/modutils-knoppix/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
 
***** 2.4.1.3.5 s/modutils/modutils-knoppix/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
 
***** 2.4.1.3.6 s/if grep -q /if egrep -q/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
 
***** 2.4.1.3.6 s/if grep -q /if egrep -q/g $TARGET''MNT''POINT/etc/init.d/knoppix-autoconfig
***** 2.4.1.3.7 [[ ! -r /etc/init.d/modutils-knoppix -a -x tools/modutils-knoppix ]] && cp -f tools/modutils-knoppix $TARGET''MNT''POINT/etc/init.d/
+
***** 2.4.1.3.7 [ ! -r /etc/init.d/modutils-knoppix -a -x tools/modutils-knoppix ] && cp -f tools/modutils-knoppix $TARGET''MNT''POINT/etc/init.d/
 
**** 2.4.1.4 system''add''services
 
**** 2.4.1.4 system''add''services
 
***** 2.4.1.4.1 if isdnactivecards or acpi init scripts are there copy them across
 
***** 2.4.1.4.1 if isdnactivecards or acpi init scripts are there copy them across
Line 131: Line 131:
 
**** 2.4.2.10 system''add''hd_autoconfig
 
**** 2.4.2.10 system''add''hd_autoconfig
 
***** 2.4.2.10.1 echo SYSTEM''TYPE=$SYSTEM''TYPE and SYSTEM''HW''PROFILE=yes to etc/default/knoppix
 
***** 2.4.2.10.1 echo SYSTEM''TYPE=$SYSTEM''TYPE and SYSTEM''HW''PROFILE=yes to etc/default/knoppix
***** 2.4.2.10.2  [[ ! -r /etc/init.d/knoppix-hd-autoconfig -a -x tools/knoppix-hd-autoconfig ]] && cp -f tools/knoppix-hd-autoconfig $TARGET''MNT''POINT/etc/init.d/
+
***** 2.4.2.10.2  [ ! -r /etc/init.d/knoppix-hd-autoconfig -a -x tools/knoppix-hd-autoconfig ] && cp -f tools/knoppix-hd-autoconfig $TARGET''MNT''POINT/etc/init.d/
 
***** 2.4.2.10.3  chroot_it update-rc.d -f knoppix-autoconfig remove . 2>/dev/null >/dev/null
 
***** 2.4.2.10.3  chroot_it update-rc.d -f knoppix-autoconfig remove . 2>/dev/null >/dev/null
 
***** 2.4.2.10.4  chroot_it update-rc.d knoppix-hd-autoconfig start 00 S . >/dev/null
 
***** 2.4.2.10.4  chroot_it update-rc.d knoppix-hd-autoconfig start 00 S . >/dev/null
Line 147: Line 147:
 
*** 2.4.3 if Beginner then return
 
*** 2.4.3 if Beginner then return
 
*** 2.4.4 system_services
 
*** 2.4.4 system_services
**** 2.4.4.1 rm etc/rc[[023456S]].d/[[SK]]??{xsession,knoppix-autoconfig,knoppix-hd-config,knoppix-reboot,knoppix-halt}
+
**** 2.4.4.1 rm etc/rc[023456S].d/[SK]??{xsession,knoppix-autoconfig,knoppix-hd-config,knoppix-reboot,knoppix-halt}
 
**** 2.4.4.2 updaterc.d for $SERVICES_START
 
**** 2.4.4.2 updaterc.d for $SERVICES_START
**** 2.4.4.3 if $TEMPLATE''PATH cp etc/rc[[S06]] from $TEMPLATE''PATH to $TARGET''MNT''POINT
+
**** 2.4.4.3 if $TEMPLATE''PATH cp etc/rc[S06] from $TEMPLATE''PATH to $TARGET''MNT''POINT
 
**** 2.4.4.4 add rmnologin to all runlevels (???)
 
**** 2.4.4.4 add rmnologin to all runlevels (???)
 
**** 2.4.4.5 Set hotplug to start in levels 1 to 5
 
**** 2.4.4.5 Set hotplug to start in levels 1 to 5

Revision as of 16:25, 26 December 2004