522
Commentaire:
|
2073
|
Texte supprimé. | Texte ajouté. |
Ligne 1: | Ligne 1: |
= notes en vrac... = | |
Ligne 10: | Ligne 11: |
forcedeth dans /etc/initramfs/modules |
|
Ligne 11: | Ligne 14: |
/etc/network/interfaces iface eth0 inet dhcp # address 10.196.1.61 # netmask 255.255.255.0 # gateway 10.196.1.254 rm /etc/readahead/* |
|
Ligne 12: | Ligne 22: |
AVAHI_DAEMON_START=0 exit 0 dans /etc/dbus-1/events.d/*networkmanager* /etc/network/interfaces |
|
Ligne 18: | Ligne 25: |
aptitude install ubuntu-desktop console-data man-db language-pack-fr language-pack-gnome-fr language-pack-gnome-fr-base language-support-fr language-pack-fr-base dpkg-reconfigure locales dpkg-reconfigure tzdata echo LANG="fr_FR.UTF-8" >>/etc/environment cat $racine/etc/initramfs-tools/scripts/nfs-bottom/unionfs mount -t tmpfs tmpfs ${rootmnt}/.sys mkdir ${rootmnt}/.sys/etc mkdir ${rootmnt}/.sys/nfs-etc nfsmount -o nolock 10.196.1.1:/tftp/ubuntu/etc ${rootmnt}/.sys/nfs-etc mount -t unionfs -o dirs=${rootmnt}/.sys/etc=rw:${rootmnt}/.sys/nfs-etc=nfsro unionfs ${rootmnt}/etc mkdir ${rootmnt}/.sys/var mkdir ${rootmnt}/.sys/nfs-var nfsmount -o nolock 10.196.1.1:/tftp/ubuntu/var ${rootmnt}/.sys/nfs-var mount -t unionfs -o dirs=${rootmnt}/.sys/var=rw:${rootmnt}/.sys/nfs-var=nfsro unionfs ${rootmnt}/var sur le client, aprés reboot exit 0 dans /etc/dbus-1/events.d/*networkmanager* sed -i -e 's/set -e/exit 0/' /etc/dbus-1/event.d/25NetworkManager sed -i -e 's/set -e/exit 0/' /etc/dbus-1/event.d/26NetworkManagerDispatcher sed -i -e 's/AVAHI_DAEMON_START=1/AVAHI_DAEMON_START=0' /etc/default/avahi-daemon sed -i -e 's/enabled=1/enabled=0/' /etc/default/apport sed -i -e 's/BLUETOOTH_ENABLED=1/BLUETOOTH_ENABLED=0/' /etc/default/bluetooth sed -i -e 's/LOAD_LP_MODULE=yes/LOAD_LP_MODULE=no/' /etc/default/cupsys |
|
Ligne 23: | Ligne 59: |
* temps entre le début du chargement du kernel sur le réseau et le prompt gdm : 30s |
notes en vrac...
#debootstrap --arch i386 feisty /mnt/ http://miroirs.refer.sn/ubuntu/ #chroot /mnt/ /bin/bash #aptitude install linux-image-2.6.20-16-generic #cd /etc/initramfs-tools dans initramfs.conf : MODULES=netboot BOOT=nfs forcedeth dans /etc/initramfs/modules #mkinitramfs -o /boot/inird.img /etc/network/interfaces iface eth0 inet dhcp # address 10.196.1.61 # netmask 255.255.255.0 # gateway 10.196.1.254 rm /etc/readahead/* /etc/fstab : tmpfs tmp proc aptitude install ubuntu-desktop console-data man-db language-pack-fr language-pack-gnome-fr language-pack-gnome-fr-base language-support-fr language-pack-fr-base dpkg-reconfigure locales dpkg-reconfigure tzdata echo LANG="fr_FR.UTF-8" >>/etc/environment cat $racine/etc/initramfs-tools/scripts/nfs-bottom/unionfs mount -t tmpfs tmpfs ${rootmnt}/.sys mkdir ${rootmnt}/.sys/etc mkdir ${rootmnt}/.sys/nfs-etc nfsmount -o nolock 10.196.1.1:/tftp/ubuntu/etc ${rootmnt}/.sys/nfs-etc mount -t unionfs -o dirs=${rootmnt}/.sys/etc=rw:${rootmnt}/.sys/nfs-etc=nfsro unionfs ${rootmnt}/etc mkdir ${rootmnt}/.sys/var mkdir ${rootmnt}/.sys/nfs-var nfsmount -o nolock 10.196.1.1:/tftp/ubuntu/var ${rootmnt}/.sys/nfs-var mount -t unionfs -o dirs=${rootmnt}/.sys/var=rw:${rootmnt}/.sys/nfs-var=nfsro unionfs ${rootmnt}/var sur le client, aprés reboot exit 0 dans /etc/dbus-1/events.d/*networkmanager* sed -i -e 's/set -e/exit 0/' /etc/dbus-1/event.d/25NetworkManager sed -i -e 's/set -e/exit 0/' /etc/dbus-1/event.d/26NetworkManagerDispatcher sed -i -e 's/AVAHI_DAEMON_START=1/AVAHI_DAEMON_START=0' /etc/default/avahi-daemon sed -i -e 's/enabled=1/enabled=0/' /etc/default/apport sed -i -e 's/BLUETOOTH_ENABLED=1/BLUETOOTH_ENABLED=0/' /etc/default/bluetooth sed -i -e 's/LOAD_LP_MODULE=yes/LOAD_LP_MODULE=no/' /etc/default/cupsys sur le serveur : cp /srv/ubuntu/boot/initrd.img /tftp/boot cp /srv/ubuntu/boot/vmlinuz-2.6.20-15-generic /tftp/boot
* temps entre le début du chargement du kernel sur le réseau et le prompt gdm : 30s