Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#226 Le 19/04/2010, à 14:03

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Ola

et t es sur lucid ou karmic ?

Sinon bon perds pas trop ton temps avec cette version et vesa a eviter, privilegier radeon/nouveau

trop de changements avec lucid , plus de hal , dbus ne reagit plus pareil et etc ...

Thx pour le retour j posterais une maj de ma version ce soir, celle la ok avec lucid...


++

Hors ligne

#227 Le 19/04/2010, à 14:33

Hizoka

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

signature a écrit :

Kubuntu 9.10 64bits - Kde 4.4
QuadCore - 4Go DDR2 - Carte mere p5q-deluxe - ATI HD 4850

la je vais tester en utilisant les drivers proprio sur mon pc, voir ce que ça done avec le chroot de custom (si ça peut faire un quelconque changement)


KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#228 Le 19/04/2010, à 15:15

Hizoka

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

bon après test en utilisant les drivers proprio ati sur mon pc, aucun changement pour l'accès au chroot d'un Kubuntu 64  9.10.

c'est quand même dommage, seul l'accès via terminal est possible, ça perd de son intérêt tongue

si tu veux des tests, fais moi signe


KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#229 Le 19/04/2010, à 22:05

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Ola

ok bon a savoir wink

apres tu tests avec kde j imagine et 64 bits, tout ce que j ai pas en gros

Pour l instant tu m connais j focalise gnome/lucid

j te tiens au courant

thx

++

Hors ligne

#230 Le 19/04/2010, à 22:17

Hizoka

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

smo a écrit :

apres tu tests avec kde j imagine et 64 bits, tout ce que j ai pas en gros

Hizoka a écrit :

bon après test en utilisant les drivers proprio ati sur mon pc, aucun changement pour l'accès au chroot d'un Kubuntu 64  9.10.

Ba faut lire lol

