Restaurer son OS depuis une sauvegarde: / & /home séparées

Saluts,

[quote=“loreleil”]* edit *

Ces tutos sont à présent disponible dans notre Wiki ! … :wink:

Sauvegarder sa Debian en vue d’une Réinstallation ou Reconstruction - Racine et Home séparés

Restauration ou Reconstruction de sa Debian - Racine et Home séparés

:006

[/quote]
Ce tuto donne suite à ce fil : “Comment rendre une sauvegarde bootable … ?

J’y ai appris énormément. Merci ricardo … je t’en serre cinq … :wink:

Les objectifs de se tuto en deux étapes !

A) Sauvegarde et Reconstruction.

B) Réinstaller Grub2 et modifier le fstab, en live-cd.

_ Faire une sauvegarde du disque source, ici la racine “/” & “/home” sont deux sauvegardes bien distincts.

_ Reconstruire sa Debian sur un autre disque (interne/externe) à partir des sauvegardes. C’est également le moyen de contrôler la fiabilité des sauvegardes faites avec rsync !

Disque reconstruit qui sera entièrement autonome !

Pour ce faire, une sauvegarde ! À l’aide de ce tuto “Script de double sauvegarde alternée” que tu veillera à réaliser, en le suivant à la lettre.

A)

Pré-requis :

Un dd externe de préférence (où +) pour les sauvegardes.
Un dd interne (où externe) pour ré-installer sa Debian bichonner depuis bien longtemps.
Un live-cd.

1°) Le disque des sauvegardes. (dd externe sdc en ext3)

  • Sauvegarde de la racine.

ps: Les fichiers “exclure” sont fonctions de mon install ! Maintenant, liberté liberté ! C’est ta bécane, c’est toi qui vois … :083 Il te faut adapter selon Ta machine !

[quote].

/dev/sdc5 = sauve
/dev/sdf6 = sauve2

[/quote]

Mon script modifié, que j’ai enregistré sous “sauvegardeR”

Mon script modifié, que j’ai enregistré sous “sauvegardeH”

[quote]

mount_rep="/mnt/"

la première donnée, vide, figure le [0], de façon à commencer par [1]

ddext=(’’ ‘/dev/sdc7’ ‘/dev/sdf8’)
systeme_fich=(’’ ‘ext3’ ‘ext3’)
controle=(’’ ‘/home/.controleH/’)
exclure=(’’ ‘/root/exclureH’)
sauve=(’’ ‘/mnt/’)
dossier_a_sauver=(’’ ‘/home/’)[/quote]

Mon fichier exclureH.

root@machine1:~# cat /root/exclureH
/.ure
/bin
/boot
/dev
/etc
/lib
/lib32
/lib64
/lost+found
/media
/mnt
/opt
/proc
/root
/sbin
/selinux
/srv
/sys
/tmp
/usr
/var
/initrd.img
/vmlinuz
root@machine1:~#

Lancement des sauvegardes, l’une après l’autre ! (quel que soit l’ordre)

:~$ sauvegardeR
:~$ sauvegardeH

S’en n’ai terminé pour les sauvegardes !

2°) Préparation du disque à reconstruire avec gparted.

Une partition primaire (qui recevra la sauvegarde de la racine) de taille équivalente au disque source, en ext3.

_ /dev/sdb1 : partition primaire (drapeaux boot)

Une extension.

_ /dev/sdb2

Le swap.

_ /dev/sdb5

Une partition logique (qui recevra la sauvegarde de home) de taille équivalente à la partition /home du disque source, en ext3. PS: aucune étiquette pour cette partition !!!

_ /dev/sdb6

3°) Reconstruction de la racine “/”.

3°a) Créer les répertoires exclus (/root/exclureR)

root@machine1:~# mkdir /media/home
root@machine1:~# mkdir /media/lost+found
root@machine1:~# mkdir /media/media
root@machine1:~# mkdir /media/mnt
root@machine1:~# mkdir /media/dev
root@machine1:~# mkdir /media/proc
root@machine1:~# mkdir /media/sys


root@machine1:~# umount /media
root@machine1:~# umount /mnt

4°) Reconstruction du répertoires /home.

B)

Bien t’est prêt ? alors roulé roulé petit bolide … !

Avant toute chose, j’éteins la machine et je déconnecte tous les disques physiquement, sauf celui visé,cela limitera au stricte minimum d’éventuels erreurs de manipulations des différentes partitions.

Le but de l’opération, (ici on ne parlera plus de sdb, tu l’aura bien compris, hein … ?) chrooté sda pour réinstaller Grub2 et modifié le fstab.

A ton live, c’est parti mon kiki !

5°) Identifier les partitions et les UUID.

user@debian:~$ sudo -s
root@debian:/home/user# fdisk -l

Disk /dev/sda: 8019 MB, 8019509248 bytes
  Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1         602     4608000   83  Linux
/dev/sda2             602        1023     3222528    5  Extended
/dev/sda5             603         750     1126400   82  Linux swap / Solaris
/dev/sda6             750        1023     2094080   83  Linux
root@debian:/home/user#
root@debian:/home/user# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" SEC_TYPE="ext2" TYPE="ext3"

/dev/sda5: UUID="yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy" TYPE="swap"

/dev/sda6: UUID="zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz" SEC_TYPE="ext2" TYPE="ext3"
root@debian:/home/user#

6°) Chrooter sda1, sda6.

user@debian:~$ sudo -s
root@debian:/home/user# mkdir /mnt/chroot
root@debian:/home/user# mount -t ext3 /dev/sda1 /mnt/chroot
root@debian:/home/user# mount -t ext3 /dev/sda6 /mnt/chroot/home
root@debian:/home/user# mount --bind /dev /mnt/chroot/dev
root@debian:/home/user# mount --bind /sys /mnt/chroot/sys
root@debian:/home/user# mount -t proc /proc /mnt/chroot/proc
root@debian:/home/user# chroot /mnt/chroot
root@debian:/#

7°) Modifier le fstab.

root@debian:/# nano /etc/fstab

(...)

# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /               ext3    errors=remount-ro 0       1

# /home was on /dev/sda6 during installation
UUID=zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz /home           ext3    defaults        0       2

# swap was on /dev/sda5 during installation
UUID=yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy none            swap    sw              0       0

(...)
root@debian:/#

8°) Mise à jour et installation de Grub.

root@debian:/# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done
root@debian:/#
root@debian:/# grub-install /dev/sda
Installation finished. No error reported.
root@debian:/#

9°) Vérifications.

root@debian:/# cat /boot/grub/grub.cfg

_ os-prober Vérifié que tous les systèmes sont présents (le retour doit être vide)

root@debian:/# os-prober
root@debian:/#

Vérifié que Grub2 est installé dans le MRB.

10°) Démontage et sortie proprement.

root@debian:/home/user# umount /mnt/chroot/proc
root@debian:/home/user# umount /mnt/chroot/sys
root@debian:/home/user# umount /mnt/chroot/dev
root@debian:/home/user# umount /mnt/chroot/home
root@debian:/home/user# umount /mnt/chroot
root@debian:/home/user# exit

Voilà, c’est fini !!! Ton Os est restaurer … :023

Et bien sur, tu n’oubliera pas de faire des sauvegardes … :wink:


* Pour mémo le 01/02/2012 *

Avant la publication de Restauré où Reconstruire sa Debian. “Racine et Home séparées”.

Par acquis de conscience :Tests de toute les étapes!

Disque source 1To > sauvegardes (sdg) > /dev/sdg9 (sauvegardeR) , /dev/sdg10 (sauvegardeH)

Reconstruction > Disque (selon dispo.) 20 où 40 Gio >

/dev/sdg9 > /dev/sda1 (dd 20 où 40 Gio)

/dev/sdg10 > /dev/sda6 (dd 20 où 40 Gio)


Arrêt pc.
Prépa dd 20 où 40 Gio.


C’est parti mon kiki !

[quote=“wofy”]salut
intéressant, mais si le home est chiffré ?
obligé de faire avec la commande dd pour faire un clone. (copie physique secteur par secteur en respectant la casse), la commande rsync travaille sur le système de fichier donc pas possible avec un home crypté.[/quote]
Ça dépends de ce que tu veux faire. Si tu veux que la sauvegarde soit en claire tu peut très bien utiliser cette méthode. Quand tu as chiffré tes partitions, elles ont beau être chiffrée quand tu démarre ta machine l’OS va faire un montage en claire (d’une manière différente selon la technique que tu utilise).

