From cb950e6ea1570d80237b6df8b67a71e8e4bf109f Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 23 May 2006 21:15:23 +0000 Subject: not all was done by me - so check the log for changes :-)) git-svn-id: http://svn.openslx.org/svn/openslx/ld4@233 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/ubuntu/README-6.06 | 12 ++++++++++++ initrd/distro-specs/ubuntu/functions-5.10 | 3 ++- initrd/initrd-stuff/bin/servconfig | 4 +--- initrd/initrd-stuff/etc/functions | 3 ++- initrd/initrd-stuff/init | 10 +++++----- 5 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 initrd/distro-specs/ubuntu/README-6.06 (limited to 'initrd') diff --git a/initrd/distro-specs/ubuntu/README-6.06 b/initrd/distro-specs/ubuntu/README-6.06 new file mode 100644 index 00000000..4555c70d --- /dev/null +++ b/initrd/distro-specs/ubuntu/README-6.06 @@ -0,0 +1,12 @@ +fehler kubuntu 6.06: + +distro-functions: line 43: udevstert not found +module unix not found -> im kernel +anderer pfad in xorg.conf: +fonts in /urs/share/X11/fonts + module pfad löschen + +bei livecd: cannot create dir /media/loop0 readonly! +kioskmode deaktivieren + kdm start +inittab anpassen! + konsole1 macht immer timeout auch wenn sich keiner anmeldet +ACHTUNG: bei kdm root anmeldung ohne pw möglich! + diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 53408c69..69f693d1 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -16,7 +16,8 @@ preinit () { echo "dhcp:x:101:">>/etc/group echo "dhcp:x:101:101::/nonexistent:/bin/false" >>/etc/passwd - # load unix module to provide sockets + # load unix module to provide sockets (is compiled into kernel on + # the live CDs!?) modprobe ${MODPRV} unix || error "$df_errumod" nonfatal } diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index 190a2489..121a6460 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -268,10 +268,8 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then if [ -d /mnt/usr/share/vmware ] ; then ln -sf /usr/share/vmware /var/lib/vmware elif [ -n "${imgsrv}" ] ; then - # nfsmnt script should be used here ... + # more general mount script should be used here!? ( nfsmnt ${imgsrv} /mnt/var/lib/vmware || error "$scfg_nfs" nonfatal ) & - #mount -n -t nfs -o ro,nolock,intr,nodev,soft,timeo=2,nosuid \ - # ${imgsrv} fi # generate a runlevel script d_mkrlscript init vmware-prep "Starting preparation of vmware environment" diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index e8b12f76..a07ebaef 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -55,7 +55,8 @@ if [ -n "$2" ] ; then [ "$DEBUGLEVEL" -gt 2 ] && usleep 20 else echo -e "${error_msg}${e_msg}${error_shell}" - # load usb modules to have keyboard enabled + # load usb modules to have keyboard enabled - they might have to be + # copied into initramfs with mkdxsinitramfs ... modprobe -a usbcore uhci-hcd ohci-hcd usbhid 2>&1 >/dev/null /bin/sh echo -n "Reboot now? [y]" diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 8a4baf73..743e195e 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -2,11 +2,11 @@ # Description: main script for new type of initial ramdisk for # linux diskless clients version 4 # -# Author(s): Dirk von Suchodoletz , 22-05-2006 +# Author(s): Dirk von Suchodoletz , 23-05-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.4g +# Version: 0.2.4h # functions common for all distros, messages contains all error and info # output @@ -161,9 +161,9 @@ fi # check if at least one type of IP configuration is availabe if [ -z "$DHCP" -a -z "$LDAP" -a -z "$IPINFO" ] ; then echo -e "# You did not specify any advanced configuration mode for your \ -clients. You\nmight want to add the token 'dhcp' for DHCP configuration, \ -'file(=source)'\nfor config file get via TFTP or 'ldap(=source)' for LDAP \ -configuration to\nyour kernel command line." >> /etc/machine-setup +clients. You\n# might want to add the token 'dhcp' for DHCP configuration, \ +'file(=source)'\n# for config file get via TFTP or 'ldap(=source)' for LDAP \ +configuration to\n# your kernel command line." >> /etc/machine-setup if strinfile "clientip" /etc/machine-setup ; then # IP configuration seems to be present in machine-setup file . /etc/machine-setup -- cgit v1.2.3-55-g7522