Si jamais tu as besoin (voir prise de controle de mon pc), tu me fais signes (au pire je peux l'installer sur mon autre pc, tu pourrais tester ce que tu veux dessus...)

Dernière modification par Hizoka (Le 19/04/2010, à 22:18)


KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#231 Le 20/04/2010, à 15:57

NGRaziel

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Salut, je suis sous lucid 32, quand je lance la customisation, la session gnome ne s'ouvre pas, tout ce que j'ai c'est un écran de login (console)

Edit : en modif par console, bah, j'ai carrément rien, retour direct au menu de sélection tongue

Dernière modification par NGRaziel (Le 20/04/2010, à 16:20)

Hors ligne

#232 Le 23/04/2010, à 13:50

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

ola

oups, pas recu de mail pour vos posts...

je viens de mettre en ligne la version que j utilise pour faire mes lucid, perso 0 pb avec

pour karmic ca doit plsu passer par contre je sais pas

merci pour l invit hizo, si j me decide a retaffer kde je l installerais pour voir... mais je vais me concentrer sur lucid
vu que c est une lts, on va repartir de cette version j pense wink

NGRaziel, reessayes avec cette version voir et evites le driver vesa ...

++

Hors ligne

#233 Le 23/04/2010, à 14:18

danboy

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

ca marchait pas ? Car moi heu.....jai déjà fait une custom de lucid, et ca fonctionnait tongue

Hors ligne

#234 Le 23/04/2010, à 15:27

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

j pense plus pour karmic

suis sur notre tchat avec un qq un on fait du debuggage pour lucid 64 bits et autre

deja corrige qqes trucs...

++

Hors ligne

#235 Le 23/04/2010, à 16:25

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

tu peux retester vesa et nouveau danboy ?

en m disant si t es sur nouveau ou nvidia en local

steup

merci

Hors ligne

#236 Le 23/04/2010, à 17:03

danboy

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

big_smile
je reteste alors

Hors ligne

#237 Le 23/04/2010, à 17:19

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

ok

tu peux pas passer sur le tchat ?

on attend de pied ferme les resultats

Hors ligne

#238 Le 23/04/2010, à 17:45

danboy

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Alors

uname -r
2.6.32-21-generic-pae
dan@ubuntu-lucid-laptop:~$ uname -a
Linux ubuntu-lucid-laptop 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux

Avec driver nouveau en local
Je choisis driver nouveau pour chroot
et ca passe.

big_smile

Hors ligne

#239 Le 23/04/2010, à 20:44

vitg

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Félicitations pour votre excellent travail
étant nouveau à Linux voulais savoir si il n'y a pas toutorial de le faire sans les erreurs que je voulais faire une image iso avec tous mes paramètres afin de pouvoir donner ma famille et ont chacun leur utilisateur
'Ai été voir votre script, mais ne sais pas trop quoi faire avec la boîte virtuelle et chroot

Hors ligne

#240 Le 25/04/2010, à 08:20

buster19

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Ola smo,

J'ai commencé petit test sous Lucid. Pas vraiment terrible, j'arrive pas à atteindre le chroot graphique.
Premier test ==> bloque sur "préparer votre système avec la langue "fr" ". j'ai attendu 20 minutes mais rien ne se passe.

Après un sudo killall ubukey je recommence.
Deuxième test ==> choix VESA  Une console terminal s'ouvre et se ferme aussitot. Je me fait sortir du chroot immédiatement après y être entré.
Troisième test ==> choix vesa le script bloque sur "Installation de xrespobe...". Il n'vance plus.

Si tu veux des logs, dis moi lesquels.


Latex-Math : annalescours/exos ; exos. Ubuntu : live-usb ; multiboot

Hors ligne

#241 Le 25/04/2010, à 08:29

buster19

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Bon dernier test ==> preparation langue fr + recopie config firefox : Nickel
choix Intel ==> je bascule sur une invite de commande tty5 avec une demande de connexion.
J'ai put me connecter avec mes identifiants, mais bon, ... c'est pas vraiment du custom-graphique.

je te joins chroot.log

]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# mode="$(cat /etc/ubukey/ubukeyconf | grep -e "mode" | sed 's/.*= 
//')"
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# function message() {
> touch /tmp/chrootlog.log
> message="$1"
> echo -e "$message" | tee -a /tmp/chrootlog.log &>/dev/null
> }
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# function INITCHROOT()
> {
> chrootKerVer=$(ls -al /initrd.img | sed 's/.*boot\/initrd.img-//')
> localKerVer=$(cat /etc/ubukey/ubukeyconf | grep -e "Kernel" | sed 's/.*Kernel= 
//')
> sessionType=$(cat /etc/ubukey/ubukeyconf | grep -e "distSession" | sed 's/.*di 
stSession=//')
> user=$(cat /etc/ubukey/ubukeyconf | grep -e "user" | sed 's/.*user=//')
> chuser=$(cat /etc/casper.conf | grep -w "USERNAME=" | sed 's/.*=//' | sed 's/" 
//g')
> LOCALUTF="$(cat /etc/ubukey/ubukeyconf | grep -e "localutf" | sed 's/.*=//')"
> LOCALBASE="$(cat /etc/ubukey/ubukeyconf | grep -e "localbase" | sed 's/.*=//') 
"
> LOCALSIMPLE="$(cat /etc/ubukey/ubukeyconf | grep -e "localsimple" | sed 's/.*= 
//')"
> DIST="$(cat /etc/lsb-release | grep CODENAME | sed 's/.*=//')"
> DRIVER="$(cat /etc/ubukey/ubukeyconf | grep -e "driver" | sed 's/.*=//')"
> 
> ## langue dans chroot
> export LANG=$LOCALUTF
> export LC_ALL=$LOCALUTF
> echo -e "$LOCALSIMPLE
> $LOCALBASE
> $LOCALUTF
> " | tee /etc/locale.gen &>/dev/null
> 
> message "
> #########################
> ## Variables du chroot ##
> #########################
> 
> Type de session : "$sessionType"
> Utilisateur session chroot : "$user"
> Utilisateur reel du live-cd : "$chuser"
> Locales : $LOCALUTF
> Langue : $LOCALSIMPLE
> Clavier: $LOCALSIMPLE
> "
> #monter minimun necessaire
> mount -t proc none /proc
> mount -t sysfs none /sys
> mount -t devpts none /dev/pts
> 
> sleep 5
> umount -f /lib/modules/*/volatile &>/dev/null
> 
> ## check sources
> message "Verification des sources, merci de patienter"
> cd /usr/local/bin
> rm ubusrc-gen &>/dev/null
> wget -q http://scripts.penguincape.org/ubukey/ubusrc-gen
> chmod +x ubusrc-gen
> ubusrc-gen
> 
> ## Changement de la langue par defaut des consoles tty avec : $LOCALSIMPLE
> sed -i 's/XKBLAYOUT=.*/XKBLAYOUT="'$LOCALSIMPLE'"/' /etc/default/console-setup 
> sed -i 's/XKBLAYOUT=.*/XKBLAYOUT="'$LOCALSIMPLE'"/' /etc/default/console-setup
> 
> ## check du decorateur et autres
> case $sessionType in
> gnome)
> decorator="metacity"
> term="gnome-terminal"
> starter=gnome-session
> ;;
> kde4)
> decorator=kwin
> term=konsole
> starter=startkde
> ;;
> xfce4)
> decorator="xfwm4"
> term="xfterm4"
> starter=xfce4-session
> ;;
> lxde)
> decorator="metacity"
> term="lxterminal"
> starter=startlxde
> ;;
> esac
> 
> if [[ ! `unsquashfs -version | grep "unsquashfs version 4.0"` ]]; then
> rm /usr/{s,}bin/{un,mk}squashfs &>/dev/null
> cd /usr/sbin
> wget http://scripts.penguincape.org/ubukey/bin/karmic/mksquashfs &>/dev/null
> wget http://scripts.penguincape.org/ubukey/bin/karmic/unsquashfs &>/dev/null
> chmod +x /usr/bin/{un,mk}squashfs 
> fi
> 
> }
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# ###### config xorg
]0;root@toshiba: /root@toshiba:/# function genXorg
> {
> 
> if [ ! -e "/usr/sbin/ddcprobe" ]; then
> message "Installation de xrespobe...\n"
> apt-get -y install xresprobe
> fi
> 
> if [[ ! `dpkg -l | grep "xserver-xorg-input-all"` ]]; then
> message "Installation de xserver-xorg-input-all..\n"
> apt-get -y install xserver-xorg-input-all
> fi
> 
> test=$(lspci -b | grep VGA | awk '{print $1}')
> testa=$(echo "$test" | sed 's/:.*//')
> testb=$(echo "$test" | sed 's/\..*//;s/.*://')
> testc=$(echo "$test" | sed 's/.*\.//')
> 
> if [[ "$testa" != "0" && "$testa" -lt "10" ]]; then
> testa=$(echo "$testa" | cut -c 2)
> fi
> 
> if [[ "$testb" != "0" && "$testb" -lt "10" ]]; then
> testb=$(echo "$testb" | cut -c 2)
> fi
> 
> if [[ "$testc" != "0" && "$testc" -lt "10" ]]; then
> testc=$(echo "$testc" | cut -c 2)
> fi
> 
> BUSID="PCI:$testa:$testb:$testc"
> 
> ### detection
> res="$(cat /tmp/resolution)"
> 
> if [ -z "$res" ]; then
> 
> echo -e "La resolution ideale n'a pas pu etre detectee automatiquement
> Indiquez la resolution a utiliser\n
> exemple 1280x1024:" 
> read res
> 
> if [ -n "$res" ]; then
> 
> listres="\"$res\" \"1600x1200\" \"1440x900\" \"1280x1024\" \"1280x800\" \"1024 
x768\" \"1024x600\" \"800x600\" \"640x480\""
> resolution="$(echo $listres | sed -e "s%\"$res\"%%")"
> else
> resolution="\"1600x1200\" \"1440x900\" \"1280x1024\" \"1280x800\" \"1024x768\" 
 \"1024x600\" \"800x600\" \"640x480\""