Tu peut créer ta sauvegarde ainsi (en descendant dans les runlevels si tu veut), ensuite pour restaurer ta sauvegarde tu installer ton OS avec la technique que tu souhaite , puis tu boot sur un live OS, tu monte les partitions et tu effectue la restauration (pour la sauvegarde du root il faut faire gaffe à ne pas restaurer les fichiers qui concernent la précédente version de chiffrement et de ne pas écraser les nouveaux fichiers en rapport au chiffrement).

Si tu veut faire un clone, oui tu es obligé de passer par dd ou partimage par exemple.

Salut wofy :006

Perso, je n’ai pas de crash disque à proprement dit (partition) , mais plus exactement un disque défaillant (secteur endommagés)

[quote=“wofy”]la sauvegarde/restauration est:

Backup : sudo sfdisk -d /dev/sda > sda.part
Restaure : sudo sfdisk --force /dev/sda < sda.part[/quote]

là, je suis dans le vent :017 de quoi s’agit il ? veux tu développé s’il te plaît … :wink:

Saluts,

Tuto mise à jour ! >>> Restaurer un OS depuis une sauvegarde: /home séparée

Sans bidouilles, sans fioritures, au carré quoi !!!

Éprouvé 17 fois, dont la dernière sur une clés usb de 8Gio !

:023

Je verrouille ce sujet momentanément pour étude.
Il sera rouvert sitôt que possible.
Loreleil, je te prie de m’en excuser.

A ce jour !

Je peux affirmer !!! Et j’affirme !!!

Que la restauration (vécu ce jour !!! ) d’une sauvegarde “/” & “/home” datant d’hier c’est déroulé les doigts dans le nez (deux mains dans le dos) !

Le tout en 6 mn (environ) … :whistle:

Salut,

Il était grand temps … :033

Premier mouvement !

Publication :

isalo.org/wiki.debian-fr/ind … tion=purge. ^¿^ .:smiley:

À suivre …

Deuxième mouvement !

. ^¿^ .:033

[quote=“loreleil”]Salut,

Il était grand temps … :033

Premier mouvement !

Publication :

isalo.org/wiki.debian-fr/ind … tion=purge. ^¿^ .:smiley:

À suivre …

Deuxième mouvement !

. ^¿^ .:033[/quote]

bravo pour ce tuto très utile, en cas de problème sur mon système, un petit coup de restauration avec rsync et tout rentre dans l’ordre illico.
juste une remarque: dans le fichier exclure: il ne faut pas mette le “/” devant les répertoires ou fichiers, ici cela fonctionne car les fichiers en question sont justement à la racine mais s’ils étaient dans un autre endroit de l’arborescence, cela ne fonctionnerait pas car ‘le chemin relatif’ est basé sur la source indiquée dans la ligne de commande.

[quote=“loreleil”]Salut,

Il était grand temps … :033

Premier mouvement !

Publication :

isalo.org/wiki.debian-fr/ind … tion=purge. ^¿^ .:smiley:

À suivre …

Deuxième mouvement !

. ^¿^ .:033[/quote]

Loreleil, tu devrais changer l’prthographe du titre de ton tuto :
sauvegardé ==> sauvegarder
ainsi que ==> ou

Merci! :023

Ce fût un plaisir … :wink:

[quote]juste une remarque: …

mais s’ils étaient dans un autre endroit de l’arborescence, cela ne fonctionnerait pas car ‘le chemin relatif’ est basé sur la source indiquée dans la ligne de commande.[/quote]

Voudrais tu développés le fond de tes pensées, please! Que tu formuleras, de manière plus précise :033

Du concret, quoi … :033

[quote=“loreleil”][quote=“nykoos”]

bravo pour ce tuto très utile, en cas de problème sur mon système, un petit coup de restauration avec rsync et tout rentre dans l’ordre illico.

[/quote]

Merci! :023

Ce fût un plaisir … :wink:

[quote]juste une remarque: …

mais s’ils étaient dans un autre endroit de l’arborescence, cela ne fonctionnerait pas car ‘le chemin relatif’ est basé sur la source indiquée dans la ligne de commande.[/quote]

Voudrais tu développés le fond de ta pensée, noir sur blanc … de manière plus précise :083[/quote]

un exemple pour illustrer: je fais une autre sauvegarde pour le home: idem j’utilise un fichier exclure pour ne pas tout copier, si je met dans ce fichier exclure /home/user/toto toto n’est pas exclu, ni en mettant /toto mais par contre si je met simplement toto il est bien exclu, et bien sûr si je met toto/ , toto sera copié mais pas son contenu.

et lorsque j’ai supprimé le slash dans l’exclure de ton tuto, il fonctionnait tout autant ainsi.

Pause … :wink:

Reprise(s) … :wink:

[code]cat /home/loreleil/.exclureH

/home/user/toto

ou

/home/user/toto/

[/code]

Ils ne sont pas pris en compte.

C’est exact! :023 et j’avais oublié cela. … :mrgreen:

J’avais effectivement, rencontrer ce même problème à la base. Que j’avais laissé, comme non solutionner.

Si j’ai bien compris ton illustration, (?) cette soluce ne fonctionnerait pas.

[code]cat /home/loreleil/.exclureH

/toto

[/code]

Par contre ceci fonctionnerait ?

[code]cat /home/loreleil/.exclureH

toto

[/code]

Je vais donc pousser quelques tests dans ce sens.

En tout les cas, je te remercie de ta contribution … C’est bien cool … :023

Je crois que j’avais fait une modif sur le script de mon tuto mais elle n’avait pas été reportée sur la page wiki.

Salut ,

@ricardo

j’ai lancé un kdiff3, sur le script que j’avais enregistrer (il y a 10 mois, peut être plus) et celui présent ce jour, il ne relève aucune modif notable, hormis la section variables.

@nykoos

je vais voir pour lancer quelques tests cette fin AM.
:006

Fin de compte, j’ai trouvé un peu de temps. (cf. une casserole de lait sur le poêle)

@nykoos:023 bien vu ! … :041

[quote]:~$ df -h /home/loreleil/
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/sda6 202G 4,0G 188G 3% /home
loreleil@machine1:~$ [/quote]

:~$ cat /home/loreleil/.exclureH COPIE_petits_papiers-pc1-loreleil filezilla Téléchargements Mes_petits_papiers BLACKLIST /.ure /bin /boot /dev /etc /lib /lib32 /lib64 /lost+found /media /mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr /var /initrd.img /vmlinuz

[code]1:~$ sauvegardeH

  1. sauve
  2. sauve2
  3. quitter
    Entrez le N° de la sauvegarde choisie : 1
    CONTENU de la CORBEILLE

