1065
Commentaire:
|
1766
|
Texte supprimé. | Texte ajouté. |
Ligne 1: | Ligne 1: |
= notes en vrac... = |
|
Ligne 9: | Ligne 11: |
forcedeth dans /etc/initramfs/modules |
|
Ligne 15: | Ligne 19: |
rm /etc/readahead/* | |
Ligne 20: | Ligne 26: |
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 |
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 language-pack-fr language-pack-gnome-fr language-pack-gnome-fr-base language-support-fr language-pack-fr-base 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 aptitude install ubuntu-desktop console-data man-db dpkg-reconfigure locales AVAHI_DAEMON_START=0 exit 0 dans /etc/dbus-1/events.d/*networkmanager* 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