> fi ## fin si pas de resolution choisie
> 
> else
> 
> listres="\"$res\" \"1600x1200\" \"1440x900\" \"1280x1024\" \"1280x800\" \"1024 
x768\" \"1024x600\" \"800x600\" \"640x480\""
> resolution="$(echo $listres | sed -e "s%\"$res\"%%")"
> 
> fi ## fin si pas de resolution detectee a la base...
> 
> cd /etc/X11/
> rm xorg.conf &>/dev/null
> wget -q http://scripts.penguincape.org/ubukey/launchers/xorg.conf
> 
> ## rechange driver et keymap
> DEPTH=24
> if [ "$DRIVER" = "vesa" ]; then
> DEPTH=16
> fi
> 
> sed -i "s/chkeymap/$LOCALSIMPLE/" /etc/X11/xorg.conf
> sed -i "s/chdriver/$DRIVER/" /etc/X11/xorg.conf
> sed -i "s/chpci/$BUSID/" /etc/X11/xorg.conf
> sed -i "s/depth/$DEPTH/g" /etc/X11/xorg.conf
> sed -i "s%chmode%$resolution%" /etc/X11/xorg.conf
> 
> ### modeline ecran
> ddcmode="$(sudo ddcprobe | grep dtiming | sed 's/dtiming\: //')"
> 
> if [ -n "$ddcmode" ]; then
> 
> maxref="$(echo $ddcmode | sed 's/.*@//')"
> height="$(echo $ddcmode | sed 's/x.*//;')"
> width="$(echo $ddcmode | sed 's/.*x//;s/@.*//')"
> 
> modeline="$(gtf $height $width $maxref | sed '/#/d;/^$/d;s/^  //;s/_.*\"/\"/') 
"
> 
> if [ -n "$modeline" ]; then
> sed -i "s%modeline%$modeline%" /etc/X11/xorg.conf
> fi
> 
> else
> 
> sed -i "/modeline/d" /etc/X11/xorg.conf
> 
> fi
> 
> #### fix xserver
> echo -e '
> Section "ServerFlags"
> Option "AutoAddDevices" "off"
> Option "AllowEmptyInput" "off"
> EndSection' | tee -a /etc/X11/xorg.conf &>/dev/null
> 
> cat /etc/X11/xorg.conf
> 
> } ## fin genXorg
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# function CHROOTGRAPHIQUE()
> {
> 
> ## au cas ou
> rm /etc/skel/skel &>/dev/null
> rm /home/"$user" -R &>/dev/null
> ln -sf /etc/skel /home/"$user"
> 
> cd /etc/skel 
> 
> ## clean xdg
> rm /home/"$user"/.config/user-dirs.dirs
> rm /etc/locale.gen &>/dev/null
> echo -e "$LOCALSIMPLE
> $LOCALBASE
> $LOCALUTF
> " | tee /etc/locale.gen &>/dev/null
> 
> ## check paquet xdg-user-dirs
> message "Detection des dossiers Xdg (Bureau, Desktop...)\n"
> if [[ ! `dpkg -l | grep -e "xdg-user-dirs"` ]]; then
> aptitude -y install xdg-user-dirs
> fi
> 
> xdg-user-dirs-update 
> xdg-user-dirs-update --force
> 
> ## reverifie le users-dirs.dirs
> deskdir="$(cat /home/"$user"/.config/user-dirs.dirs | grep DESKTOP | sed 's/.* 
\///' | sed 's/\"//')"
> if [ -z "$deskdir" ]; then
> mkdir /etc/skel/Desktop
> deskdir="Desktop"
> fi
> 
> ## check dossier bureau
> if [[ ! `cat /home/"$user"/.config/user-dirs.dirs | grep -e "/Desktop"` && -e  
/etc/skel/Desktop ]]; then
> rm -R /etc/skel/Desktop
> deskdir="$(cat /home/"$user"/.config/user-dirs.dirs | grep DESKTOP | sed 's/.* 
\///' | sed 's/\"//')"
> ## au cas ou...
> mkdir /etc/skel/$deskdir &>/dev/null
> fi
> 
> ##checkfinal si deskdir ok
> if [ -z "$deskdir" ]; then
> message "Probleme avec dossier Bureau, sortie"
> CLEANCHROOT
> fi
> 
> message "Dossier bureau : $deskdir \n"
> 
> ## adapte dossier Desktop, casper-bottom
> if [ "$deskdir" != "Desktop" ]; then
> sed -i 's/Desktop/'$deskdir'/g' /usr/share/initramfs-tools/scripts/casper-bott 
om/10adduser
> fi
> 
> cd /usr/share/pixmaps
> if [ ! -e usbkey.png ]; then
> wget http://scripts.penguincape.org/ubukey/usbkey.png
> fi
> 
> ################## ajout icones sur le bureau
> 
> cd /usr/local/bin
> rm ubukey-$sessionType* &>/dev/null
> wget http://scripts.penguincape.org/ubukey/ubukey-$sessionType.sh
> chmod +x ubukey-$sessionType.sh
> echo "[Desktop Entry]
> Type=Application
> Encoding=UTF-8
> Version=1.0
> Name=Assistant de customisation $sessionType
> Name[fr_FR]=Assistant de customisation $sessionType
> Comment[fr_FR]=Assistant de customisation pour $sessionType
> Comment=Assistant de customisation pour $sessionType
> Exec=ubukey-$sessionType.sh
> X-GNOME-Autostart-enabled=true
> Icon=/usr/share/pixmaps/usbkey.png" | tee /etc/skel/"$deskdir"/ubukey-assist.d 
esktop &>/dev/null
> 
> chmod +x /etc/skel/"$deskdir"/ubukey-assist.desktop
> 
> echo "[Desktop Entry]
> Type=Application
> Encoding=UTF-8
> Version=1.0
> Name=fix-clavier
> Name[fr_FR]=fix-clavier
> Comment[fr_FR]=fix-clavier
> Comment=fix-clavier
> Exec=setxkbmap $LOCALSIMPLE
> X-GNOME-Autostart-enabled=true" | tee /etc/xdg/autostart/fix-clavier.desktop & 
>/dev/null
> 
> ## icone quitter
> cd /usr/share/pixmaps
> if [ ! -e quit-chroot.png ]; then
> wget http://scripts.penguincape.org/ubukey/images/quit-chroot.png
> fi
> 
> ## cree ptit script pour tuer x avec l icone du bureau
> cd /usr/local/bin
> rm quit-chroot* &>/dev/null
> wget http://scripts.penguincape.org/ubukey/quit-chroot.sh
> chmod +x /usr/local/bin/quit-chroot.sh
> 
> echo "[Desktop Entry]
> Type=Application
> Encoding=UTF-8
> Version=1.0
> Name=Quitter le chroot
> Name[fr_FR]=Quitter chroot
> Comment[fr_FR]=Quitter le chroot
> Comment=cliquez pour quitter le chroot
> Exec=quit-chroot.sh
> X-GNOME-Autostart-enabled=true
> Icon=/usr/share/pixmaps/quit-chroot.png" | tee /etc/skel/"$deskdir"/quit-chroo 
t.desktop &>/dev/null
> 
> chmod +x /etc/skel/"$deskdir"/quit-chroot.desktop
> 
> ## icone partage
> cd /etc/skel/"$deskdir"
> wget http://scripts.penguincape.org/ubukey/launchers/gc.desktop &>/dev/null
> chmod +x gc.desktop
> 
> ## suivant type session en prevision...
> case $sessionType in
> gnome)
> gconftool-2 -t boolean -s /apps/nautilus/desktop/volumes_visible false
> 
> ;;
> 
> kde4)
> message "Kde4 detecte... verification de zenity, kdm et de l utilisateur chroo 
t\n"
> 
> if [ ! -e "/usr/bin/zenity" ]; then
> message "Zenity manquant, installation\n"
> apt-get -y --force-yes install zenity
> else
> message "zenity ok \n"
> fi
> 
> ## reconfigure autologin kdm-kde4...
> if [ ! -e "/etc/kde4/kdm/kdmrc" ]; then
> genkdmconf
> fi
> #~ sed -i "s/#AutoLoginUser=.*/AutoLoginUser=$chuser/" /etc/kde4/kdm/kdmrc
> #~ sed -i 's/#AutoLoginEnable=.*/AutoLoginEnable=True/' /etc/kde4/kdm/kdmrc
> ;;
> xfce4)
> 
> ;;
> esac
> 
> 
> ##scan du home...
> message "Reverifie l integritee du dossier /etc/skel (peut etre long...) \n"
> chuser=$(cat /etc/casper.conf | grep -w "USERNAME=" | sed 's/.*=//' | sed 's/" 
//g')
> if [[ "$user" != "$chuser" ]]; then
> LISTE="`find /etc/skel/ -type f | sed '/.thumbnails/d;/.cache/d;/.purple/d;/.i 
cons/d;/.emerald/d;/.mozilla/d;/.dbus/d;/.themes/d;/.png/d;/.jpeg/d;/.jpg/d;/.bi 
n/d;/find/d'`"
> echo -e "$LISTE" | while read file; do 
> 
> if [[ -e "$file" && `cat "$file" | grep -e "$chuser"` ]]; then 
> sed -i "s%=$chuser%=$user%g;s%\/home\/$chuser%\/home\/$user%g" "$file"
> fi
> 
> done
> fi
> 
> 
> ## genere xorg
> rm /etc/X11/xorg.conf
> genXorg
> 
> message "
> ############
> ##  Xorg  ##
> ############
> Pilote : $DRIVER
> Distribution: $DIST
> Id carte : PCI:$testa:$testb:$testc
> Resolution: $resolution
> Layout clavier : $LOCALSIMPLE
> "
> 
> if [[ "$DRIVER" = "radeonhd" && ! -e "/usr/lib/xorg/modules/drivers/radeonhd_d 
rv.so" ]]; then
> apt-get update
> echo -e "Le Driver Radeon HD est inexistant, celui ci va etre compil... \n"
> echo -e "Installation des dependences pour le pilote radeon HD version git \n" 
> echo -e "Installation des dependences pour le pilote radeon HD version git \n"
> apt-get -y install git-core configure-debian automake autoconf xorg-dev libtoo 
l mesa-common-dev libdrm-dev build-essential xserver-xorg-dev xutils-dev
> cd /tmp
> echo -e "Tlchargement des sources Git \n"
> git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
> echo -e "Compilation \n"
> cd xf86-video-radeonhd/
> ./autogen.sh --prefix=/usr/
> make
> make install
> 
> fi
> 
> 
> ## verif compiz
> if [ -e "/etc/skel/.config/compiz/fusion-icon" ]; then
> echo -e "Remplace compiz par $decorator"
> sed -i 's/wm = .*/wm = '"$decorator"' /' /etc/skel/.config/compiz/fusion-icon
> fi
> 
> ## verif lanceur partage du / (bug avec nautilus...)
> if [[ ! -e "/usr/bin/gnome-commander" || ! -e "/usr/share/pixmaps/share.png" ] 
]; then
> message "Installation de gnome-commander pour le partage des disques entre loc 
al et chroot \nVotre pc local sera mont sur /media/pc-local"
> apt-get -y --force-yes install gnome-commander &>/dev/null
> cd /usr/share/pixmaps
> wget http://scripts.penguincape.org/ubukey/images/share.png &>/dev/null
> fi
> 
> message "Tout est pret, demarre X dans le chroot ! \n"
> 
> echo 'Section "ServerFlags"
> Option "AllowEmptyInput" "off"
> EndSection
> ' | tee -a /etc/X11/xorg.conf
> 
> if [ "$DIST" = "karmic" ]; then
> X :1 -dpi 96 -ac -br +kb & DISPLAY=:1 "$starter"
> else
> chvt 5 & X :1 -dpi 96 -ac -br & DISPLAY=:1 "$starter"
> fi
> 
> } ## fin chroot graphique
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# function CLEANCHROOT()
> {
> message "Sortie du chroot ok, Nettoyage\n"
> if [ "$DIST" = "lucid" ]; then
> vt="`cat /tmp/deftty`"
> echo $vt
> chvt $vt
> fi
> 
> ## check kde4
> ## si autologin activ changes utilisateur en rapport avec /etc/casper.conf
> if [ "$sessionType" = "kde4" ]; then
> 
> if [[ `cat "/etc/kde4/kdm/kdmrc" | grep -e "^AutoLoginEnable=true"` ]]; then
> chuser=$(cat /etc/casper.conf | grep -w "USERNAME=" | sed 's/.*=//' | sed 's/" 
//g')
> message "Modification de l utilisateur par defaut pour kdm-kde4 avec l utilisa 
teur $chuser \n"
> sed -i "s/AutoLoginUser=.*/AutoLoginUser=$chuser/" /etc/kde4/kdm/kdmrc
> fi
> 
> ## edite le fichier de config plasma pour virer icones quitter et assistant... 
> ## edite le fichier de config plasma pour virer icones quitter et assistant...
> line=$(cat /etc/skel/.kde4/share/config/plasma-appletsrc | grep -B1 "quit-chro 
ot")
> echo -e "$line" | while read lines; do
> sed -i '/[$lines]/d' /etc/skel/.kde4/share/config/plasma-appletsrc
> done
> 
> line=$(cat /etc/skel/.kde4/share/config/plasma-appletsrc | grep -B1 "ubukey-as 
sist")
> echo -e "$line" | while read lines; do
> sed -i '/[$lines]/d' /etc/skel/.kde4/share/config/plasma-appletsrc
> done
> 
> ## vire fichier socket
> ! test -e /etc/skel/.kde/share/apps/nepomuk/socket || rm  /etc/skel/.kde/share 
/apps/nepomuk/socket
> 
> fi ## fin si kde4
> 
> ################
> ## nettoie user
> 
> message "Reverifie l integritee du dossier /etc/skel (peut etre long...) \n"
> chuser=$(cat /etc/casper.conf | grep -w "USERNAME=" | sed 's/.*=//' | sed 's/" 
//g')
> if [[ "$chuser" != "$user" ]]; then
> LISTE="`find /etc/skel -type f | sed '/.thumbnails/d;/.cache/d;/.purple/d;/.ic 
ons/d;/.emerald/d;/.mozilla/d;/.dbus/d;/.themes/d;/.png/d;/.jpeg/d;/.jpg/d;/.bin 
/d;/find/d'`"
> echo -e "$LISTE" | while read file; do 
> if [[ -e "$file" && `cat "$file" | grep -e "$user"` ]]; then 
> sed -i "s%=$user%=$chuser%g;s%\/home\/$user%\/home\/$chuser%g" "$file"
> fi
> done
> fi
> 
> socketFiles=$(find /etc/skel -type s -o -type b -o -type p)
> echo -e "$socketFiles"| while read file; do
> type=$(file "$file" | cut -f2 -d' ')
> echo -e "Efface le fichier : $file \n"
> rm -f "$file"
> done
> 
> ## fix gconf
> if [ -e "/etc/skel/.gconfd/saved_state" ]; then
> rm /etc/skel/.gconfd/saved_state
> fi
> 
> ## remet user root
> sed -i 's/\/home\/'$user'/\/root/' /etc/passwd
> 
> ## maj kernel et/ou verification
> INIT=$(ls -al /initrd.img | sed 's/.*boot\///')
> VMLINUZ=$(ls -al /vmlinuz | sed 's/.*boot\///')
> 
> ## clean en cas de mise a jour du kernel important !!
> if [ -e "/vmlinuz.old" ]; then
> toRemove=$(ls -al /vmlinuz.old | sed 's/.*boot\/vmlinuz-//')
> sleep 2
> 
> ## nettoyage kernels multiples
> removeHeaders=$( echo "$toRemove" |sed 's/-generic/*/')
> ##
> message "Nettoyage des kernels superflus \n"
> apt-get remove --purge -y --force-yes linux-image-"$toRemove" linux-headers-"$ 
removeHeaders"
> rm -R /usr/src/linux-headers-"$removeHeaders" &>/dev/null
> rm -R /lib/modules/"$toRemove"
> rm /*.bak
> rm /*.old
> rm /boot/*.bak
> rm /boot/*.old
> fi
> 
> dpkg -l |grep ^rc |awk '{print $2}' |xargs dpkg -P &>/dev/null
> if [[ ! `egrep "ata-piix||all_generic_ide" /usr/share/initramfs-tools/modules` 
 ]]; then
> sed -i '/ata-generic/d;/ide-generic/d;/all_generic_ide/d' usr/share/initramfs- 
tools/modules
> echo -e "ata-generic\nide-generic\nall_generic_ide" | tee -a /usr/share/initra 
mfs-tools/modules
> fi
> 
> ## s'assure resolutions mini dans usplash.conf
> echo -e "xres=1024
> yres=768" | tee /etc/usplash.conf
> 
> ## debut nettoyage chroot
> cd /tmp
> if [ "$sessionType" = "gnome" ]; then
> gconftool-2 -t boolean -s /apps/nautilus/desktop/volumes_visible true &>/dev/n 
ull
> fi
> 
> sleep 3
> ## nettoyage apt
> apt-get clean
> dpkg -l |grep ^rc |awk '{print $2}' |xargs dpkg -P &>/dev/null
> ## remet a jour les sources....
> ubusrc-gen
> rm /var/lib/apt/lists/*
> apt-get update
> ## sortie du script et demonte tout
> rm -R -f /var/crash/* &>/dev/null
> rm -R -f /tmp/* &>/dev/null
> rm -R -f /var/run/* &>/dev/null
> rm -R -f /root/* &>/dev/null
> 
> message "nettoyage des fichiers de l utilisateur chroot\n"
> ## efface utilisateur
> rm /etc/xdg/autostart/fix-clavier.desktop &>/dev/null
> rm /etc/skel/.config/autostart/fix-clavier.desktop &>/dev/null
> rm /etc/skel/.xsession-errors &>/dev/null
> rm /etc/skel/.Xauthority &>/dev/null
> rm -Rf /etc/skel/.gvfs &>/dev/null
> rm /usr/local/bin/quit-chroot.sh
> rm /etc/skel/.ICEauthority &>/dev/null
> rm -Rf /var/tmp/*
> rm -Rf /home/"$user"
> 
> rm /etc/hosts
> rm /etc/resolv.conf
> rm /etc/X11/xorg.conf
> 
> ## clean group and passwd files
> sed -i '/^[^:]*:[^:]*:[1-9][0-9][0-9][0-9]:/d' /etc/passwd
> sed -i '/^[^:]*:[^:]*:[12][0-9][0-9][0-9][0-9]:/d' /etc/passwd
> 
> sed -i '/^[^:]*:[^:]*:[1-9][0-9][0-9][0-9]:/d' /etc/group
> sed -i '/^[^:]*:[^:]*:[12][0-9][0-9][0-9][0-9]:/d' /etc/group
> 
> sed -i '/^[^:]*:[^:]*:[^:]*:'$user'/d' /etc/group
> 
> ## recreate shadow/gshadow files file
> pwconv
> grpconv
> 
> chown -R root:root /etc/skel/.
> }
]0;root@toshiba: /root@toshiba:/# 
]0;root@toshiba: /root@toshiba:/# if [ -z "$mode" ]; then
> message "Dmarrage du chroot en mode graphique ! \n"
> INITCHROOT
> CHROOTGRAPHIQUE
> CLEANCHROOT
> else
> message "Dmarrage du chroot en mode console ! \n"
> INITCHROOT
> 
> ln -sf /etc/skel/ /home/"$user"
> rm /etc/skel/skel
> cd /home/"$user"
> 
> export DISPLAY=localhost:5
> sleep 5
> 
> #ubusrc-gen
> [ -e /usr/bin/xterm ] || message "Installation de xterm \n"; apt-get install - 
y xterm
> 
> ## genere xorg
> DRIVER=vesa
> DEPTH=16
> genXorg
> 
> ## demarre console
> $decorator --replace & setxkbmap "$LOCALSIMPLE" & xterm -bg black -fg white -g 
eom 115x40 -fn 7x14
> 
> kill -9 `ps aux | grep -e "[-]fakexa" | awk '{print $2}'`
> CLEANCHROOT
> fi
bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.utf8)
mount: proc already mounted
mount: none already mounted or /sys busy
mount: according to mtab, none is already mounted on /sys
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.utf8)
source lucid main ok
source src lucid main ok 

source lucid restricted ok
source src lucid restricted ok 

source lucid universe ok
source src lucid universe ok 

source lucid multiverse ok
source src lucid multiverse ok 

Depot(s) specifique(s) au script ok... 


Mise a jour des sources...ok
bash: /usr/sbin/unsquashfs: Permission denied
chmod: cannot access `/usr/bin/unsquashfs': No such file or directory
chmod: cannot access `/usr/bin/mksquashfs': No such file or directory
--2010-04-25 07:22:32--  http://scripts.penguincape.org/ubukey/ubukey-gnome.sh
Resolving scripts.penguincape.org... 94.247.176.108
Connecting to scripts.penguincape.org|94.247.176.108|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6883 (6.7K) [text/x-sh]
Saving to: `ubukey-gnome.sh'

     0K ......                                                100%  133K=0.05s

2010-04-25 07:22:32 (133 KB/s) - `ubukey-gnome.sh' saved [6883/6883]

--2010-04-25 07:22:32--  http://scripts.penguincape.org/ubukey/quit-chroot.sh
Resolving scripts.penguincape.org... 94.247.176.108
Connecting to scripts.penguincape.org|94.247.176.108|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38 [text/x-sh]
Saving to: `quit-chroot.sh'

     0K                                                       100% 2.47M=0s

2010-04-25 07:22:32 (2.47 MB/s) - `quit-chroot.sh' saved [38/38]

rm: cannot remove `/etc/X11/xorg.conf': No such file or directory
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
sudo: ddcprobe: command not found
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "evdev"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"   "fr"
    Option        "XkbVariant"  "oss"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
	Driver "mouse"
	Option "CorePointer"
	Option "Device" "/dev/input/mice"
	Option "Protocol" "ExplorerPS/2"
	Option "ZAxisMapping" "4 5"
	Option "Emulate3Buttons" "true"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver 		"intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes      "1600x1200" "1440x900" "1280x1024" "1280x800" "1024x768" "1024x600" "800x600" "640x480"
	EndSubSection
EndSection



Section "ServerFlags"
Option "AutoAddDevices" "off"
Option "AllowEmptyInput" "off"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "off"
EndSection

[1] 17997
[2] 17998

Fatal server error:
Server is already active for display 1
	If this server is no longer running, remove /tmp/.X1-lock
	and start again.


Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 

 ddxSigGiveUp: Closing log

(process:17999): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18004): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
gnome-session[17999]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[17999]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

(process:18009): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
GNOME_KEYRING_CONTROL=/tmp/keyring-lj6QNd
GNOME_KEYRING_PID=18015
GNOME_KEYRING_CONTROL=/tmp/keyring-lj6QNd
SSH_AUTH_SOCK=/tmp/keyring-lj6QNd/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-lj6QNd
SSH_AUTH_SOCK=/tmp/keyring-lj6QNd/ssh

(process:18027): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Failed to play sound: Not available

(gnome-panel:18041): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

** (polkit-gnome-authentication-agent-1:18033): WARNING **: Error connecting to bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

process 18033: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5797.
This is normally a bug in some application using the D-Bus library.
process 18033: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5761.
This is normally a bug in some application using the D-Bus library.

** ERROR **: Not enough memory to set up DBusConnection for use with GLib
aborting...
*** ERROR ***
TI:07:22:38	TH:0x89c5fe0	FI:gpm-main.c	FN:main,220
 - This program cannot start until you start the dbus system service.
It is <b>strongly recommended</b> you reboot your computer after starting this service.
Traceback:
	gnome-power-manager() [0x806487b]
	gnome-power-manager() [0x8057755]
	/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x346bd6]
	gnome-power-manager() [0x804ebc1]

** (gnome-panel:18041): WARNING **: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Connecting to system bus failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_add_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_add_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_add_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_add_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (bluetooth-applet:18038): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (nautilus:18040): WARNING **: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

** (nm-applet:18029): WARNING **: <WARN>  bus_init(): Could not get the system bus.  Make sure the message bus daemon is running!  Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


** (nm-applet:18029): CRITICAL **: nm_remote_settings_system_new: assertion `bus != NULL' failed

** (nm-applet:18029): CRITICAL **: nm_settings_service_export: assertion `priv->bus != NULL' failed

** (nm-applet:18029): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (nm-applet:18029): WARNING **: <WARN>  request_name(): Could not acquire the NetworkManagerUserSettings service.
  Error: (-1) (unknown)


** (gnome-panel:18041): WARNING **: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

(gnome-settings-daemon:18012): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/lib/gvfs/gvfs-gdu-volume-monitor received signal 6

(process:18074): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18077): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18078): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(evolution-alarm-notify:18080): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18081): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18084): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:18083): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

Latex-Math : annalescours/exos ; exos. Ubuntu : live-usb ; multiboot

Hors ligne

#242 Le 25/04/2010, à 14:07

NGRaziel

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Bon, je pense pouvoir dire qu'il y a du mieux, je n'ai plus l'écran tty5 comme buster19, mais un écran bien bien noir, quel que soit le pilote choisi, avec un petit retour au bureau occasionnel pour le vesa.

Hors ligne

#243 Le 25/04/2010, à 18:09

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

hello

sorry j recois pas de mail quand vous postez smile

je viens de balancer une maj pour corriger les delires avec dbus (que j enleve carrement pour l instant pas le choix) bug depuis la modificationd u systeme d init... j y peux rien

et plus de soucis avec virtualbox usb/iso sous lucid

pour vos pb de chroot, indiquez moi a chaque fois ce que vous abvez comme driver en local et votre choix sur chroot
+ les logs comme a fait buster wink

perso j ai aucun pb avec radeon, vesa marche pas a cause de dkms (bug xorg) si vous etes avec radeon ou nouveau pareil pour vous

j ai meme compiz qui marche nickel en chroot Oo.... awn composite et tout l tralala

pour preparation langue fr , faut que je le retape un peu oui, deconne la premiere fois et on voit plus ce qu il fait comme avant..

++

Dernière modification par smo (Le 25/04/2010, à 18:15)

Hors ligne

#244 Le 25/04/2010, à 18:11

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

buster

Fatal server error:
Server is already active for display 1
    If this server is no longer running, remove /tmp/.X1-lock
    and start again.


fais attention a bien tout killer si ca plante et des fois y passe sur tty5 mais en fait y tourne sur le 8 ou 9 ...

suffit de switcher a la main.. a mon avis toi ca marchait, juste que t etais pas sur le bon ecran big_smile

vais voir si c est toujours necessaire de faire un chvt (j le faisait aps avant)

++

Dernière modification par smo (Le 25/04/2010, à 18:25)

Hors ligne

#245 Le 25/04/2010, à 18:18

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

yep

nouvelle maj, suppression des  chvt, remarche tres bien sans... ca devrait rouler pour toi buster

++

Dernière modification par smo (Le 25/04/2010, à 18:25)

Hors ligne

#246 Le 25/04/2010, à 18:44

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

et vous avez le droit de passer sur le tchat aussi hein (ma signature) wink

++

Hors ligne

#247 Le 25/04/2010, à 21:25

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

nouvelle maj

pour lucid, le xorg par defaut du script repasse avec evdev uniquement, donc plus besoin de fix pour hal etc ... ca roule pour moi et danboy

et correction de l affichage pour la localisation avant le chroot on revoit ce qui s passe...

++

Dernière modification par smo (Le 25/04/2010, à 21:27)

Hors ligne

#248 Le 26/04/2010, à 10:14

NGRaziel

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Voilà mon chroot.log

root@ronan-laptop:/# 
root@ronan-laptop:/# mode="$(cat /etc/ubukey/ubukeyconf | grep -e "mode" | sed 's/.*=//')"
root@ronan-laptop:/# 
root@ronan-laptop:/# function message() {
root@ronan-laptop:/# 
root@ronan-laptop:/# function INITCHROOT()
root@ronan-laptop:/# 
root@ronan-laptop:/# ###### config xorg
root@ronan-laptop:/# function genXorg
root@ronan-laptop:/# 
root@ronan-laptop:/# 
root@ronan-laptop:/# function CHROOTGRAPHIQUE()
root@ronan-laptop:/# 
root@ronan-laptop:/# function CLEANCHROOT()
root@ronan-laptop:/# 
root@ronan-laptop:/# if [ -z "$mode" ]; then
Dépot:
# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
présent mais commenté, activation... 

# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
source src lucid main ok 

Dépot:
# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
présent mais commenté, activation... 

# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main
source src lucid restricted ok 

source lucid universe ok
source src lucid universe ok 

source lucid multiverse ok
source src lucid multiverse ok 

Depot(s) specifique(s) au script ok... 


Mise a jour des sources...ok
--2010-04-26 09:05:55--  http://scripts.penguincape.org/ubukey/ubukey-gnome.sh
Résolution de scripts.penguincape.org... 94.247.176.108
Connexion vers scripts.penguincape.org|94.247.176.108|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 6883 (6,7K) [text/x-sh]
Sauvegarde en : «ubukey-gnome.sh»

     0K ......                                                100%  117K=0,06s

2010-04-26 09:05:55 (117 KB/s) - «ubukey-gnome.sh» sauvegardé [6883/6883]

--2010-04-26 09:05:56--  http://scripts.penguincape.org/ubukey/quit-chroot.sh
Résolution de scripts.penguincape.org... 94.247.176.108
Connexion vers scripts.penguincape.org|94.247.176.108|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 38 [text/x-sh]
Sauvegarde en : «quit-chroot.sh»

     0K                                                       100% 1,41M=0s

2010-04-26 09:05:56 (1,41 MB/s) - «quit-chroot.sh» sauvegardé [38/38]

rm: ne peut enlever `/etc/X11/xorg.conf': Aucun fichier ou dossier de ce type
La resolution ideale n'a pas pu etre detectee automatiquement
Indiquez la resolution a utiliser

exemple 1280x1024:
sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "evdev"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"   "fr"
    Option        "XkbVariant"  "oss"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
	Driver "mouse"
	Option "CorePointer"
	Option "Device" "/dev/input/mice"
	Option "Protocol" "ExplorerPS/2"
	Option "ZAxisMapping" "4 5"
	Option "Emulate3Buttons" "true"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver 		"nv"
	BusID       "PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes     "1600x1200" "1440x900" "1280x1024" "1280x800" "1024x768" "1024x600" "800x600" "640x480"
	EndSubSection
EndSection


[1] 2319
X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting.

[1]+  Exit 1                  X :1 -dpi 96 -ac -br
Efface le fichier :  

xres=1024
yres=768
Dépot:
# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main
présent mais commenté, activation... 

# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main
deb http://fr.archive.ubuntu.com/ubuntu/ lucid restricted
source src lucid main ok 

Dépot:
# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid restricted
présent mais commenté, activation... 

# deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Release Candidate i386 (20100419.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main
deb http://fr.archive.ubuntu.com/ubuntu/ lucid restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main
source src lucid restricted ok 

source lucid universe ok
source src lucid universe ok 

source lucid multiverse ok
source src lucid multiverse ok 

Depot(s) specifique(s) au script ok... 


Mise a jour des sources...ok
rm: ne peut enlever `/var/lib/apt/lists/partial': est un dossier
Réception de : 1 http://archive.canonical.com lucid Release.gpg [189B]
Ign http://archive.canonical.com/ lucid/partner Translation-fr
Réception de : 2 http://fr.archive.ubuntu.com lucid Release.gpg [189B]
Réception de : 3 http://fr.archive.ubuntu.com/ubuntu/ lucid/main Translation-fr [452kB]
Réception de : 4 http://security.ubuntu.com lucid-security Release.gpg [189B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-fr
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-fr
Réception de : 5 http://archive.canonical.com lucid Release [8 203B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-fr
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-fr
Réception de : 6 http://security.ubuntu.com lucid-security Release [37,1kB]
Réception de : 7 http://archive.canonical.com lucid/partner Packages [5 157B]
Réception de : 8 http://security.ubuntu.com lucid-security/main Packages [14B]
Réception de : 9 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Réception de : 10 http://security.ubuntu.com lucid-security/main Sources [14B]
Réception de : 11 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Réception de : 12 http://security.ubuntu.com lucid-security/universe Packages [14B]
Réception de : 13 http://security.ubuntu.com lucid-security/universe Sources [14B]
Réception de : 14 http://security.ubuntu.com lucid-security/multiverse Packages [14B]
Réception de : 15 http://security.ubuntu.com lucid-security/multiverse Sources [14B]
Réception de : 16 http://fr.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-fr [2 628B]
Réception de : 17 http://fr.archive.ubuntu.com/ubuntu/ lucid/universe Translation-fr [702kB]
Réception de : 18 http://fr.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-fr [83,2kB]
Réception de : 19 http://fr.archive.ubuntu.com lucid-updates Release.gpg [189B]
Ign http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-fr
Ign http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-fr
Ign http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-fr
Réception de : 20 http://fr.archive.ubuntu.com lucid Release [57,2kB]
Réception de : 21 http://fr.archive.ubuntu.com lucid-updates Release [37,1kB]
Réception de : 22 http://fr.archive.ubuntu.com lucid/main Packages [1 385kB]
Réception de : 23 http://fr.archive.ubuntu.com lucid/restricted Packages [6 220B]
Réception de : 24 http://fr.archive.ubuntu.com lucid/main Sources [659kB]
Réception de : 25 http://fr.archive.ubuntu.com lucid/restricted Sources [3 775B]
Réception de : 26 http://fr.archive.ubuntu.com lucid/universe Packages [5 469kB]
Réception de : 27 http://fr.archive.ubuntu.com lucid/universe Sources [3 172kB]
Réception de : 28 http://fr.archive.ubuntu.com lucid/multiverse Packages [179kB]
Réception de : 29 http://fr.archive.ubuntu.com lucid/multiverse Sources [118kB]
Réception de : 30 http://fr.archive.ubuntu.com lucid-updates/main Packages [14B]
Réception de : 31 http://fr.archive.ubuntu.com lucid-updates/restricted Packages [14B]
Réception de : 32 http://fr.archive.ubuntu.com lucid-updates/main Sources [14B]
Réception de : 33 http://fr.archive.ubuntu.com lucid-updates/restricted Sources [14B]
Réception de : 34 http://fr.archive.ubuntu.com lucid-updates/universe Packages [14B]
Réception de : 35 http://fr.archive.ubuntu.com lucid-updates/universe Sources [14B]
Réception de : 36 http://fr.archive.ubuntu.com lucid-updates/multiverse Packages [14B]
Réception de : 37 http://fr.archive.ubuntu.com lucid-updates/multiverse Sources [14B]
12,4Mo réceptionnés en 19s (639ko/s)
Lecture des listes de paquets...
root@ronan-laptop:/tmp# exit

Sinon, niveau pilote, j'utilise les drivers proprios nvidia, avec compiz activé.
Dans mes options chroot, je choisis juste Custom-graphique et les pilotes nvidia.
Depuis la dernière MAJ, le script ne bascule même plus en tty5, sortie du chroot directement, sans aucune intervention de ma part.

Merci pour ton temps smo wink

Hors ligne

#249 Le 26/04/2010, à 12:16

smo

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

ola

alors voila ton erreur

[1] 2319
X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting.

tres rare, jamais vu ça et du au fait que tu as pris nvidia comme driver a mon avis (je vais le virer celui la) smile

normal pour le tty5

en fait apparement ca ne marche toujours pas avec driver nvidia en local, la seule solution est de passer sur nouveau en local et de prendre le driver  nouveau egalement pour le chroot... et ca j y peux rien du tout sad

++

Dernière modification par smo (Le 26/04/2010, à 12:18)

Hors ligne

#250 Le 26/04/2010, à 12:42

NGRaziel

Re : createur ubuntu personnalise iso/cle usb avec customisation graphique

Question subsidiaire : mon problème peut-il venir du fait que j'utilise un partition NTFS pour stocker les données d'ubukey ?

Hors ligne