. books_fichiers ecran_securite.php HTMLSax3.php mypasswd stardict-Emile-Littre.xdxf-2.4.2
… Copie_etc_mediawiki_LocalSettings.php.txt ESSAISAUVEGARDE info.txt passwordlist.txt usr
18112011_19h25 des_fichiers_configurations_original GBrH0w7X9PLOR5JGSZaCcPoQ jquery.js RACINE
19112011_18h50 eaccelerator-0.9.6.1.tar.bz2 home mes_options.php safehtml.php
on peut la vider ? o/* : n
CORBEILLE CONSERVÉE PLEINE
prêt pour la sauvegarde ? o/* : o
sending incremental file list
./
.controleH/

loreleil/mediawiki_24012012/l’installation_de_mediawiki_24012012/installer.txt
loreleil/mediawiki_24012012/l’installation_de_mediawiki_24012012/installer_02.txt
loreleil/mediawiki_24012012/l’installation_de_mediawiki_24012012/installer_mediawiki-extensions.txt

sent 3145710321 bytes received 1144596 bytes 11463952.34 bytes/sec
total size is 3141370905 speedup is 1.00

Sauvegarde de /home/ : OK
loreleil@machine1:~$
[/code]

:~# mount -t ext3 /dev/sdf11 /media root@machine1:~#

[quote]:~$ df -h /media/loreleil/
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/sdf11 4,9G 3,3G 1,4G 72% /media
loreleil@machine1:~$ [/quote]

Le wiki sera corriger … :clap:

Salut,

Mise à jour : Sauvegardé sa Debian, en vue d’une réinstallation ou reconstruction. “Racine et Home séparées”.

isalo.org/wiki.debian-fr/ind … tion=purge

:006

Salut,

La suite … Restauration ou Reconstruction de sa Debian. “Racine et Home séparées”.

isalo.org/wiki.debian-fr/ind … ant-propos.

:006

Salut,

Correction des liens éphémères … :083

[quote=“loreleil”]* edit *

Ces tutos sont à présent disponible dans notre Wiki ! … :wink:

Sauvegarder sa Debian en vue d’une Réinstallation ou Reconstruction - Racine et Home séparés

Restauration ou Reconstruction de sa Debian - Racine et Home séparés

:006

[/quote]

Salut,

Pour mémo.

Restauration de ma racine, suite à un problème de ré-installation de mysql-server-5.1, deux sur ce problème que je n’ai pas réussi à solutionner.
Que se soit avec aptitude, apt-get, dpkg.

Alors je passe à la pratique … :wink:

J’ai démarré une session en live-cd.

Modification du sources.list.

user@debian:~$ sudo -s root@debian:~# cat /etc/apt/sources.list deb http://cdn.debian.net/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main root@debian:~#

Installation de rsync et gparted.

[code]root@debian:~# aptitude install rsync
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following NEW packages will be installed:
rsync
The following packages will be upgraded:
libpopt0
1 packages upgraded, 1 newly installed, 0 to remove and 697 not upgraded.
Need to get 413kB of archives. After unpacking 770kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information… Done
Get:1 http://cdn.debian.net squeeze/main libpopt0 1.16-1 [54.1kB]
Get:2 http://cdn.debian.net squeeze/main rsync 3.0.7-2 [359kB]
Fetched 413kB in 0s (752kB/s)
(Reading database … 83600 files and directories currently installed.)
Preparing to replace libpopt0 1.14-4 (using …/libpopt0_1.16-1_amd64.deb) …
Unpacking replacement libpopt0 …
Selecting previously deselected package rsync.
Unpacking rsync (from …/rsync_3.0.7-2_amd64.deb) …
Processing triggers for man-db …
Setting up libpopt0 (1.16-1) …
Setting up rsync (3.0.7-2) …
Removing any system startup links for /etc/init.d/rsync …
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Reading task descriptions… Done

Current status: 697 updates [-1].
root@debian:~#
[/code]

[code]root@debian:/# aptitude install gparted
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following packages are BROKEN:
cups-bsd cups-ppdc libcairo2
The following NEW packages will be installed:
bc{a} dmsetup{a} gcc-4.4-base{a} gparted libc-bin{a} libcairomm-1.0-1{a} libcupscgi1{a} libcupsdriver1{a} libcupsmime1{a} libcupsppdc1{a} libdatrie1{a}
libglibmm-2.4-1c2a{a} libgssapi-krb5-2{a} libgtkmm-2.4-1c2a{a} libk5crypto3{a} libkrb5-3{a} libkrb5support0{a} liblzma2{a} libopenjpeg2{a} libpangomm-1.4-1{a}
libparted0debian1{a} libpoppler5{a} libudev0{a} shared-mime-info{a} ttf-freefont{a} xz-utils{a}
The following packages will be REMOVED:
cupsddk-drivers{a} libdatrie0{a}
The following packages will be upgraded:
cups cups-client cups-common dpkg fontconfig-config foomatic-filters libatk1.0-0 libblkid1 libc6 libcups2 libcupsimage2 libdevmapper1.02.1 libfontconfig1
libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgtk2.0-0 libjpeg62 libkrb53 libncurses5 libpango1.0-0 libpango1.0-common libpcre3 libpixman-1-0 libstdc++6
libtasn1-3 libthai-data libthai0 libuuid1 libxcb-render-util0 libxml2 libxrandr2 locales poppler-utils util-linux
The following packages are RECOMMENDED but will NOT be installed:
ghostscript-cups gksu libatk1.0-data libglib2.0-data libgtk2.0-bin uuid-runtime x-ttcidfont-conf xml-core
37 packages upgraded, 27 newly installed, 2 to remove and 660 not upgraded.
Need to get 37.1MB of archives. After unpacking 27.6MB will be used.
The following packages have unmet dependencies:
libcairo2: Breaks: xulrunner-1.9 but 1.9.0.19-7 is installed.
cups-ppdc: Conflicts: cupsddk (< 1.4.0) but 1.2.3-5 is installed and it is kept back.
cups-bsd: Depends: cups-client (= 1.3.8-1+lenny8) but 1.4.4-7+squeeze1 is to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
cups-bsd
iceweasel
xulrunner-1.9

Upgrade the following packages:
cupsddk [1.2.3-5 (now) -> 1.4.4-7+squeeze1 (stable, stable)]

Score is -91

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
bc{a} cups-ppdc{a} dmsetup{a} gcc-4.4-base{a} gparted libc-bin{a} libcairomm-1.0-1{a} libcupscgi1{a} libcupsdriver1{a} libcupsmime1{a} libcupsppdc1{a}
libdatrie1{a} libglibmm-2.4-1c2a{a} libgssapi-krb5-2{a} libgtkmm-2.4-1c2a{a} libk5crypto3{a} libkrb5-3{a} libkrb5support0{a} liblzma2{a} libopenjpeg2{a}
libpangomm-1.4-1{a} libparted0debian1{a} libpoppler5{a} libudev0{a} shared-mime-info{a} ttf-freefont{a} xz-utils{a}
The following packages will be REMOVED:
cups-bsd{a} cupsddk-drivers{a} iceweasel{a} libdatrie0{a} xulrunner-1.9{a}
The following packages will be upgraded:
cups cups-client cups-common cupsddk dpkg fontconfig-config foomatic-filters libatk1.0-0 libblkid1 libc6 libcairo2 libcups2 libcupsimage2 libdevmapper1.02.1
libfontconfig1 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgtk2.0-0 libjpeg62 libkrb53 libncurses5 libpango1.0-0 libpango1.0-common libpcre3
libpixman-1-0 libstdc++6 libtasn1-3 libthai-data libthai0 libuuid1 libxcb-render-util0 libxml2 libxrandr2 locales poppler-utils util-linux
The following packages are RECOMMENDED but will NOT be installed:
ghostscript-cups gksu libatk1.0-data libglib2.0-data libgtk2.0-bin uuid-runtime x-ttcidfont-conf xml-core
38 packages upgraded, 27 newly installed, 5 to remove and 657 not upgraded.
Need to get 37.2MB of archives. After unpacking 853kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information… Done
Get:1 http://security.debian.org squeeze/updates/main libxml2 2.7.8.dfsg-2+squeeze3 [874kB]
Get:2 http://cdn.debian.net squeeze/main locales 2.11.3-2 [4699kB]
Get:3 http://cdn.debian.net squeeze/main libc-bin 2.11.3-2 [748kB]
Get:4 http://cdn.debian.net squeeze/main libc6 2.11.3-2 [4146kB]
Get:5 http://cdn.debian.net squeeze/main foomatic-filters 4.0.5-6+squeeze1 [151kB]
Get:6 http://cdn.debian.net squeeze/main libgpg-error0 1.6-1 [43.9kB]
Get:7 http://cdn.debian.net squeeze/main libgcrypt11 1.4.5-2 [282kB]
Get:8 http://cdn.debian.net squeeze/main libtasn1-3 2.7-1 [63.1kB]
Get:9 http://cdn.debian.net squeeze/main libgnutls26 2.8.6-1+squeeze1 [566kB]
Get:10 http://cdn.debian.net squeeze/main libcupscgi1 1.4.4-7+squeeze1 [106kB]
Get:11 http://cdn.debian.net squeeze/main libcupsdriver1 1.4.4-7+squeeze1 [94.4kB]
Get:12 http://cdn.debian.net squeeze/main libjpeg62 6b1-1 [94.0kB]
Get:13 http://cdn.debian.net squeeze/main libcupsimage2 1.4.4-7+squeeze1 [125kB]
Get:14 http://cdn.debian.net squeeze/main libcupsmime1 1.4.4-7+squeeze1 [88.0kB]
Get:15 http://cdn.debian.net squeeze/main gcc-4.4-base 4.4.5-8 [123kB]
Get:16 http://cdn.debian.net squeeze/main libstdc++6 4.4.5-8 [341kB]
Get:17 http://cdn.debian.net squeeze/main libcupsppdc1 1.4.4-7+squeeze1 [133kB]
Get:18 http://cdn.debian.net squeeze/main libkrb53 1.8.3+dfsg-4squeeze5 [1373kB]
Get:19 http://cdn.debian.net squeeze/main libkrb5support0 1.8.3+dfsg-4squeeze5 [46.3kB]
Get:20 http://cdn.debian.net squeeze/main libk5crypto3 1.8.3+dfsg-4squeeze5 [106kB]
Get:21 http://cdn.debian.net squeeze/main libkrb5-3 1.8.3+dfsg-4squeeze5 [373kB]
Get:22 http://cdn.debian.net squeeze/main libgssapi-krb5-2 1.8.3+dfsg-4squeeze5 [130kB]
Get:23 http://cdn.debian.net squeeze/main ttf-freefont 20090104-7 [2358kB]
Get:24 http://cdn.debian.net squeeze/main libfontconfig1 2.8.0-2.1 [281kB]
Get:25 http://cdn.debian.net squeeze/main fontconfig-config 2.8.0-2.1 [217kB]
Get:26 http://cdn.debian.net squeeze/main libopenjpeg2 1.3+dfsg-4 [79.5kB]
Get:27 http://cdn.debian.net squeeze/main libpoppler5 0.12.4-1.2 [961kB]
Get:28 http://cdn.debian.net squeeze/main poppler-utils 0.12.4-1.2 [314kB]
Get:29 http://cdn.debian.net squeeze/main cups-common 1.4.4-7+squeeze1 [1344kB]
Get:30 http://cdn.debian.net squeeze/main cups-client 1.4.4-7+squeeze1 [140kB]
Get:31 http://cdn.debian.net squeeze/main libncurses5 5.7+20100313-5 [365kB]
Get:32 http://cdn.debian.net squeeze/main liblzma2 5.0.0-2 [184kB]
Get:33 http://cdn.debian.net squeeze/main xz-utils 5.0.0-2 [201kB]
Get:34 http://cdn.debian.net squeeze/main dpkg 1.15.8.12 [2398kB]
Get:35 http://cdn.debian.net squeeze/main bc 1.06.95-2 [110kB]
Get:36 http://cdn.debian.net squeeze/main cups 1.4.4-7+squeeze1 [2069kB]
Get:37 http://cdn.debian.net squeeze/main libcups2 1.4.4-7+squeeze1 [234kB]
Get:38 http://cdn.debian.net squeeze/main cupsddk 1.4.4-7+squeeze1 [76.8kB]
Get:39 http://cdn.debian.net squeeze/main cups-ppdc 1.4.4-7+squeeze1 [107kB]
Get:40 http://cdn.debian.net squeeze/main libpango1.0-common 1.28.3-1+squeeze2 [114kB]
Get:41 http://cdn.debian.net squeeze/main libpixman-1-0 0.16.4-1 [237kB]
Get:42 http://cdn.debian.net squeeze/main libxcb-render-util0 0.3.6-1 [9772B]
Get:43 http://cdn.debian.net squeeze/main libcairo2 1.8.10-6 [520kB]
Get:44 http://cdn.debian.net squeeze/main libpcre3 8.02-1.1 [234kB]
Get:45 http://cdn.debian.net squeeze/main libglib2.0-0 2.24.2-1 [1122kB]
Get:46 http://cdn.debian.net squeeze/main libdatrie1 0.2.4-1 [26.8kB]
Get:47 http://cdn.debian.net squeeze/main libpango1.0-0 1.28.3-1+squeeze2 [330kB]
Get:48 http://cdn.debian.net squeeze/main libthai0 0.1.14-2 [41.5kB]
Get:49 http://cdn.debian.net squeeze/main libthai-data 0.1.14-2 [198kB]
Get:50 http://cdn.debian.net squeeze/main libuuid1 2.17.2-9 [59.3kB]
Get:51 http://cdn.debian.net squeeze/main libblkid1 2.17.2-9 [109kB]
Get:52 http://cdn.debian.net squeeze/main util-linux 2.17.2-9 [739kB]
Get:53 http://cdn.debian.net squeeze/main libudev0 164-3 [115kB]
Get:54 http://cdn.debian.net squeeze/main libdevmapper1.02.1 2:1.02.48-5 [85.4kB]
Get:55 http://cdn.debian.net squeeze/main dmsetup 2:1.02.48-5 [56.7kB]
Get:56 http://cdn.debian.net squeeze/main libglibmm-2.4-1c2a 2.24.2-1 [397kB]
Get:57 http://cdn.debian.net squeeze/main libatk1.0-0 1.30.0-1 [88.3kB]
Get:58 http://cdn.debian.net squeeze/main libxrandr2 2:1.3.0-3 [28.4kB]
Get:59 http://cdn.debian.net squeeze/main shared-mime-info 0.71-4 [841kB]
Get:60 http://cdn.debian.net squeeze/main libgtk2.0-0 2.20.1-2 [2711kB]
Get:61 http://cdn.debian.net squeeze/main libcairomm-1.0-1 1.8.4-3 [69.1kB]
Get:62 http://cdn.debian.net squeeze/main libpangomm-1.4-1 2.26.2-1 [66.9kB]
Get:63 http://cdn.debian.net squeeze/main libgtkmm-2.4-1c2a 1:2.20.3-1 [1249kB]
Get:64 http://cdn.debian.net squeeze/main libparted0debian1 2.3-5 [341kB]
Get:65 http://cdn.debian.net squeeze/main gparted 0.7.0-1 [1276kB]
Fetched 37.2MB in 37s (986kB/s)
Extracting templates from packages: 100%
Preconfiguring packages …
(Reading database … 83631 files and directories currently installed.)
Removing cups-bsd …
Processing triggers for man-db …
(Reading database … 83617 files and directories currently installed.)
Preparing to replace locales 2.7-18lenny7 (using …/locales_2.11.3-2_all.deb) …
Unpacking replacement locales …
Selecting previously deselected package libc-bin.
dpkg: considering deconfiguration of libc6, which would be broken by installation of libc-bin …
dpkg: yes, will deconfigure libc6 (broken by libc-bin).
Unpacking libc-bin (from …/libc-bin_2.11.3-2_amd64.deb) …
De-configuring libc6 …
Replacing files in old package libc6 …
Processing triggers for man-db …
Setting up libc-bin (2.11.3-2) …
Installing new version of config file /etc/gai.conf …
Installing new version of config file /etc/bindresvport.blacklist …
(Reading database … 83646 files and directories currently installed.)
Preparing to replace libc6 2.7-18lenny7 (using …/libc6_2.11.3-2_amd64.deb) …
Removing obsolete conffile /etc/init.d/glibc.sh …
Checking for services that may need to be restarted…
Checking init scripts…
Unpacking replacement libc6 …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up libc6 (2.11.3-2) …
Checking for services that may need to be restarted…
Checking init scripts…

Restarting services possibly affected by the upgrade:
cups: restarting…done.
cron: restarting…done.

Services restarted successfully.
(Reading database … 83641 files and directories currently installed.)
Preparing to replace foomatic-filters 3.0.2-20080211-3.2 (using …/foomatic-filters_4.0.5-6+squeeze1_amd64.deb) …
Unpacking replacement foomatic-filters …
Preparing to replace libgpg-error0 1.4-2 (using …/libgpg-error0_1.6-1_amd64.deb) …
Unpacking replacement libgpg-error0 …
Preparing to replace libgcrypt11 1.4.1-1 (using …/libgcrypt11_1.4.5-2_amd64.deb) …
Unpacking replacement libgcrypt11 …
Preparing to replace libtasn1-3 1.4-1 (using …/libtasn1-3_2.7-1_amd64.deb) …
Unpacking replacement libtasn1-3 …
Preparing to replace libgnutls26 2.4.2-6+lenny2 (using …/libgnutls26_2.8.6-1+squeeze1_amd64.deb) …
Unpacking replacement libgnutls26 …
Selecting previously deselected package libcupscgi1.
Unpacking libcupscgi1 (from …/libcupscgi1_1.4.4-7+squeeze1_amd64.deb) …
Selecting previously deselected package libcupsdriver1.
Unpacking libcupsdriver1 (from …/libcupsdriver1_1.4.4-7+squeeze1_amd64.deb) …
Preparing to replace libjpeg62 6b-14 (using …/libjpeg62_6b1-1_amd64.deb) …
Unpacking replacement libjpeg62 …
Preparing to replace libcupsimage2 1.3.8-1+lenny8 (using …/libcupsimage2_1.4.4-7+squeeze1_amd64.deb) …
Unpacking replacement libcupsimage2 …
Selecting previously deselected package libcupsmime1.
Unpacking libcupsmime1 (from …/libcupsmime1_1.4.4-7+squeeze1_amd64.deb) …
Selecting previously deselected package gcc-4.4-base.
Unpacking gcc-4.4-base (from …/gcc-4.4-base_4.4.5-8_amd64.deb) …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up gcc-4.4-base (4.4.5-8) …
(Reading database … 83668 files and directories currently installed.)
Preparing to replace libstdc++6 4.3.2-1.1 (using …/libstdc++6_4.4.5-8_amd64.deb) …
Unpacking replacement libstdc++6 …
Setting up libstdc++6 (4.4.5-8) …
Selecting previously deselected package libcupsppdc1.
(Reading database … 83668 files and directories currently installed.)
Unpacking libcupsppdc1 (from …/libcupsppdc1_1.4.4-7+squeeze1_amd64.deb) …
Preparing to replace libkrb53 1.6.dfsg.4~beta1-5lenny6 (using …/libkrb53_1.8.3+dfsg-4squeeze5_all.deb) …
Unpacking replacement libkrb53 …
Selecting previously deselected package libkrb5support0.
Unpacking libkrb5support0 (from …/libkrb5support0_1.8.3+dfsg-4squeeze5_amd64.deb) …
Selecting previously deselected package libk5crypto3.
Unpacking libk5crypto3 (from …/libk5crypto3_1.8.3+dfsg-4squeeze5_amd64.deb) …
Selecting previously deselected package libkrb5-3.
Unpacking libkrb5-3 (from …/libkrb5-3_1.8.3+dfsg-4squeeze5_amd64.deb) …
Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from …/libgssapi-krb5-2_1.8.3+dfsg-4squeeze5_amd64.deb) …
Selecting previously deselected package ttf-freefont.
Unpacking ttf-freefont (from …/ttf-freefont_20090104-7_all.deb) …
Preparing to replace libfontconfig1 2.6.0-3 (using …/libfontconfig1_2.8.0-2.1_amd64.deb) …
Unpacking replacement libfontconfig1 …
Preparing to replace fontconfig-config 2.6.0-3 (using …/fontconfig-config_2.8.0-2.1_all.deb) …
Unpacking replacement fontconfig-config …
Selecting previously deselected package libopenjpeg2.
Unpacking libopenjpeg2 (from …/libopenjpeg2_1.3+dfsg-4_amd64.deb) …
Preparing to replace libxml2 2.6.32.dfsg-5+lenny3 (using …/libxml2_2.7.8.dfsg-2+squeeze3_amd64.deb) …
Unpacking replacement libxml2 …
Selecting previously deselected package libpoppler5.
Unpacking libpoppler5 (from …/libpoppler5_0.12.4-1.2_amd64.deb) …
Preparing to replace poppler-utils 0.8.7-4 (using …/poppler-utils_0.12.4-1.2_amd64.deb) …
Unpacking replacement poppler-utils …
Preparing to replace cups-common 1.3.8-1+lenny8 (using …/cups-common_1.4.4-7+squeeze1_all.deb) …
Unpacking replacement cups-common …
Preparing to replace cups-client 1.3.8-1+lenny8 (using …/cups-client_1.4.4-7+squeeze1_amd64.deb) …
Unpacking replacement cups-client …
Preparing to replace libncurses5 5.7+20081213-1 (using …/libncurses5_5.7+20100313-5_amd64.deb) …
Unpacking replacement libncurses5 …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up libncurses5 (5.7+20100313-5) …
Selecting previously deselected package liblzma2.
(Reading database … 83738 files and directories currently installed.)
Unpacking liblzma2 (from …/liblzma2_5.0.0-2_amd64.deb) …
Setting up liblzma2 (5.0.0-2) …
Selecting previously deselected package xz-utils.
(Reading database … 83748 files and directories currently installed.)
Unpacking xz-utils (from …/xz-utils_5.0.0-2_amd64.deb) …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up xz-utils (5.0.0-2) …
(Reading database … 83790 files and directories currently installed.)
Preparing to replace dpkg 1.14.31 (using …/dpkg_1.15.8.12_amd64.deb) …
Unpacking replacement dpkg …
dpkg: warning - unable to delete old directory `/etc/dpkg/origins’: Directory not empty
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up dpkg (1.15.8.12) …
Installing new version of config file /etc/logrotate.d/dpkg …
Selecting previously deselected package bc.
(Reading database … 83795 files and directories currently installed.)
Unpacking bc (from …/bc_1.06.95-2_amd64.deb) …
Processing triggers for menu …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
dpkg: cupsddk-drivers: dependency problems, but removing anyway as you requested:
cupsddk depends on cupsddk-drivers; however:
Package cupsddk-drivers is to be removed.
(Reading database … 83811 files and directories currently installed.)
Removing cupsddk-drivers …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
(Reading database … 83770 files and directories currently installed.)
Preparing to replace cups 1.3.8-1+lenny8 (using …/cups_1.4.4-7+squeeze1_amd64.deb) …
Stopping Common Unix Printing System: cupsd.
Unpacking replacement cups …
dpkg: warning: unable to delete old directory ‘/var/run/cups’: Directory not empty
Preparing to replace libcups2 1.3.8-1+lenny8 (using …/libcups2_1.4.4-7+squeeze1_amd64.deb) …
Unpacking replacement libcups2 …
Preparing to replace cupsddk 1.2.3-5 (using …/cupsddk_1.4.4-7+squeeze1_all.deb) …
Unpacking replacement cupsddk …
Selecting previously deselected package cups-ppdc.
Unpacking cups-ppdc (from …/cups-ppdc_1.4.4-7+squeeze1_amd64.deb) …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
(Reading database … 82995 files and directories currently installed.)
Removing iceweasel …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Processing triggers for menu …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
(Reading database … 82886 files and directories currently installed.)
Preparing to replace libpango1.0-common 1.20.5-6 (using …/libpango1.0-common_1.28.3-1+squeeze2_all.deb) …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Cleaning up font configuration of pango…
Cleaning up category xfont…
Unpacking replacement libpango1.0-common …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
(Reading database … 82885 files and directories currently installed.)
Removing xulrunner-1.9 …
(Reading database … 82593 files and directories currently installed.)
Preparing to replace libpixman-1-0 0.10.0-2 (using …/libpixman-1-0_0.16.4-1_amd64.deb) …
Unpacking replacement libpixman-1-0 …
Preparing to replace libxcb-render-util0 0.2.1+git1-1 (using …/libxcb-render-util0_0.3.6-1_amd64.deb) …
Unpacking replacement libxcb-render-util0 …
Preparing to replace libcairo2 1.6.4-7 (using …/libcairo2_1.8.10-6_amd64.deb) …
Unpacking replacement libcairo2 …
Preparing to replace libpcre3 7.6-2.1 (using …/libpcre3_8.02-1.1_amd64.deb) …
Unpacking replacement libpcre3 …
Preparing to replace libglib2.0-0 2.16.6-3 (using …/libglib2.0-0_2.24.2-1_amd64.deb) …
Unpacking replacement libglib2.0-0 …
Selecting previously deselected package libdatrie1.
Unpacking libdatrie1 (from …/libdatrie1_0.2.4-1_amd64.deb) …
Preparing to replace libpango1.0-0 1.20.5-6 (using …/libpango1.0-0_1.28.3-1+squeeze2_amd64.deb) …
Unpacking replacement libpango1.0-0 …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
dpkg: libdatrie0: dependency problems, but removing anyway as you requested:
libthai0 depends on libdatrie0 (>= 0.1.2).
(Reading database … 82603 files and directories currently installed.)
Removing libdatrie0 …
(Reading database … 82596 files and directories currently installed.)
Preparing to replace libthai0 0.1.9-4+lenny1 (using …/libthai0_0.1.14-2_amd64.deb) …
Unpacking replacement libthai0 …
Preparing to replace libthai-data 0.1.9-4+lenny1 (using …/libthai-data_0.1.14-2_all.deb) …
Unpacking replacement libthai-data …
Preparing to replace libuuid1 1.41.3-1 (using …/libuuid1_2.17.2-9_amd64.deb) …
Unpacking replacement libuuid1 …
Setting up libuuid1 (2.17.2-9) …
(Reading database … 82594 files and directories currently installed.)
Preparing to replace libblkid1 1.41.3-1 (using …/libblkid1_2.17.2-9_amd64.deb) …
Unpacking replacement libblkid1 …
Setting up libblkid1 (2.17.2-9) …
(Reading database … 82595 files and directories currently installed.)
Preparing to replace util-linux 2.13.1.1-1 (using …/util-linux_2.17.2-9_amd64.deb) …
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package util-linux should be updated.
Unpacking replacement util-linux …
Replacing files in old package e2fsprogs …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Setting up util-linux (2.17.2-9) …
Installing new version of config file /etc/init.d/hwclockfirst.sh …
Installing new version of config file /etc/init.d/hwclock.sh …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Selecting previously deselected package libudev0.
(Reading database … 82615 files and directories currently installed.)
Unpacking libudev0 (from …/libudev0_164-3_amd64.deb) …
Preparing to replace libdevmapper1.02.1 2:1.02.27-4 (using …/libdevmapper1.02.1_2%3a1.02.48-5_amd64.deb) …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Unpacking replacement libdevmapper1.02.1 …
Selecting previously deselected package dmsetup.
Unpacking dmsetup (from …/dmsetup_2%3a1.02.48-5_amd64.deb) …
Selecting previously deselected package libglibmm-2.4-1c2a.
Unpacking libglibmm-2.4-1c2a (from …/libglibmm-2.4-1c2a_2.24.2-1_amd64.deb) …
Preparing to replace libatk1.0-0 1.22.0-1 (using …/libatk1.0-0_1.30.0-1_amd64.deb) …
Unpacking replacement libatk1.0-0 …
Preparing to replace libxrandr2 2:1.2.3-1 (using …/libxrandr2_2%3a1.3.0-3_amd64.deb) …
Unpacking replacement libxrandr2 …
Selecting previously deselected package shared-mime-info.
Unpacking shared-mime-info (from …/shared-mime-info_0.71-4_amd64.deb) …
Preparing to replace libgtk2.0-0 2.12.12-1~lenny2 (using …/libgtk2.0-0_2.20.1-2_amd64.deb) …
Unpacking replacement libgtk2.0-0 …
Selecting previously deselected package libcairomm-1.0-1.
Unpacking libcairomm-1.0-1 (from …/libcairomm-1.0-1_1.8.4-3_amd64.deb) …
Selecting previously deselected package libpangomm-1.4-1.
Unpacking libpangomm-1.4-1 (from …/libpangomm-1.4-1_2.26.2-1_amd64.deb) …
Selecting previously deselected package libgtkmm-2.4-1c2a.
Unpacking libgtkmm-2.4-1c2a (from …/libgtkmm-2.4-1c2a_1%3a2.20.3-1_amd64.deb) …
Selecting previously deselected package libparted0debian1.
Unpacking libparted0debian1 (from …/libparted0debian1_2.3-5_amd64.deb) …
Selecting previously deselected package gparted.
Unpacking gparted (from …/gparted_0.7.0-1_amd64.deb) …
Processing triggers for man-db …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Processing triggers for menu …
Setting up locales (2.11.3-2) …
Installing new version of config file /etc/locale.alias …
Generating locales (this might take a while)…
en_US.UTF-8… done
Generation complete.
Setting up foomatic-filters (4.0.5-6+squeeze1) …
Replacing config file /etc/foomatic/filter.conf with new version
Setting up libgpg-error0 (1.6-1) …
Setting up libgcrypt11 (1.4.5-2) …
Setting up libtasn1-3 (2.7-1) …
Setting up libgnutls26 (2.8.6-1+squeeze1) …
Setting up libkrb5support0 (1.8.3+dfsg-4squeeze5) …
Setting up libk5crypto3 (1.8.3+dfsg-4squeeze5) …
Setting up libkrb5-3 (1.8.3+dfsg-4squeeze5) …
Setting up libgssapi-krb5-2 (1.8.3+dfsg-4squeeze5) …
Setting up libcups2 (1.4.4-7+squeeze1) …
Setting up libcupscgi1 (1.4.4-7+squeeze1) …
Setting up libcupsdriver1 (1.4.4-7+squeeze1) …
Setting up libjpeg62 (6b1-1) …
Setting up libcupsimage2 (1.4.4-7+squeeze1) …
Setting up libcupsmime1 (1.4.4-7+squeeze1) …
Setting up libcupsppdc1 (1.4.4-7+squeeze1) …
Setting up libkrb53 (1.8.3+dfsg-4squeeze5) …
Setting up ttf-freefont (20090104-7) …
Setting up fontconfig-config (2.8.0-2.1) …
Installing new version of config file /etc/fonts/conf.avail/45-latin.conf …
Installing new version of config file /etc/fonts/conf.avail/60-latin.conf …
Installing new version of config file /etc/fonts/conf.avail/30-urw-aliases.conf …
Installing new version of config file /etc/fonts/conf.avail/90-synthetic.conf …
Installing new version of config file /etc/fonts/conf.avail/65-nonlatin.conf …
Installing new version of config file /etc/fonts/conf.avail/25-unhint-nonlatin.conf …
Installing new version of config file /etc/fonts/conf.avail/65-fonts-persian.conf …
Installing new version of config file /etc/fonts/conf.avail/50-user.conf …
Installing new version of config file /etc/fonts/conf.avail/30-metric-aliases.conf …
Setting up libfontconfig1 (2.8.0-2.1) …
Setting up libopenjpeg2 (1.3+dfsg-4) …
Setting up libxml2 (2.7.8.dfsg-2+squeeze3) …
Setting up libpoppler5 (0.12.4-1.2) …
Setting up poppler-utils (0.12.4-1.2) …
Setting up cups-common (1.4.4-7+squeeze1) …
Setting up cups-client (1.4.4-7+squeeze1) …
Setting up bc (1.06.95-2) …
Setting up cups-ppdc (1.4.4-7+squeeze1) …
Setting up cups (1.4.4-7+squeeze1) …
Installing new version of config file /etc/cups/cupsd.conf.default …
Installing new version of config file /etc/cups/cupsd.conf …
Installing new version of config file /etc/cups/snmp.conf …
Installing new version of config file /etc/init.d/cups …
Starting Common Unix Printing System: cupsd.
Setting up cupsddk (1.4.4-7+squeeze1) …
Setting up libpango1.0-common (1.28.3-1+squeeze2) …
Cleaning up font configuration of pango…
Cleaning up category xfont…
Updating font configuration of pango…
Cleaning up category xfont…
Updating category xfont…
Setting up libpixman-1-0 (0.16.4-1) …
Setting up libxcb-render-util0 (0.3.6-1) …
Setting up libcairo2 (1.8.10-6) …
Setting up libpcre3 (8.02-1.1) …
Setting up libglib2.0-0 (2.24.2-1) …
Setting up libdatrie1 (0.2.4-1) …
Setting up libthai-data (0.1.14-2) …
Setting up libthai0 (0.1.14-2) …
Setting up libpango1.0-0 (1.28.3-1+squeeze2) …
Setting up libudev0 (164-3) …
Setting up libglibmm-2.4-1c2a (2.24.2-1) …
Setting up libatk1.0-0 (1.30.0-1) …
Setting up libxrandr2 (2:1.3.0-3) …
Setting up shared-mime-info (0.71-4) …
Setting up libgtk2.0-0 (2.20.1-2) …
Installing new version of config file /etc/gtk-2.0/im-multipress.conf …
Setting up libcairomm-1.0-1 (1.8.4-3) …
Setting up libpangomm-1.4-1 (2.26.2-1) …
Setting up libgtkmm-2.4-1c2a (1:2.20.3-1) …
Setting up dmsetup (2:1.02.48-5) …
update-initramfs is disabled since running on a live CD
Setting up libdevmapper1.02.1 (2:1.02.48-5) …
Setting up libparted0debian1 (2.3-5) …
Setting up gparted (0.7.0-1) …
Processing triggers for menu …
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Reading task descriptions… Done

Current status: 657 updates [-40].
root@debian:/# [/code]

Création du fichier /root/exclure

root@debian:~# cat /root/exclureR /home /dev /proc /sys /mnt /lost+found /media

[code]root@debian:~# /usr/sbin/gparted

libparted : 2.3

Could not determine physical sector size for /dev/sda.
Using the logical sector size (512).
Could not determine physical sector size for /dev/sdf.
Using the logical sector size (512).
Partition(s) 16 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
Error informing the kernel about modifications to partition /dev/sdf16 – Invalid argument. This means Linux won’t know about any changes you made to /dev/sdf16 until you reboot – so you shouldn’t mount it or use it in any way before rebooting.
Failed to add partition 16 (Invalid argument)
Could not determine physical sector size for /dev/sda.
Using the logical sector size (512).
Could not determine physical sector size for /dev/sdf.
Using the logical sector size (512).
Partition(s) 16 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
[/code]

[code]user@debian:~$ sudo -s

root@debian:~# mount -l
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36]
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev/sdf5 on /media/sauve2H type ext3 (rw,nosuid,nodev,uhelper=hal,data=ordered) [sauve2H]
root@debian:~#

root@debian:~# umount /media/sauve2H

root@debian:~# mount -l
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36]
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
root@debian:~# [/code]

J’en profite pour lancer une vérification de mon disque source avec gparted.

[code]root@debian:/root# cat gparted_details.htm

GParted Details

GParted 0.7.0

Libparted 2.3

Check and repair file system (ext3) on /dev/sda6  00:01:38    ( SUCCESS )
    
calibrate /dev/sda6  00:00:00    ( SUCCESS )
    
path: /dev/sda6
start: 453625856
end: 883705855
size: 430080000 (205.08 GiB)
check file system on /dev/sda6 for errors and (if possible) fix them  00:01:36    ( SUCCESS )
    
e2fsck -f -y -v /dev/sda6
    
/dev/sda6: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

81611 inodes used (0.61%)
1401 non-contiguous inodes (1.7%)
# of inodes with ind/dind/tind blocks: 5278/169/0
2086130 blocks used (3.88%)
0 bad blocks
1 large file

67184 regular files
10548 directories
0 character device files
0 block device files
1 fifo
0 links
3867 symbolic links (3766 fast symbolic links)
2 sockets
--------
81602 files
e2fsck 1.41.3 (12-Oct-2008)
grow file system to fill the partition  00:00:02    ( SUCCESS )
    
resize2fs /dev/sda6
    
resize2fs 1.41.3 (12-Oct-2008)
The filesystem is already 53760000 blocks long. Nothing to do!

libparted messages    ( INFO )
    
Could not determine physical sector size for /dev/sda.
Using the logical sector size (512).

========================================

Check and repair file system (ext3) on /dev/sda7  00:00:03    ( SUCCESS )
    
calibrate /dev/sda7  00:00:00    ( SUCCESS )
    
path: /dev/sda7
start: 883707904
end: 902139903
size: 18432000 (8.79 GiB)
check file system on /dev/sda7 for errors and (if possible) fix them  00:00:03    ( SUCCESS )
    
e2fsck -f -y -v /dev/sda7
    
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

11 inodes used (0.00%)
0 non-contiguous inodes (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
74093 blocks used (3.22%)
0 bad blocks
1 large file

0 regular files
2 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
2 files
e2fsck 1.41.3 (12-Oct-2008)
grow file system to fill the partition  00:00:00    ( SUCCESS )
    
resize2fs /dev/sda7
    
resize2fs 1.41.3 (12-Oct-2008)
The filesystem is already 2304000 blocks long. Nothing to do!

libparted messages    ( INFO )
    
Could not determine physical sector size for /dev/sda.
Using the logical sector size (512).

========================================

root@debian:/root# [/code]

[quote]root@debian:/root# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009a149

Device Boot Start End Blocks Id System
/dev/sda1 * 1 27988 224804864 83 Linux
/dev/sda2 27988 121602 751956696 5 Extended
/dev/sda5 27988 28237 2004992 82 Linux swap / Solaris
/dev/sda6 28237 55009 215040000 83 Linux
/dev/sda7 55009 56156 9216000 83 Linux

Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x85169e07

Device Boot Start End Blocks Id System
/dev/sdf1 1 16471 132299744+ 7 HPFS/NTFS
/dev/sdf2 16471 18784 18578432 83 Linux
/dev/sdf3 18784 121602 825883648 5 Extended
/dev/sdf5 18784 25158 51200000 83 Linux
/dev/sdf6 25158 28345 25600000 83 Linux
/dev/sdf7 28346 30258 15360000 83 Linux
/dev/sdf8 30258 33445 25600000 83 Linux
/dev/sdf9 33445 36632 25600000 83 Linux
/dev/sdf10 36632 38544 15360000 83 Linux
/dev/sdf11 38545 41732 25600000 83 Linux
/dev/sdf12 41732 43644 15360000 83 Linux
/dev/sdf13 43644 46831 25600000 83 Linux
/dev/sdf14 46831 56392 76800000 83 Linux
/dev/sdf15 56393 65954 76800000 83 Linux
/dev/sdf16 65954 75515 76800000 83 Linux
root@debian:/root# [/quote]

Ma dernière sauvegarde sur /dev/sdf6.

[quote]root@debian:/root# blkid
/dev/sda1: UUID=“xxxxxx” TYPE=“ext3”
/dev/sda5: TYPE=“swap” UUID=“xxxxxxxx”
/dev/sda6: UUID=“xxxxxxx” TYPE=“ext3” SEC_TYPE=“ext2”
/dev/sda7: UUID=“xxxxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/loop0: TYPE=“squashfs”
/dev/sdf1: UUID=“xxxxxxx” TYPE=“ntfs”
/dev/sdf2: LABEL=“copie (dell), 8” UUID=“xxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf5: LABEL=“sauve2H” UUID=“xxxxx” TYPE=“ext3” SEC_TYPE=“ext2”
/dev/sdf6: LABEL=“savpc1R18” UUID=“xxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf7: LABEL=“savpc1H14” UUID=“xxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf8: LABEL=“savpc1R10” UUID=“xxxxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf9: LABEL=“sacpc1R11” UUID=“xxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf10: LABEL=“OVH-home” UUID=“xxxxxxxxx” TYPE=“ext4”
/dev/sdf11: LABEL=“savpc1R12” UUID=“xxxxxxxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf12: LABEL=“savpc1H9” UUID=“xxxxxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf13: LABEL=“savpc1R13” UUID=“xxxxxxxx” SEC_TYPE=“ext2” TYPE=“ext3”
/dev/sdf14: LABEL=“serveur1R1” UUID=“xxxxxxxxx” TYPE=“ext4”
/dev/sdf15: LABEL=“OVH-racine” UUID=“xxxxxxxxx” TYPE=“ext4”
root@debian:/root# [/quote]

[code]user@debian:~$ sudo -s

root@debian:~# mount -l

aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36]
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
root@debian:~#

root@debian:~# mount -t ext3 /dev/sdf6 /mnt
root@debian:~# mount -t ext3 /dev/sda1 /media
[/code]
Je restaure.

[code]root@debian:~# rsync -av --del --exclude-from=/root/exclureR /mnt/ /media

var/spool/squid3/00/FF/0000FF30
var/tmp/
var/tmp/kdecache-loreleil/
var/tmp/kdecache-loreleil/ksycoca4
var/tmp/kdecache-loreleil/ksycoca4stamp
var/tmp/kdecache-loreleil/favicons/
deleting var/tmp/kdecache-loreleil/favicons/www.wireshark.org.png
var/tmp/kdecache-loreleil/http/
deleting var/tmp/kdecache-loreleil/http/d3ba122bbe73c0c584c4ef90f51e34a8e8d56f01
deleting var/tmp/kdecache-loreleil/http/bcbe30f352a77b0679984ded7a8975162b1aa9f6
deleting var/tmp/kdecache-loreleil/http/52b23bf5a24b1890e1da6c59ea1638ed1529597d
deleting var/tmp/kdecache-loreleil/http/356e3a9a1eb8140c4056f1abe9919f5833088146
deleting var/tmp/kdecache-loreleil/http/2f7c8be63dd50337d15dfb3948bf792b89a6665a
deleting var/tmp/kdecache-loreleil/http/0a4b6ca83ecc74658f2b011a0bc3e54c3a4c2426
deleting var/tmp/kdecache-loreleil/http/0723f6aefb6b34257e5d3858e590c13aeccead4a
var/tmp/kdecache-loreleil/http/0027562089524b297a8e6e3558d665b22b71e9c2
var/tmp/kdecache-loreleil/http/185d308b73fece3597534269d74fdac9fc1d7361
var/tmp/kdecache-loreleil/http/1ac636893eb6e69411a3a33069450bc48eb8ea15
var/tmp/kdecache-loreleil/http/20fc0d3cb434a0ac73c1b288ec6a8b64e01c08d6
var/tmp/kdecache-loreleil/http/254c3b25c7e9de2e3a60edea08e1945c176202bb
var/tmp/kdecache-loreleil/http/2b5ce4c632ff8a313fa4c2e6b844153e64140bbb
var/tmp/kdecache-loreleil/http/2cfaae3201b8dcbd37c487748f2ea8af91287116
var/tmp/kdecache-loreleil/http/2ef881987addd77910af59df856b2d3ea28b9634
var/tmp/kdecache-loreleil/http/3e1f6bdeb3748543cdfb430337534fc05191b935
var/tmp/kdecache-loreleil/http/6912550779d711f31dcf0822db5a56d5b1b046fb
var/tmp/kdecache-loreleil/http/6a3613934c44f40ab581f9c67c3658b87924754e
var/tmp/kdecache-loreleil/http/7238fa09558476f2e4a97f867ea9a91ba61b4582
var/tmp/kdecache-loreleil/http/84f009e92b8df9e42b454ffd0c70ca6faf3aa12f
var/tmp/kdecache-loreleil/http/85ca79b3f884197733cdee0b38a43e9c048614fc
var/tmp/kdecache-loreleil/http/8bab4fb5b8980b05845160dfd17bce2594957fa4
var/tmp/kdecache-loreleil/http/8ecf52622f0dec4191be350e75bbffadef14f470
var/tmp/kdecache-loreleil/http/9801d0cfe33373856071f4ea88335bc3f774dc78
var/tmp/kdecache-loreleil/http/bae3a65b65d50a12f987c5a35474562edc97baa0
var/tmp/kdecache-loreleil/http/bb5cc09e363652c933a767f8e036f6afc5638f95
var/tmp/kdecache-loreleil/http/c8ec06d5d9a13c56a796e114658a6ca4e593677b
var/tmp/kdecache-loreleil/http/d2c413304659350cf653e6da8c52fac8d894ae82
var/tmp/kdecache-loreleil/http/d3106aaee0019b679da2ab3b44e217520b4ce75e
var/tmp/kdecache-loreleil/http/db6ce1a46d0335fce29b25d47dbf9e230c147305
var/tmp/kdecache-loreleil/http/f6a435f99d5374a00cefaebf6dc3c279a6aa1190
var/tmp/kdecache-loreleil/http/f825c900689d2a603e0f784546622d08a160a50f
var/tmp/kdecache-loreleil/http/fab8cf92518c22ca83dab0545ea29deea82f7cbd
var/tmp/kdecache-loreleil/http/fb2c7f7eed13cba9a06a9d1f3c0445e973602896
var/tmp/kdecache-loreleil/http/fcfc907c52559dd6a36a1eee8a73029d5a8c68d8
var/tmp/kdecache-loreleil/kpc/
var/tmp/kdecache-loreleil/kpc/kde-icon-cache.data
var/tmp/kdecache-loreleil/kpc/kde-icon-cache.index
var/tmp/kdecache-loreleil/kpc/kde-icon-cache.updated
var/tmp/kdecache-loreleil/kpc/plasma_theme_default.data
var/tmp/kdecache-loreleil/kpc/plasma_theme_default.index
var/tmp/kdecache-root/
deleting var/tmp/kdecache-root/http/
deleting var/tmp/kdecache-root/favicons/
var/tmp/kdecache-root/ksycoca4
var/tmp/kdecache-root/ksycoca4stamp
var/tmp/kdecache-root/kpc/
var/tmp/kdecache-root/kpc/kde-icon-cache.data
var/tmp/kdecache-root/kpc/kde-icon-cache.index
var/tmp/kdecache-root/kpc/kde-icon-cache.updated
var/www/fwlogwatch/index.html

sent 916440786 bytes received 226068 bytes 5283382.44 bytes/sec
total size is 6184183184 speedup is 6.75
root@debian:~#
[/code]
Tous semble s’être bien passer … :wink:

Je vais à présent passer en chroot cette restauration, histoire de voir si j’ai obtenu ce que je désirer … :pray:

root@debian:~# mount -l aufs on / type aufs (rw) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36] tmpfs on /live/cow type tmpfs (rw,noatime,mode=755) tmpfs on /live type tmpfs (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev) /dev/sdf6 on /mnt type ext3 (rw) [savpc1R18] /dev/sda1 on /media type ext3 (rw) root@debian:~#

root@debian:~# umount /mnt root@debian:~# umount /media

Nouvelle vérification avec gparted.

[code]root@debian:/root# cat gparted_details01.htm

Votre message contient 60637 caractères. Le nombre maximal de caractères autorisé est 60000.
[/code]

[code]root@debian:~# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009a149

Device Boot Start End Blocks Id System
/dev/sda1 * 1 27988 224804864 83 Linux
/dev/sda2 27988 121602 751956696 5 Extended
/dev/sda5 27988 28237 2004992 82 Linux swap / Solaris
/dev/sda6 28237 55009 215040000 83 Linux
/dev/sda7 55009 56156 9216000 83 Linux
root@debian:~# [/code]

Je chroot.

user@debian:~$ sudo -s root@debian:~# mkdir /mnt/chroot root@debian:~# mount -t ext3 /dev/sda1 /mnt/chroot root@debian:~# mount -t ext3 /dev/sda6 /mnt/chroot/home root@debian:~# mount --bind /dev /mnt/chroot/dev root@debian:~# mount --bind /sys /mnt/chroot/sys root@debian:~# mount -t proc /proc /mnt/chroot/proc root@debian:~# chroot /mnt/chroot root@debian:/#

root@debian:~# mount -l aufs on / type aufs (rw) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36] tmpfs on /live/cow type tmpfs (rw,noatime,mode=755) tmpfs on /live type tmpfs (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev) /dev/sda1 on /mnt/chroot type ext3 (rw) /dev/sda6 on /mnt/chroot/home type ext3 (rw) /dev on /mnt/chroot/dev type none (rw,bind) /sys on /mnt/chroot/sys type none (rw,bind) /proc on /mnt/chroot/proc type proc (rw) root@debian:~#

root@debian:/# apt-cache policy mysql-server-5.1 mysql-server-5.1: Installed: 5.1.49-3 Candidate: 5.1.49-3 Package pin: 5.1.58-1 Version table: 5.1.58-1 -40 90 http://ftp.fr.debian.org/debian/ wheezy/main amd64 Packages 50 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages *** 5.1.49-3 -40 990 http://ftp.fr.debian.org/debian/ squeeze/main amd64 Packages 100 /var/lib/dpkg/status root@debian:/# root@debian:/#

root@debian:/# update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-2.6.32-5-amd64 Found initrd image: /boot/initrd.img-2.6.32-5-amd64 Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin done root@debian:/#

root@debian:/# dd if=/dev/sda bs=512 count=1 | strings 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.0668252 s, 7.7 kB/s ZRr= `|f \|f1 GRUB Geom Hard Disk Read Error root@debian:/#

root@debian:/# exit exit root@debian:~#

root@debian:~# mount -l aufs on / type aufs (rw) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/hda on /live/image type iso9660 (ro,noatime) [Debian lenny 20110123-12:36] tmpfs on /live/cow type tmpfs (rw,noatime,mode=755) tmpfs on /live type tmpfs (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev) /dev/sda1 on /mnt/chroot type ext3 (rw) /dev/sda6 on /mnt/chroot/home type ext3 (rw) /dev on /mnt/chroot/dev type none (rw,bind) /sys on /mnt/chroot/sys type none (rw,bind) /proc on /mnt/chroot/proc type proc (rw) root@debian:~#

root@debian:~# umount /mnt/chroot/proc root@debian:~# umount /mnt/chroot/sys root@debian:~# umount /mnt/chroot/dev root@debian:~# umount /mnt/chroot/home root@debian:~# umount /mnt/chroot umount: /mnt/chroot: device is busy root@debian:~# root@debian:~# exit exit user@debian:~$

Reboot … :doh: