Bug#782264: grub-install fails in nested LVM

Pierre-Elliott Bécue becue at crans.org
Thu Apr 9 16:05:50 UTC 2015


Source: grub
Version: 2.02~beta2-22
Severity: important

Dear maintainer,

I've met a bug in GRUB under a Proxmox environment, which I was able to
reproduce under a clean Debian system (my laptop, under jessie).

With Proxmox, I needed to build a nested LVM storage for my VM, that is,
in the host point of view :

/dev/sdxx (physical) -> first volumegroup (vg1) -> A single logical volume (lv1)
(the guest physical disk) -> a single partition (lv1p1) -> a second volumegroup (vg2)
-> logical volumes containing guest data. (slash, var, swap)

For the guest, the single logical volume (lv1) is seen as the physical
disk of the VM, named /dev/vda when the VM is started.

Under wheezy, I was able to debootstrap wheezy on the disks, and to
chroot in them to make a grub-install on lv1.

Under jessie, I get an error :
grub-install: error: disk
`lvmid/[VOLUMEGROUPID]/[LOGICALVOLUMEID]'
not found.

I first thought it was a bug due to Proxmox VE. So I tried to build a
proof of concept on my Jessie laptop, using an external drive. The
problem is the same.

I tried to git clone the grub repo and to compile it to try a
grub-install, and this one worked. So it seems that grub 2.02~beta2-22
is broken.

I'm not able to say if it comes from Debian patches or from the actual
upstream code, but it seems this problem is important enough to be
noticed.

I'll be happy to provide you with more data if I can.

Cheers,

-- 
PEB

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- Here is the logs of what I did. This is a verbatim print of my command line, with non relevant intel removed.
─( 15:59:22 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # vgcreate testvg /dev/sdb
  Physical volume "/dev/sdb" successfully created
  Volume group "testvg" successfully created
─( 15:59:27 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # lvcreate -n testlv -l 100%FREE testvg
  Logical volume "testlv" created
─( 15:59:45 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # lvscan
  ACTIVE            '/dev/testvg/testlv' [14,41 GiB] inherit
[IRRELEVANT LINE FILTERED]
[IRRELEVANT LINE FILTERED]
[IRRELEVANT LINE FILTERED]
─( 15:59:56 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # fdisk /dev/testvg/testlv

Bienvenue dans fdisk (util-linux 2.25.2).
Les modifications resteront en mémoire jusqu'à écriture.
Soyez prudent avant d'utiliser la commande d'écriture.

Le périphérique ne contient pas de table de partitions reconnue.
Created a new DOS disklabel with disk identifier 0xb6653e34.

Commande (m pour l'aide) : p
Disque /dev/testvg/testlv : 14,4 GiB, 15476981760 octets, 30228480 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xb6653e34



Commande (m pour l'aide) : n
Type de partition
   p   primaire (0 primaire, 0 étendue, 4 libre)
   e   étendue (conteneur pour partitions logiques)
Sélectionnez (p par défaut) :

Utilisation de la réponse p par défaut.
Numéro de partition (1-4, 1 par défaut) :
Premier secteur (2048-30228479, 2048 par défaut) :
Dernier secteur, +secteurs ou +taille{K,M,G,T,P} (2048-30228479, 30228479 par défaut) :

Une nouvelle partition 1 de type « Linux » et de taille 14,4 GiB a été créée.

Commande (m pour l'aide) : w
La table de partitions a été altérée.
Appel d'ioctl() pour relire la table de partitions.
Échec de relecture de la table de partitions.: Argument invalide

Le noyau continue à utiliser l'ancienne table. La nouvelle sera utilisée lors du prochain démarrage ou après avoir exécuté partprobe(8) ou kpartx(8).

─( 16:00:25 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # kpartx -av /dev/testvg/testlv
add map testvg-testlv1 (254:5): 0 30226432 linear /dev/testvg/testlv 2048
─( 16:00:34 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # ls -al /dev/mapper
total 0
drwxr-xr-x  2 root root     180 avril  9 16:00 .
drwxr-xr-x 21 root root    3380 avril  9 16:00 ..
crw-------  1 root root 10, 236 mars  21 23:47 control
[IRRELEVANT LINE FILTERED]
[IRRELEVANT LINE FILTERED]
[IRRELEVANT LINE FILTERED]
[IRRELEVANT LINE FILTERED]
lrwxrwxrwx  1 root root       7 avril  9 16:00 testvg-testlv -> ../dm-4
lrwxrwxrwx  1 root root       7 avril  9 16:00 testvg-testlv1 -> ../dm-5
─( 16:00:45 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # vgcreate testvg2 /dev/mapper/testvg-testlv1
  Physical volume "/dev/mapper/testvg-testlv1" successfully created
  Volume group "testvg2" successfully created
─( 16:01:45 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # lvcreate -n slash -L 5000MB testvg2
  Logical volume "slash" created
─( 16:02:03 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # lvcreate -n var -L 5000MB testvg2
  Logical volume "var" created
─( 16:02:08 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # lvcreate -n swap -l 100%FREE testvg2
  Logical volume "swap" created
─( 16:02:20 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkfs.ext4 /dev/testvg2/
slash  swap   var
─( 16:02:20 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkfs.ext4 /dev/testvg2/slash
mke2fs 1.42.12 (29-Aug-2014)
En train de créer un système de fichiers avec 1280000 4k blocs et 320000 i-noeuds.
UUID de système de fichiers=7265e2ee-81c5-426f-9aae-5e948264f361
Superblocs de secours stockés sur les blocs :
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocation des tables de groupe : complété
Écriture des tables d'i-noeuds : complété
Création du journal (32768 blocs) : complété
Écriture des superblocs et de l'information de comptabilité du système de
fichiers : complété

─( 16:03:38 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkfs.ext4 /dev/testvg2/var
mke2fs 1.42.12 (29-Aug-2014)
En train de créer un système de fichiers avec 1280000 4k blocs et 320000 i-noeuds.
UUID de système de fichiers=d9b465a2-d6da-4483-a787-ddf6d5bb5144
Superblocs de secours stockés sur les blocs :
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocation des tables de groupe : complété
Écriture des tables d'i-noeuds : complété
Création du journal (32768 blocs) : complété
Écriture des superblocs et de l'information de comptabilité du système de
fichiers : complété

─( 16:04:59 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkswap /dev/testvg2/swap
Configure l'espace d'échange (swap) en version 1, taille = 4870140 Kio
pas d'étiquette, UUID=ee63ad0c-790f-499c-8ea3-6abe08f4cc95
─( 16:05:41 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkdir /mnt/test
─( 16:05:50 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mount /dev/testvg2/slash /mnt/test
─( 16:05:59 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkdir /mnt/test/var
─( 16:06:06 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mount /dev/testvg2/var /mnt/test/var
─( 16:06:13 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # debootstrap jessie /mnt/test http://ftp.crans.org/debian/
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: acl adduser dmsetup insserv libaudit1 libaudit-common libbz2-1.0 libcap2 libcap2-bin libcryptsetup4 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libgcrypt20 libgpg-error0 libkmod2 libncursesw5 libprocps3 libsemanage1 libsemanage-common libslang2 libsystemd0 libudev1 libustr-1.0-1 procps systemd systemd-sysv udev
I: Found additional base dependencies: libdns-export100 libffi6 libgmp10 libgnutls-deb0-28 libgnutls-openssl27 libhogweed2 libicu52 libidn11 libirs-export91 libisccfg-export90 libisc-export95 libmnl0 libnetfilter-acct1 libnettle4 libnfnetlink0 libp11-kit0 libpsl0 libtasn1-6
I: Checking component main on http://ftp.crans.org/debian...
I: Retrieving acl 2.2.52-2
I: Validating acl 2.2.52-2
I: Retrieving libacl1 2.2.52-2
I: Validating libacl1 2.2.52-2
I: Retrieving adduser 3.113+nmu3
I: Validating adduser 3.113+nmu3
I: Retrieving apt 1.0.9.7
I: Validating apt 1.0.9.7
I: Retrieving apt-utils 1.0.9.7
I: Validating apt-utils 1.0.9.7
I: Retrieving libapt-inst1.5 1.0.9.7
I: Validating libapt-inst1.5 1.0.9.7
I: Retrieving libapt-pkg4.12 1.0.9.7
I: Validating libapt-pkg4.12 1.0.9.7
I: Retrieving libattr1 1:2.4.47-2
I: Validating libattr1 1:2.4.47-2
I: Retrieving libaudit-common 1:2.4-1
I: Validating libaudit-common 1:2.4-1
I: Retrieving libaudit1 1:2.4-1+b1
I: Validating libaudit1 1:2.4-1+b1
I: Retrieving base-files 8
I: Validating base-files 8
I: Retrieving base-passwd 3.5.37
I: Validating base-passwd 3.5.37
I: Retrieving bash 4.3-11+b1
I: Validating bash 4.3-11+b1
I: Retrieving libdns-export100 1:9.9.5.dfsg-9
I: Validating libdns-export100 1:9.9.5.dfsg-9
I: Retrieving libirs-export91 1:9.9.5.dfsg-9
I: Validating libirs-export91 1:9.9.5.dfsg-9
I: Retrieving libisc-export95 1:9.9.5.dfsg-9
I: Validating libisc-export95 1:9.9.5.dfsg-9
I: Retrieving libisccfg-export90 1:9.9.5.dfsg-9
I: Validating libisccfg-export90 1:9.9.5.dfsg-9
I: Retrieving libboost-iostreams1.55.0 1.55.0+dfsg-3
I: Validating libboost-iostreams1.55.0 1.55.0+dfsg-3
I: Retrieving bsdmainutils 9.0.6
I: Validating bsdmainutils 9.0.6
I: Retrieving libbz2-1.0 1.0.6-7+b3
I: Validating libbz2-1.0 1.0.6-7+b3
I: Retrieving libdebconfclient0 0.192
I: Validating libdebconfclient0 0.192
I: Retrieving coreutils 8.23-4
I: Validating coreutils 8.23-4
I: Retrieving cpio 2.11+dfsg-4.1
I: Validating cpio 2.11+dfsg-4.1
I: Retrieving cron 3.0pl1-127
I: Validating cron 3.0pl1-127
I: Retrieving libcryptsetup4 2:1.6.6-5
I: Validating libcryptsetup4 2:1.6.6-5
I: Retrieving dash 0.5.7-4+b1
I: Validating dash 0.5.7-4+b1
I: Retrieving libdb5.3 5.3.28-9
I: Validating libdb5.3 5.3.28-9
I: Retrieving debconf 1.5.56
I: Validating debconf 1.5.56
I: Retrieving debconf-i18n 1.5.56
I: Validating debconf-i18n 1.5.56
I: Retrieving debian-archive-keyring 2014.3
I: Validating debian-archive-keyring 2014.3
I: Retrieving debianutils 4.4+b1
I: Validating debianutils 4.4+b1
I: Retrieving diffutils 1:3.3-1+b1
I: Validating diffutils 1:3.3-1+b1
I: Retrieving dmidecode 2.12-3
I: Validating dmidecode 2.12-3
I: Retrieving dpkg 1.17.24
I: Validating dpkg 1.17.24
I: Retrieving e2fslibs 1.42.12-1.1
I: Validating e2fslibs 1.42.12-1.1
I: Retrieving e2fsprogs 1.42.12-1.1
I: Validating e2fsprogs 1.42.12-1.1
I: Retrieving libcomerr2 1.42.12-1.1
I: Validating libcomerr2 1.42.12-1.1
I: Retrieving libss2 1.42.12-1.1
I: Validating libss2 1.42.12-1.1
I: Retrieving findutils 4.4.2-9+b1
I: Validating findutils 4.4.2-9+b1
I: Retrieving gcc-4.8-base 4.8.4-1
I: Validating gcc-4.8-base 4.8.4-1
I: Retrieving gcc-4.9-base 4.9.2-10
I: Validating gcc-4.9-base 4.9.2-10
I: Retrieving libgcc1 1:4.9.2-10
I: Validating libgcc1 1:4.9.2-10
I: Retrieving libstdc++6 4.9.2-10
I: Validating libstdc++6 4.9.2-10
I: Retrieving libgdbm3 1.8.3-13.1
I: Validating libgdbm3 1.8.3-13.1
I: Retrieving libc-bin 2.19-17
I: Validating libc-bin 2.19-17
I: Retrieving libc6 2.19-17
I: Validating libc6 2.19-17
I: Retrieving multiarch-support 2.19-17
I: Validating multiarch-support 2.19-17
I: Retrieving libgmp10 2:6.0.0+dfsg-6
I: Validating libgmp10 2:6.0.0+dfsg-6
I: Retrieving gnupg 1.4.18-7
I: Validating gnupg 1.4.18-7
I: Retrieving gpgv 1.4.18-7
I: Validating gpgv 1.4.18-7
I: Retrieving libgnutls-deb0-28 3.3.8-6
I: Validating libgnutls-deb0-28 3.3.8-6
I: Retrieving libgnutls-openssl27 3.3.8-6
I: Validating libgnutls-openssl27 3.3.8-6
I: Retrieving grep 2.20-4.1
I: Validating grep 2.20-4.1
I: Retrieving groff-base 1.22.2-8
I: Validating groff-base 1.22.2-8
I: Retrieving gzip 1.6-4
I: Validating gzip 1.6-4
I: Retrieving hostname 3.15
I: Validating hostname 3.15
I: Retrieving libicu52 52.1-8
I: Validating libicu52 52.1-8
I: Retrieving ifupdown 0.7.53.1
I: Validating ifupdown 0.7.53.1
I: Retrieving init 1.22
I: Validating init 1.22
I: Retrieving init-system-helpers 1.22
I: Validating init-system-helpers 1.22
I: Retrieving insserv 1.14.0-5
I: Validating insserv 1.14.0-5
I: Retrieving iproute2 3.16.0-2
I: Validating iproute2 3.16.0-2
I: Retrieving iptables 1.4.21-2+b1
I: Validating iptables 1.4.21-2+b1
I: Retrieving libxtables10 1.4.21-2+b1
I: Validating libxtables10 1.4.21-2+b1
I: Retrieving iputils-ping 3:20121221-5+b2
I: Validating iputils-ping 3:20121221-5+b2
I: Retrieving isc-dhcp-client 4.3.1-6
I: Validating isc-dhcp-client 4.3.1-6
I: Retrieving isc-dhcp-common 4.3.1-6
I: Validating isc-dhcp-common 4.3.1-6
I: Retrieving libjson-c2 0.11-4
I: Validating libjson-c2 0.11-4
I: Retrieving kmod 18-3
I: Validating kmod 18-3
I: Retrieving libkmod2 18-3
I: Validating libkmod2 18-3
I: Retrieving less 458-3
I: Validating less 458-3
I: Retrieving libcap2 1:2.24-8
I: Validating libcap2 1:2.24-8
I: Retrieving libcap2-bin 1:2.24-8
I: Validating libcap2-bin 1:2.24-8
I: Retrieving libestr0 0.1.9-1.1
I: Validating libestr0 0.1.9-1.1
I: Retrieving libffi6 3.1-2+b2
I: Validating libffi6 3.1-2+b2
I: Retrieving libgcrypt20 1.6.3-2
I: Validating libgcrypt20 1.6.3-2
I: Retrieving libgpg-error0 1.17-3
I: Validating libgpg-error0 1.17-3
I: Retrieving libidn11 1.29-1+b2
I: Validating libidn11 1.29-1+b2
I: Retrieving liblocale-gettext-perl 1.05-8+b1
I: Validating liblocale-gettext-perl 1.05-8+b1
I: Retrieving liblogging-stdlog0 1.0.4-1
I: Validating liblogging-stdlog0 1.0.4-1
I: Retrieving liblognorm1 1.0.1-3
I: Validating liblognorm1 1.0.1-3
I: Retrieving libmnl0 1.0.3-5
I: Validating libmnl0 1.0.3-5
I: Retrieving libnetfilter-acct1 1.0.2-1.1
I: Validating libnetfilter-acct1 1.0.2-1.1
I: Retrieving libnfnetlink0 1.0.1-3
I: Validating libnfnetlink0 1.0.1-3
I: Retrieving libpipeline1 1.4.0-1
I: Validating libpipeline1 1.4.0-1
I: Retrieving libpsl0 0.5.1-1
I: Validating libpsl0 0.5.1-1
I: Retrieving libselinux1 2.3-2
I: Validating libselinux1 2.3-2
I: Retrieving libsemanage-common 2.3-1
I: Validating libsemanage-common 2.3-1
I: Retrieving libsemanage1 2.3-1+b1
I: Validating libsemanage1 2.3-1+b1
I: Retrieving libsepol1 2.3-2
I: Validating libsepol1 2.3-2
I: Retrieving libsigc++-2.0-0c2a 2.4.0-1
I: Validating libsigc++-2.0-0c2a 2.4.0-1
I: Retrieving libtasn1-6 4.2-2
I: Validating libtasn1-6 4.2-2
I: Retrieving libtext-charwidth-perl 0.04-7+b3
I: Validating libtext-charwidth-perl 0.04-7+b3
I: Retrieving libtext-iconv-perl 1.7-5+b2
I: Validating libtext-iconv-perl 1.7-5+b2
I: Retrieving libtext-wrapi18n-perl 0.06-7
I: Validating libtext-wrapi18n-perl 0.06-7
I: Retrieving libusb-0.1-4 2:0.1.12-25
I: Validating libusb-0.1-4 2:0.1.12-25
I: Retrieving logrotate 3.8.7-1+b1
I: Validating logrotate 3.8.7-1+b1
I: Retrieving lsb-base 4.1+Debian13+nmu1
I: Validating lsb-base 4.1+Debian13+nmu1
I: Retrieving dmsetup 2:1.02.90-2.1
I: Validating dmsetup 2:1.02.90-2.1
I: Retrieving libdevmapper1.02.1 2:1.02.90-2.1
I: Validating libdevmapper1.02.1 2:1.02.90-2.1
I: Retrieving man-db 2.7.0.2-5
I: Validating man-db 2.7.0.2-5
I: Retrieving manpages 3.74-1
I: Validating manpages 3.74-1
I: Retrieving mawk 1.3.3-17
I: Validating mawk 1.3.3-17
I: Retrieving nano 2.2.6-3
I: Validating nano 2.2.6-3
I: Retrieving libncurses5 5.9+20140913-1+b1
I: Validating libncurses5 5.9+20140913-1+b1
I: Retrieving libncursesw5 5.9+20140913-1+b1
I: Validating libncursesw5 5.9+20140913-1+b1
I: Retrieving libtinfo5 5.9+20140913-1+b1
I: Validating libtinfo5 5.9+20140913-1+b1
I: Retrieving ncurses-base 5.9+20140913-1
I: Validating ncurses-base 5.9+20140913-1
I: Retrieving ncurses-bin 5.9+20140913-1+b1
I: Validating ncurses-bin 5.9+20140913-1+b1
I: Retrieving net-tools 1.60-26+b1
I: Validating net-tools 1.60-26+b1
I: Retrieving netbase 5.3
I: Validating netbase 5.3
I: Retrieving netcat-traditional 1.10-41
I: Validating netcat-traditional 1.10-41
I: Retrieving libhogweed2 2.7.1-5
I: Validating libhogweed2 2.7.1-5
I: Retrieving libnettle4 2.7.1-5
I: Validating libnettle4 2.7.1-5
I: Retrieving libnewt0.52 0.52.17-1+b1
I: Validating libnewt0.52 0.52.17-1+b1
I: Retrieving whiptail 0.52.17-1+b1
I: Validating whiptail 0.52.17-1+b1
I: Retrieving nfacct 1.0.1-1.1
I: Validating nfacct 1.0.1-1.1
I: Retrieving libssl1.0.0 1.0.1k-3
I: Validating libssl1.0.0 1.0.1k-3
I: Retrieving libp11-kit0 0.20.7-1
I: Validating libp11-kit0 0.20.7-1
I: Retrieving libpam-modules 1.1.8-3.1
I: Validating libpam-modules 1.1.8-3.1
I: Retrieving libpam-modules-bin 1.1.8-3.1
I: Validating libpam-modules-bin 1.1.8-3.1
I: Retrieving libpam-runtime 1.1.8-3.1
I: Validating libpam-runtime 1.1.8-3.1
I: Retrieving libpam0g 1.1.8-3.1
I: Validating libpam0g 1.1.8-3.1
I: Retrieving libpcre3 2:8.35-3.3
I: Validating libpcre3 2:8.35-3.3
I: Retrieving perl-base 5.20.2-3
I: Validating perl-base 5.20.2-3
I: Retrieving libpopt0 1.16-10
I: Validating libpopt0 1.16-10
I: Retrieving libprocps3 2:3.3.9-9
I: Validating libprocps3 2:3.3.9-9
I: Retrieving procps 2:3.3.9-9
I: Validating procps 2:3.3.9-9
I: Retrieving libreadline6 6.3-8+b3
I: Validating libreadline6 6.3-8+b3
I: Retrieving readline-common 6.3-8
I: Validating readline-common 6.3-8
I: Retrieving rsyslog 8.4.2-1
I: Validating rsyslog 8.4.2-1
I: Retrieving sed 4.2.2-4+b1
I: Validating sed 4.2.2-4+b1
I: Retrieving sensible-utils 0.0.9
I: Validating sensible-utils 0.0.9
I: Retrieving login 1:4.2-3
I: Validating login 1:4.2-3
I: Retrieving passwd 1:4.2-3
I: Validating passwd 1:4.2-3
I: Retrieving libslang2 2.3.0-2
I: Validating libslang2 2.3.0-2
I: Retrieving startpar 0.59-3
I: Validating startpar 0.59-3
I: Retrieving libsystemd0 215-14
I: Validating libsystemd0 215-14
I: Retrieving libudev1 215-14
I: Validating libudev1 215-14
I: Retrieving systemd 215-14
I: Validating systemd 215-14
I: Retrieving systemd-sysv 215-14
I: Validating systemd-sysv 215-14
I: Retrieving udev 215-14
I: Validating udev 215-14
I: Retrieving initscripts 2.88dsf-58
I: Validating initscripts 2.88dsf-58
I: Retrieving sysv-rc 2.88dsf-58
I: Validating sysv-rc 2.88dsf-58
I: Retrieving sysvinit-utils 2.88dsf-58
I: Validating sysvinit-utils 2.88dsf-58
I: Retrieving tar 1.27.1-2+b1
I: Validating tar 1.27.1-2+b1
I: Retrieving tasksel 3.30
I: Validating tasksel 3.30
I: Retrieving tasksel-data 3.30
I: Validating tasksel-data 3.30
I: Retrieving traceroute 1:2.0.20-2+b1
I: Validating traceroute 1:2.0.20-2+b1
I: Retrieving tzdata 2015b-1
I: Validating tzdata 2015b-1
I: Retrieving libustr-1.0-1 1.0.4-3+b2
I: Validating libustr-1.0-1 1.0.4-3+b2
I: Retrieving bsdutils 1:2.25.2-6
I: Validating bsdutils 1:2.25.2-6
I: Retrieving libblkid1 2.25.2-6
I: Validating libblkid1 2.25.2-6
I: Retrieving libmount1 2.25.2-6
I: Validating libmount1 2.25.2-6
I: Retrieving libsmartcols1 2.25.2-6
I: Validating libsmartcols1 2.25.2-6
I: Retrieving libuuid1 2.25.2-6
I: Validating libuuid1 2.25.2-6
I: Retrieving mount 2.25.2-6
I: Validating mount 2.25.2-6
I: Retrieving util-linux 2.25.2-6
I: Validating util-linux 2.25.2-6
I: Retrieving vim-common 2:7.4.488-6
I: Validating vim-common 2:7.4.488-6
I: Retrieving vim-tiny 2:7.4.488-6
I: Validating vim-tiny 2:7.4.488-6
I: Retrieving wget 1.16-1
I: Validating wget 1.16-1
I: Retrieving liblzma5 5.1.1alpha+20120614-2+b3
I: Validating liblzma5 5.1.1alpha+20120614-2+b3
I: Retrieving zlib1g 1:1.2.8.dfsg-2+b1
I: Validating zlib1g 1:1.2.8.dfsg-2+b1
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting acl...
I: Extracting libacl1...
I: Extracting adduser...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting libdebconfclient0...
I: Extracting coreutils...
I: Extracting libcryptsetup4...
I: Extracting dash...
I: Extracting libdb5.3...
I: Extracting debconf...
I: Extracting debconf-i18n...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting libcomerr2...
I: Extracting libss2...
I: Extracting findutils...
I: Extracting gcc-4.8-base...
I: Extracting gcc-4.9-base...
I: Extracting libgcc1...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init...
I: Extracting insserv...
I: Extracting libkmod2...
I: Extracting libcap2...
I: Extracting libcap2-bin...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting liblocale-gettext-perl...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libtext-charwidth-perl...
I: Extracting libtext-iconv-perl...
I: Extracting libtext-wrapi18n-perl...
I: Extracting lsb-base...
I: Extracting dmsetup...
I: Extracting libdevmapper1.02.1...
I: Extracting mawk...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libtinfo5...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting perl-base...
I: Extracting libprocps3...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libslang2...
I: Extracting startpar...
I: Extracting libsystemd0...
I: Extracting libudev1...
I: Extracting systemd...
I: Extracting systemd-sysv...
I: Extracting udev...
I: Extracting initscripts...
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting libustr-1.0-1...
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking acl...
I: Unpacking libacl1:amd64...
I: Unpacking adduser...
I: Unpacking libattr1:amd64...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:amd64...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:amd64...
I: Unpacking libdebconfclient0:amd64...
I: Unpacking coreutils...
I: Unpacking libcryptsetup4:amd64...
I: Unpacking dash...
I: Unpacking libdb5.3:amd64...
I: Unpacking debconf...
I: Unpacking debconf-i18n...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:amd64...
I: Unpacking e2fsprogs...
I: Unpacking libcomerr2:amd64...
I: Unpacking libss2:amd64...
I: Unpacking findutils...
I: Unpacking gcc-4.8-base:amd64...
I: Unpacking gcc-4.9-base:amd64...
I: Unpacking libgcc1:amd64...
I: Unpacking libc-bin...
I: Unpacking libc6:amd64...
I: Unpacking multiarch-support...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init...
I: Unpacking insserv...
I: Unpacking libkmod2:amd64...
I: Unpacking libcap2:amd64...
I: Unpacking libcap2-bin...
I: Unpacking libgcrypt20:amd64...
I: Unpacking libgpg-error0:amd64...
I: Unpacking liblocale-gettext-perl...
I: Unpacking libselinux1:amd64...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:amd64...
I: Unpacking libsepol1:amd64...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking lsb-base...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:amd64...
I: Unpacking mawk...
I: Unpacking libncurses5:amd64...
I: Unpacking libncursesw5:amd64...
I: Unpacking libtinfo5:amd64...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking libpam-modules:amd64...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:amd64...
I: Unpacking libpcre3:amd64...
I: Unpacking perl-base...
I: Unpacking libprocps3:amd64...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:amd64...
I: Unpacking startpar...
I: Unpacking libsystemd0:amd64...
I: Unpacking libudev1:amd64...
I: Unpacking systemd...
I: Unpacking systemd-sysv...
I: Unpacking udev...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking libustr-1.0-1:amd64...
I: Unpacking bsdutils...
I: Unpacking libblkid1:amd64...
I: Unpacking libmount1:amd64...
I: Unpacking libsmartcols1:amd64...
I: Unpacking libuuid1:amd64...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:amd64...
I: Unpacking zlib1g:amd64...
I: Configuring required packages...
I: Configuring gcc-4.8-base:amd64...
I: Configuring lsb-base...
I: Configuring sensible-utils...
I: Configuring ncurses-base...
I: Configuring libsemanage-common...
I: Configuring gcc-4.9-base:amd64...
I: Configuring libaudit-common...
I: Configuring libc6:amd64...
I: Configuring startpar...
I: Configuring diffutils...
I: Configuring insserv...
I: Configuring findutils...
I: Configuring debianutils...
I: Configuring hostname...
I: Configuring multiarch-support...
I: Configuring mawk...
I: Configuring libprocps3:amd64...
I: Configuring libpcre3:amd64...
I: Configuring libbz2-1.0:amd64...
I: Configuring libkmod2:amd64...
I: Configuring libgpg-error0:amd64...
I: Configuring base-files...
I: Configuring libdebconfclient0:amd64...
I: Configuring libselinux1:amd64...
I: Configuring libcomerr2:amd64...
I: Configuring libslang2:amd64...
I: Configuring libsepol1:amd64...
I: Configuring libgcc1:amd64...
I: Configuring libustr-1.0-1:amd64...
I: Configuring libsmartcols1:amd64...
I: Configuring libaudit1:amd64...
I: Configuring libtinfo5:amd64...
I: Configuring libudev1:amd64...
I: Configuring libattr1:amd64...
I: Configuring libss2:amd64...
I: Configuring liblzma5:amd64...
I: Configuring base-passwd...
I: Configuring e2fslibs:amd64...
I: Configuring libgcrypt20:amd64...
I: Configuring libncursesw5:amd64...
I: Configuring libdb5.3:amd64...
I: Configuring zlib1g:amd64...
I: Configuring libcap2:amd64...
I: Configuring libsystemd0:amd64...
I: Configuring libdevmapper1.02.1:amd64...
I: Configuring libc-bin...
I: Configuring libsemanage1:amd64...
I: Configuring sysvinit-utils...
I: Configuring libacl1:amd64...
I: Configuring ncurses-bin...
I: Configuring acl...
I: Configuring libncurses5:amd64...
I: Configuring libcap2-bin...
I: Configuring bsdutils...
I: Configuring coreutils...
I: Configuring tar...
I: Configuring dpkg...
I: Configuring sed...
I: Configuring perl-base...
I: Configuring grep...
I: Configuring debconf...
I: Configuring tzdata...
I: Configuring gzip...
I: Configuring dash...
I: Configuring libtext-iconv-perl...
I: Configuring sysv-rc...
I: Configuring liblocale-gettext-perl...
I: Configuring libtext-charwidth-perl...
I: Configuring libpam0g:amd64...
I: Configuring libpam-modules-bin...
I: Configuring bash...
I: Configuring libtext-wrapi18n-perl...
I: Configuring libpam-modules:amd64...
I: Configuring libpam-runtime...
I: Configuring debconf-i18n...
I: Configuring passwd...
I: Configuring login...
I: Configuring adduser...
I: Configuring libuuid1:amd64...
I: Configuring libblkid1:amd64...
I: Configuring libmount1:amd64...
I: Configuring libcryptsetup4:amd64...
I: Configuring mount...
I: Configuring initscripts...
I: Configuring util-linux...
I: Configuring e2fsprogs...
I: Configuring procps...
I: Configuring udev...
I: Configuring systemd...
I: Configuring dmsetup...
I: Configuring systemd-sysv...
I: Configuring init...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:amd64...
I: Unpacking libapt-pkg4.12:amd64...
I: Unpacking libdns-export100...
I: Unpacking libirs-export91...
I: Unpacking libisc-export95...
I: Unpacking libisccfg-export90...
I: Unpacking libboost-iostreams1.55.0:amd64...
I: Unpacking bsdmainutils...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking debian-archive-keyring...
I: Unpacking dmidecode...
I: Unpacking libstdc++6:amd64...
I: Unpacking libgdbm3:amd64...
I: Unpacking libgmp10:amd64...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls-deb0-28:amd64...
I: Unpacking libgnutls-openssl27:amd64...
I: Unpacking groff-base...
I: Unpacking libicu52:amd64...
I: Unpacking ifupdown...
I: Unpacking init-system-helpers...
I: Unpacking iproute2...
I: Unpacking iptables...
I: Unpacking libxtables10...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libjson-c2:amd64...
I: Unpacking kmod...
I: Unpacking less...
I: Unpacking libestr0...
I: Unpacking libffi6:amd64...
I: Unpacking libidn11:amd64...
I: Unpacking liblogging-stdlog0:amd64...
I: Unpacking liblognorm1:amd64...
I: Unpacking libmnl0:amd64...
I: Unpacking libnetfilter-acct1:amd64...
I: Unpacking libnfnetlink0:amd64...
I: Unpacking libpipeline1:amd64...
I: Unpacking libpsl0:amd64...
I: Unpacking libsigc++-2.0-0c2a:amd64...
I: Unpacking libtasn1-6:amd64...
I: Unpacking libusb-0.1-4:amd64...
I: Unpacking logrotate...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking nano...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libhogweed2:amd64...
I: Unpacking libnettle4:amd64...
I: Unpacking libnewt0.52:amd64...
I: Unpacking whiptail...
I: Unpacking nfacct...
I: Unpacking libssl1.0.0:amd64...
I: Unpacking libp11-kit0:amd64...
I: Unpacking libpopt0:amd64...
I: Unpacking libreadline6:amd64...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking traceroute...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Configuring the base system...
I: Configuring readline-common...
I: Configuring libgdbm3:amd64...
I: Configuring manpages...
I: Configuring libxtables10...
I: Configuring cpio...
I: Configuring libpopt0:amd64...
I: Configuring kmod...
I: Configuring libestr0...
I: Configuring less...
I: Configuring libssl1.0.0:amd64...
I: Configuring dmidecode...
I: Configuring gpgv...
I: Configuring liblogging-stdlog0:amd64...
I: Configuring netcat-traditional...
I: Configuring libpipeline1:amd64...
I: Configuring iproute2...
I: Configuring libtasn1-6:amd64...
I: Configuring nano...
I: Configuring libgmp10:amd64...
I: Configuring libisc-export95...
I: Configuring init-system-helpers...
I: Configuring libnettle4:amd64...
I: Configuring debian-archive-keyring...
I: Configuring vim-common...
I: Configuring libnfnetlink0:amd64...
I: Configuring libstdc++6:amd64...
I: Configuring libffi6:amd64...
I: Configuring libnewt0.52:amd64...
I: Configuring bsdmainutils...
I: Configuring net-tools...
I: Configuring cron...
I: Configuring libmnl0:amd64...
I: Configuring libapt-pkg4.12:amd64...
I: Configuring libusb-0.1-4:amd64...
I: Configuring traceroute...
I: Configuring logrotate...
I: Configuring libidn11:amd64...
I: Configuring libreadline6:amd64...
I: Configuring libjson-c2:amd64...
I: Configuring libicu52:amd64...
I: Configuring netbase...
I: Configuring vim-tiny...
I: Configuring libhogweed2:amd64...
I: Configuring ifupdown...
I: Configuring libisccfg-export90...
I: Configuring libsigc++-2.0-0c2a:amd64...
I: Configuring groff-base...
I: Configuring liblognorm1:amd64...
I: Configuring whiptail...
I: Configuring gnupg...
I: Configuring libpsl0:amd64...
I: Configuring libboost-iostreams1.55.0:amd64...
I: Configuring libdns-export100...
I: Configuring iptables...
I: Configuring libapt-inst1.5:amd64...
I: Configuring libp11-kit0:amd64...
I: Configuring libgnutls-deb0-28:amd64...
I: Configuring wget...
I: Configuring apt...
I: Configuring man-db...
I: Configuring libnetfilter-acct1:amd64...
I: Configuring rsyslog...
I: Configuring nfacct...
I: Configuring apt-utils...
I: Configuring libirs-export91...
I: Configuring libgnutls-openssl27:amd64...
I: Configuring iputils-ping...
I: Configuring isc-dhcp-common...
I: Configuring isc-dhcp-client...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring libc-bin...
I: Base system installed successfully.
─( 16:37:10 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # for i in /dev /dev/pts /sys /proc; do mount -o bind $i /mnt/test$i; done
─( 17:01:48 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # chroot /mnt/test /bin/bash

bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
root at nauhp:/# apt-get update
Get:1 http://ftp.crans.org jessie InRelease [206 kB]
Get:2 http://ftp.crans.org jessie/main Translation-en [4598 kB]
Get:3 http://ftp.crans.org jessie/main amd64 Packages [6779 kB]
Fetched 11.6 MB in 3s (3176 kB/s)
Reading package lists... Done
root at nauhp:/# apt-get install linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  busybox firmware-linux-free initramfs-tools irqbalance klibc-utils libalgorithm-c3-perl libarchive-extract-perl libcap-ng0 libcgi-fast-perl libcgi-pm-perl
  libclass-c3-perl libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl libdata-section-perl libfcgi-perl libglib2.0-0 libglib2.0-data libklibc liblog-message-perl
  liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl libnuma1 libpackage-constants-perl
  libparams-util-perl libpod-latex-perl libpod-readme-perl libregexp-common-perl libsoftware-license-perl libsub-exporter-perl libsub-install-perl libterm-ui-perl
  libtext-soundex-perl libtext-template-perl libuuid-perl libxml2 linux-base linux-image-3.16.0-4-amd64 perl perl-modules rename sgml-base shared-mime-info xdg-user-dirs
  xml-core
Suggested packages:
  bash-completion linux-doc-3.16 debian-kernel-handbook grub-pc grub-efi extlinux perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl make libb-lint-perl
  libcpanplus-dist-build-perl libcpanplus-perl libfile-checktree-perl libobject-accessor-perl sgml-base-doc debhelper
Recommended packages:
  libarchive-tar-perl
The following NEW packages will be installed:
  busybox firmware-linux-free initramfs-tools irqbalance klibc-utils libalgorithm-c3-perl libarchive-extract-perl libcap-ng0 libcgi-fast-perl libcgi-pm-perl
  libclass-c3-perl libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl libdata-section-perl libfcgi-perl libglib2.0-0 libglib2.0-data libklibc liblog-message-perl
  liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl libnuma1 libpackage-constants-perl
  libparams-util-perl libpod-latex-perl libpod-readme-perl libregexp-common-perl libsoftware-license-perl libsub-exporter-perl libsub-install-perl libterm-ui-perl
  libtext-soundex-perl libtext-template-perl libuuid-perl libxml2 linux-base linux-image-3.16.0-4-amd64 linux-image-amd64 perl perl-modules rename sgml-base
  shared-mime-info xdg-user-dirs xml-core
0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.3 MB of archives.
After this operation, 226 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.crans.org/debian/ jessie/main libxml2 amd64 2.9.1+dfsg1-5 [800 kB]
Get:2 http://ftp.crans.org/debian/ jessie/main perl-modules all 5.20.2-3 [2544 kB]
Get:3 http://ftp.crans.org/debian/ jessie/main perl amd64 5.20.2-3 [2627 kB]
Get:4 http://ftp.crans.org/debian/ jessie/main libcap-ng0 amd64 0.7.4-2 [13.2 kB]
Get:5 http://ftp.crans.org/debian/ jessie/main libglib2.0-0 amd64 2.42.1-1 [2401 kB]
Get:6 http://ftp.crans.org/debian/ jessie/main libnuma1 amd64 2.0.10-1 [32.5 kB]
Get:7 http://ftp.crans.org/debian/ jessie/main libuuid-perl amd64 0.05-1+b1 [10.4 kB]
Get:8 http://ftp.crans.org/debian/ jessie/main linux-base all 3.5 [34.3 kB]
Get:9 http://ftp.crans.org/debian/ jessie/main libklibc amd64 2.0.4-2 [51.7 kB]
Get:10 http://ftp.crans.org/debian/ jessie/main klibc-utils amd64 2.0.4-2 [108 kB]
Get:11 http://ftp.crans.org/debian/ jessie/main busybox amd64 1:1.22.0-9+deb8u1 [391 kB]
Get:12 http://ftp.crans.org/debian/ jessie/main initramfs-tools all 0.119 [95.3 kB]
Get:13 http://ftp.crans.org/debian/ jessie/main linux-image-3.16.0-4-amd64 amd64 3.16.7-ckt7-1 [33.8 MB]
Get:14 http://ftp.crans.org/debian/ jessie/main sgml-base all 1.26+nmu4 [14.6 kB]
Get:15 http://ftp.crans.org/debian/ jessie/main firmware-linux-free all 3.3 [19.1 kB]
Get:16 http://ftp.crans.org/debian/ jessie/main libalgorithm-c3-perl all 0.09-1 [11.9 kB]
Get:17 http://ftp.crans.org/debian/ jessie/main libarchive-extract-perl all 0.72-1 [24.8 kB]
Get:18 http://ftp.crans.org/debian/ jessie/main libcgi-pm-perl all 4.09-1 [213 kB]
Get:19 http://ftp.crans.org/debian/ jessie/main libfcgi-perl amd64 0.77-1+b1 [39.1 kB]
Get:20 http://ftp.crans.org/debian/ jessie/main libcgi-fast-perl all 1:2.04-1 [10.9 kB]
Get:21 http://ftp.crans.org/debian/ jessie/main libclass-c3-perl all 0.26-1 [22.9 kB]
Get:22 http://ftp.crans.org/debian/ jessie/main libclass-c3-xs-perl amd64 0.13-2+b1 [15.2 kB]
Get:23 http://ftp.crans.org/debian/ jessie/main libcpan-meta-perl all 2.142690-1 [125 kB]
Get:24 http://ftp.crans.org/debian/ jessie/main libparams-util-perl amd64 1.07-2+b1 [23.5 kB]
Get:25 http://ftp.crans.org/debian/ jessie/main libsub-install-perl all 0.928-1 [11.4 kB]
Get:26 http://ftp.crans.org/debian/ jessie/main libdata-optlist-perl all 0.109-1 [10.6 kB]
Get:27 http://ftp.crans.org/debian/ jessie/main libmro-compat-perl all 0.12-1 [13.2 kB]
Get:28 http://ftp.crans.org/debian/ jessie/main libsub-exporter-perl all 0.986-1 [49.9 kB]
Get:29 http://ftp.crans.org/debian/ jessie/main libdata-section-perl all 0.200006-1 [13.4 kB]
Get:30 http://ftp.crans.org/debian/ jessie/main libglib2.0-data all 2.42.1-1 [2173 kB]
Get:31 http://ftp.crans.org/debian/ jessie/main liblog-message-perl all 0.8-1 [26.0 kB]
Get:32 http://ftp.crans.org/debian/ jessie/main liblog-message-simple-perl all 0.10-2 [8126 B]
Get:33 http://ftp.crans.org/debian/ jessie/main libmodule-build-perl all 0.421000-2 [265 kB]
Get:34 http://ftp.crans.org/debian/ jessie/main libmodule-pluggable-perl all 5.1-1 [25.0 kB]
Get:35 http://ftp.crans.org/debian/ jessie/main libmodule-signature-perl all 0.73-1 [31.6 kB]
Get:36 http://ftp.crans.org/debian/ jessie/main libpackage-constants-perl all 0.04-1 [5820 B]
Get:37 http://ftp.crans.org/debian/ jessie/main libpod-latex-perl all 0.61-1 [34.7 kB]
Get:38 http://ftp.crans.org/debian/ jessie/main libregexp-common-perl all 2013031301-1 [173 kB]
Get:39 http://ftp.crans.org/debian/ jessie/main libpod-readme-perl all 0.11-1 [15.3 kB]
Get:40 http://ftp.crans.org/debian/ jessie/main libtext-template-perl all 1.46-1 [53.1 kB]
Get:41 http://ftp.crans.org/debian/ jessie/main libsoftware-license-perl all 0.103010-3 [119 kB]
Get:42 http://ftp.crans.org/debian/ jessie/main libterm-ui-perl all 0.42-1 [19.1 kB]
Get:43 http://ftp.crans.org/debian/ jessie/main libtext-soundex-perl amd64 3.4-1+b2 [13.7 kB]
Get:44 http://ftp.crans.org/debian/ jessie/main linux-image-amd64 amd64 3.16+63 [5824 B]
Get:45 http://ftp.crans.org/debian/ jessie/main rename all 0.20-3 [12.4 kB]
Get:46 http://ftp.crans.org/debian/ jessie/main shared-mime-info amd64 1.3-1 [634 kB]
Get:47 http://ftp.crans.org/debian/ jessie/main xdg-user-dirs amd64 0.15-2 [52.1 kB]
Get:48 http://ftp.crans.org/debian/ jessie/main xml-core all 0.13+nmu2 [24.2 kB]
Get:49 http://ftp.crans.org/debian/ jessie/main irqbalance amd64 1.0.6-3 [31.1 kB]
Fetched 47.3 MB in 1min 5s (723 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "fr_FR.UTF-8",
    LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libxml2:amd64.
(Reading database ... 9725 files and directories currently installed.)
Preparing to unpack .../libxml2_2.9.1+dfsg1-5_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-5) ...
Selecting previously unselected package perl-modules.
Preparing to unpack .../perl-modules_5.20.2-3_all.deb ...
Unpacking perl-modules (5.20.2-3) ...
Selecting previously unselected package perl.
Preparing to unpack .../perl_5.20.2-3_amd64.deb ...
Unpacking perl (5.20.2-3) ...
Selecting previously unselected package libcap-ng0:amd64.
Preparing to unpack .../libcap-ng0_0.7.4-2_amd64.deb ...
Unpacking libcap-ng0:amd64 (0.7.4-2) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.42.1-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.42.1-1) ...
Selecting previously unselected package libnuma1:amd64.
Preparing to unpack .../libnuma1_2.0.10-1_amd64.deb ...
Unpacking libnuma1:amd64 (2.0.10-1) ...
Selecting previously unselected package libuuid-perl.
Preparing to unpack .../libuuid-perl_0.05-1+b1_amd64.deb ...
Unpacking libuuid-perl (0.05-1+b1) ...
Selecting previously unselected package linux-base.
Preparing to unpack .../linux-base_3.5_all.deb ...
Unpacking linux-base (3.5) ...
Selecting previously unselected package libklibc.
Preparing to unpack .../libklibc_2.0.4-2_amd64.deb ...
Unpacking libklibc (2.0.4-2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../klibc-utils_2.0.4-2_amd64.deb ...
Unpacking klibc-utils (2.0.4-2) ...
Selecting previously unselected package busybox.
Preparing to unpack .../busybox_1%3a1.22.0-9+deb8u1_amd64.deb ...
Unpacking busybox (1:1.22.0-9+deb8u1) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../initramfs-tools_0.119_all.deb ...
Unpacking initramfs-tools (0.119) ...
Selecting previously unselected package linux-image-3.16.0-4-amd64.
Preparing to unpack .../linux-image-3.16.0-4-amd64_3.16.7-ckt7-1_amd64.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking linux-image-3.16.0-4-amd64 (3.16.7-ckt7-1) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.26+nmu4_all.deb ...
Unpacking sgml-base (1.26+nmu4) ...
Selecting previously unselected package firmware-linux-free.
Preparing to unpack .../firmware-linux-free_3.3_all.deb ...
Unpacking firmware-linux-free (3.3) ...
Selecting previously unselected package libalgorithm-c3-perl.
Preparing to unpack .../libalgorithm-c3-perl_0.09-1_all.deb ...
Unpacking libalgorithm-c3-perl (0.09-1) ...
Selecting previously unselected package libarchive-extract-perl.
Preparing to unpack .../libarchive-extract-perl_0.72-1_all.deb ...
Unpacking libarchive-extract-perl (0.72-1) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../libcgi-pm-perl_4.09-1_all.deb ...
Unpacking libcgi-pm-perl (4.09-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../libfcgi-perl_0.77-1+b1_amd64.deb ...
Unpacking libfcgi-perl (0.77-1+b1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../libcgi-fast-perl_1%3a2.04-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.04-1) ...
Selecting previously unselected package libclass-c3-perl.
Preparing to unpack .../libclass-c3-perl_0.26-1_all.deb ...
Unpacking libclass-c3-perl (0.26-1) ...
Selecting previously unselected package libclass-c3-xs-perl.
Preparing to unpack .../libclass-c3-xs-perl_0.13-2+b1_amd64.deb ...
Unpacking libclass-c3-xs-perl (0.13-2+b1) ...
Selecting previously unselected package libcpan-meta-perl.
Preparing to unpack .../libcpan-meta-perl_2.142690-1_all.deb ...
Unpacking libcpan-meta-perl (2.142690-1) ...
Selecting previously unselected package libparams-util-perl.
Preparing to unpack .../libparams-util-perl_1.07-2+b1_amd64.deb ...
Unpacking libparams-util-perl (1.07-2+b1) ...
Selecting previously unselected package libsub-install-perl.
Preparing to unpack .../libsub-install-perl_0.928-1_all.deb ...
Unpacking libsub-install-perl (0.928-1) ...
Selecting previously unselected package libdata-optlist-perl.
Preparing to unpack .../libdata-optlist-perl_0.109-1_all.deb ...
Unpacking libdata-optlist-perl (0.109-1) ...
Selecting previously unselected package libmro-compat-perl.
Preparing to unpack .../libmro-compat-perl_0.12-1_all.deb ...
Unpacking libmro-compat-perl (0.12-1) ...
Selecting previously unselected package libsub-exporter-perl.
Preparing to unpack .../libsub-exporter-perl_0.986-1_all.deb ...
Unpacking libsub-exporter-perl (0.986-1) ...
Selecting previously unselected package libdata-section-perl.
Preparing to unpack .../libdata-section-perl_0.200006-1_all.deb ...
Unpacking libdata-section-perl (0.200006-1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../libglib2.0-data_2.42.1-1_all.deb ...
Unpacking libglib2.0-data (2.42.1-1) ...
Selecting previously unselected package liblog-message-perl.
Preparing to unpack .../liblog-message-perl_0.8-1_all.deb ...
Unpacking liblog-message-perl (0.8-1) ...
Selecting previously unselected package liblog-message-simple-perl.
Preparing to unpack .../liblog-message-simple-perl_0.10-2_all.deb ...
Unpacking liblog-message-simple-perl (0.10-2) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../libmodule-build-perl_0.421000-2_all.deb ...
Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Unpacking libmodule-build-perl (0.421000-2) ...
Selecting previously unselected package libmodule-pluggable-perl.
Preparing to unpack .../libmodule-pluggable-perl_5.1-1_all.deb ...
Unpacking libmodule-pluggable-perl (5.1-1) ...
Selecting previously unselected package libmodule-signature-perl.
Preparing to unpack .../libmodule-signature-perl_0.73-1_all.deb ...
Unpacking libmodule-signature-perl (0.73-1) ...
Selecting previously unselected package libpackage-constants-perl.
Preparing to unpack .../libpackage-constants-perl_0.04-1_all.deb ...
Unpacking libpackage-constants-perl (0.04-1) ...
Selecting previously unselected package libpod-latex-perl.
Preparing to unpack .../libpod-latex-perl_0.61-1_all.deb ...
Adding 'diversion of /usr/bin/pod2latex to /usr/bin/pod2latex.bundled by libpod-latex-perl'
Adding 'diversion of /usr/share/man/man1/pod2latex.1.gz to /usr/share/man/man1/pod2latex.bundled.1.gz by libpod-latex-perl'
Unpacking libpod-latex-perl (0.61-1) ...
Selecting previously unselected package libregexp-common-perl.
Preparing to unpack .../libregexp-common-perl_2013031301-1_all.deb ...
Unpacking libregexp-common-perl (2013031301-1) ...
Selecting previously unselected package libpod-readme-perl.
Preparing to unpack .../libpod-readme-perl_0.11-1_all.deb ...
Unpacking libpod-readme-perl (0.11-1) ...
Selecting previously unselected package libtext-template-perl.
Preparing to unpack .../libtext-template-perl_1.46-1_all.deb ...
Unpacking libtext-template-perl (1.46-1) ...
Selecting previously unselected package libsoftware-license-perl.
Preparing to unpack .../libsoftware-license-perl_0.103010-3_all.deb ...
Unpacking libsoftware-license-perl (0.103010-3) ...
Selecting previously unselected package libterm-ui-perl.
Preparing to unpack .../libterm-ui-perl_0.42-1_all.deb ...
Unpacking libterm-ui-perl (0.42-1) ...
Selecting previously unselected package libtext-soundex-perl.
Preparing to unpack .../libtext-soundex-perl_3.4-1+b2_amd64.deb ...
Unpacking libtext-soundex-perl (3.4-1+b2) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../linux-image-amd64_3.16+63_amd64.deb ...
Unpacking linux-image-amd64 (3.16+63) ...
Selecting previously unselected package rename.
Preparing to unpack .../archives/rename_0.20-3_all.deb ...
Unpacking rename (0.20-3) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../shared-mime-info_1.3-1_amd64.deb ...
Unpacking shared-mime-info (1.3-1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../xdg-user-dirs_0.15-2_amd64.deb ...
Unpacking xdg-user-dirs (0.15-2) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
Unpacking xml-core (0.13+nmu2) ...
Selecting previously unselected package irqbalance.
Preparing to unpack .../irqbalance_1.0.6-3_amd64.deb ...
Unpacking irqbalance (1.0.6-3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-5) ...
Setting up perl-modules (5.20.2-3) ...
Setting up perl (5.20.2-3) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up libcap-ng0:amd64 (0.7.4-2) ...
Setting up libglib2.0-0:amd64 (2.42.1-1) ...
No schema files found: doing nothing.
Setting up libnuma1:amd64 (2.0.10-1) ...
Setting up libuuid-perl (0.05-1+b1) ...
Setting up linux-base (3.5) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up libklibc (2.0.4-2) ...
Setting up klibc-utils (2.0.4-2) ...
Setting up busybox (1:1.22.0-9+deb8u1) ...
Setting up initramfs-tools (0.119) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.16.0-4-amd64 (3.16.7-ckt7-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Setting up sgml-base (1.26+nmu4) ...
Setting up firmware-linux-free (3.3) ...
update-initramfs: deferring update (trigger activated)
Setting up libalgorithm-c3-perl (0.09-1) ...
Setting up libarchive-extract-perl (0.72-1) ...
Setting up libcgi-pm-perl (4.09-1) ...
Setting up libfcgi-perl (0.77-1+b1) ...
Setting up libcgi-fast-perl (1:2.04-1) ...
Setting up libclass-c3-perl (0.26-1) ...
Setting up libclass-c3-xs-perl (0.13-2+b1) ...
Setting up libcpan-meta-perl (2.142690-1) ...
Setting up libparams-util-perl (1.07-2+b1) ...
Setting up libsub-install-perl (0.928-1) ...
Setting up libdata-optlist-perl (0.109-1) ...
Setting up libmro-compat-perl (0.12-1) ...
Setting up libsub-exporter-perl (0.986-1) ...
Setting up libdata-section-perl (0.200006-1) ...
Setting up libglib2.0-data (2.42.1-1) ...
Setting up liblog-message-perl (0.8-1) ...
Setting up liblog-message-simple-perl (0.10-2) ...
Setting up libmodule-build-perl (0.421000-2) ...
Setting up libmodule-pluggable-perl (5.1-1) ...
Setting up libmodule-signature-perl (0.73-1) ...
Setting up libpackage-constants-perl (0.04-1) ...
Setting up libpod-latex-perl (0.61-1) ...
Setting up libregexp-common-perl (2013031301-1) ...
Setting up libpod-readme-perl (0.11-1) ...
Setting up libtext-template-perl (1.46-1) ...
Setting up libsoftware-license-perl (0.103010-3) ...
Setting up libterm-ui-perl (0.42-1) ...
Setting up libtext-soundex-perl (3.4-1+b2) ...
Setting up linux-image-amd64 (3.16+63) ...
Setting up rename (0.20-3) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
Setting up shared-mime-info (1.3-1) ...
Setting up xdg-user-dirs (0.15-2) ...
Setting up xml-core (0.13+nmu2) ...
Setting up irqbalance (1.0.6-3) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
[ ok ] Starting SMP IRQ Balancer: irqbalance.
Processing triggers for libc-bin (2.19-17) ...
Processing triggers for initramfs-tools (0.119) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Processing triggers for sgml-base (1.26+nmu4) ...
root at nauhp:/# service irqbalance stop
[ ok ] Stopping SMP IRQ Balancer: irqbalance.
root at nauhp:/# mkdir /root/fakedir
root at nauhp:/# vim /tmp/fakebins
bash: vim: command not found
root at nauhp:/# vi /tmp/fakebins
root at nauhp:/# cat /tmp/fakebins
initctl
invoke-rc.d
restart
start
stop
start-stop-daemon
service
root at nauhp:/# cat /tmp/fakebins |xargs -n 1 -t -I {} ln -s /bin/true /root/fakedir/{}
ln -s /bin/true /root/fakedir/initctl
ln -s /bin/true /root/fakedir/invoke-rc.d
ln -s /bin/true /root/fakedir/restart
ln -s /bin/true /root/fakedir/start
ln -s /bin/true /root/fakedir/stop
ln -s /bin/true /root/fakedir/start-stop-daemon
ln -s /bin/true /root/fakedir/service
root at nauhp:/# ls -al /root/fakedir/
total 8
drwxr-xr-x 2 root root 4096 Apr  9 15:15 .
drwx------ 3 root root 4096 Apr  9 15:14 ..
lrwxrwxrwx 1 root root    9 Apr  9 15:15 initctl -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 invoke-rc.d -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 restart -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 service -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 start -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 start-stop-daemon -> /bin/true
lrwxrwxrwx 1 root root    9 Apr  9 15:15 stop -> /bin/true
root at nauhp:/# PATH=/root/fakedir:${PATH} apt-get install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dmeventd libdevmapper-event1.02.1 liblvm2cmd2.02 libreadline5
Suggested packages:
  thin-provisioning-tools
The following NEW packages will be installed:
  dmeventd libdevmapper-event1.02.1 liblvm2cmd2.02 libreadline5 lvm2
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1471 kB of archives.
After this operation, 3536 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.crans.org/debian/ jessie/main libdevmapper-event1.02.1 amd64 2:1.02.90-2.1 [35.7 kB]
Get:2 http://ftp.crans.org/debian/ jessie/main dmeventd amd64 2:1.02.90-2.1 [50.1 kB]
Get:3 http://ftp.crans.org/debian/ jessie/main liblvm2cmd2.02 amd64 2.02.111-2.1 [522 kB]
Get:4 http://ftp.crans.org/debian/ jessie/main libreadline5 amd64 5.2+dfsg-2 [151 kB]
Get:5 http://ftp.crans.org/debian/ jessie/main lvm2 amd64 2.02.111-2.1 [713 kB]
Fetched 1471 kB in 1s (1249 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "fr_FR.UTF-8",
    LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
(Reading database ... 15819 files and directories currently installed.)
Preparing to unpack .../libdevmapper-event1.02.1_2%3a1.02.90-2.1_amd64.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.90-2.1) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../dmeventd_2%3a1.02.90-2.1_amd64.deb ...
Unpacking dmeventd (2:1.02.90-2.1) ...
Selecting previously unselected package liblvm2cmd2.02:amd64.
Preparing to unpack .../liblvm2cmd2.02_2.02.111-2.1_amd64.deb ...
Unpacking liblvm2cmd2.02:amd64 (2.02.111-2.1) ...
Selecting previously unselected package libreadline5:amd64.
Preparing to unpack .../libreadline5_5.2+dfsg-2_amd64.deb ...
Unpacking libreadline5:amd64 (5.2+dfsg-2) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../lvm2_2.02.111-2.1_amd64.deb ...
Unpacking lvm2 (2.02.111-2.1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.90-2.1) ...
Setting up libreadline5:amd64 (5.2+dfsg-2) ...
Setting up liblvm2cmd2.02:amd64 (2.02.111-2.1) ...
Setting up dmeventd (2:1.02.90-2.1) ...
Setting up lvm2 (2.02.111-2.1) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for libc-bin (2.19-17) ...
Processing triggers for initramfs-tools (0.119) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
root at nauhp:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gettext-base grub-common grub-pc grub-pc-bin grub2-common libasprintf0c2 libfreetype6 libfuse2 libpng12-0 os-prober ucf
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base console-setup fuse
The following NEW packages will be installed:
  gettext-base grub-common grub-pc grub-pc-bin grub2 grub2-common libasprintf0c2 libfreetype6 libfuse2 libpng12-0 os-prober ucf
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 5352 kB of archives.
After this operation, 22.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.crans.org/debian/ jessie/main libasprintf0c2 amd64 0.19.3-2 [31.3 kB]
Get:2 http://ftp.crans.org/debian/ jessie/main libpng12-0 amd64 1.2.50-2+b2 [172 kB]
Get:3 http://ftp.crans.org/debian/ jessie/main libfreetype6 amd64 2.5.2-3 [466 kB]
Get:4 http://ftp.crans.org/debian/ jessie/main libfuse2 amd64 2.9.3-15+b1 [135 kB]
Get:5 http://ftp.crans.org/debian/ jessie/main gettext-base amd64 0.19.3-2 [121 kB]
Get:6 http://ftp.crans.org/debian/ jessie/main ucf all 3.0030 [69.7 kB]
Get:7 http://ftp.crans.org/debian/ jessie/main grub-common amd64 2.02~beta2-22 [2725 kB]
Get:8 http://ftp.crans.org/debian/ jessie/main grub2-common amd64 2.02~beta2-22 [504 kB]
Get:9 http://ftp.crans.org/debian/ jessie/main grub-pc-bin amd64 2.02~beta2-22 [876 kB]
Get:10 http://ftp.crans.org/debian/ jessie/main grub-pc amd64 2.02~beta2-22 [220 kB]
Get:11 http://ftp.crans.org/debian/ jessie/main grub2 amd64 2.02~beta2-22 [2570 B]
Get:12 http://ftp.crans.org/debian/ jessie/main os-prober amd64 1.65 [27.9 kB]
Fetched 5352 kB in 2s (2161 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "fr_FR.UTF-8",
    LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
Selecting previously unselected package libasprintf0c2:amd64.
(Reading database ... 15985 files and directories currently installed.)
Preparing to unpack .../libasprintf0c2_0.19.3-2_amd64.deb ...
Unpacking libasprintf0c2:amd64 (0.19.3-2) ...
Selecting previously unselected package libpng12-0:amd64.
Preparing to unpack .../libpng12-0_1.2.50-2+b2_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.50-2+b2) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../libfreetype6_2.5.2-3_amd64.deb ...
Unpacking libfreetype6:amd64 (2.5.2-3) ...
Selecting previously unselected package libfuse2:amd64.
Preparing to unpack .../libfuse2_2.9.3-15+b1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.3-15+b1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_amd64.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0030_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0030) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../grub-common_2.02~beta2-22_amd64.deb ...
Unpacking grub-common (2.02~beta2-22) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-22_amd64.deb ...
Unpacking grub2-common (2.02~beta2-22) ...
Selecting previously unselected package grub-pc-bin.
Preparing to unpack .../grub-pc-bin_2.02~beta2-22_amd64.deb ...
Unpacking grub-pc-bin (2.02~beta2-22) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../grub-pc_2.02~beta2-22_amd64.deb ...
Unpacking grub-pc (2.02~beta2-22) ...
Selecting previously unselected package grub2.
Preparing to unpack .../grub2_2.02~beta2-22_amd64.deb ...
Unpacking grub2 (2.02~beta2-22) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../os-prober_1.65_amd64.deb ...
Unpacking os-prober (1.65) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libasprintf0c2:amd64 (0.19.3-2) ...
Setting up libpng12-0:amd64 (1.2.50-2+b2) ...
Setting up libfreetype6:amd64 (2.5.2-3) ...
Setting up libfuse2:amd64 (2.9.3-15+b1) ...
Setting up gettext-base (0.19.3-2) ...
Setting up ucf (3.0030) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up grub-common (2.02~beta2-22) ...
Setting up grub2-common (2.02~beta2-22) ...
Setting up grub-pc-bin (2.02~beta2-22) ...
Setting up grub-pc (2.02~beta2-22) ...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)

Creating config file /etc/default/grub with new version
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up grub2 (2.02~beta2-22) ...
Setting up os-prober (1.65) ...
Processing triggers for libc-bin (2.19-17) ...
root at nauhp:/# grub-mkdevicemap
root at nauhp:/# vim /boot/grub/device.map
bash: vim: command not found
root at nauhp:/# vi /boot/grub/device.map
root at nauhp:/# ls -al /dev/mapper
total 0
drwxr-xr-x  2 root root     240 Apr  9 14:02 .
drwxr-xr-x 22 root root    3460 Apr  9 14:02 ..
crw-------  1 root root 10, 236 Mar 21 22:47 control
lrwxrwxrwx  1 root root       7 Mar 21 22:47 cryptssd -> ../dm-0
lrwxrwxrwx  1 root root       7 Mar 21 22:47 nauhp-home -> ../dm-3
lrwxrwxrwx  1 root root       7 Mar 21 22:47 nauhp-slash -> ../dm-1
lrwxrwxrwx  1 root root       7 Mar 28 18:42 nauhp-swap -> ../dm-2
lrwxrwxrwx  1 root root       7 Apr  9 14:00 testvg-testlv -> ../dm-4
lrwxrwxrwx  1 root root       7 Apr  9 14:02 testvg-testlv1 -> ../dm-5
lrwxrwxrwx  1 root root       7 Apr  9 14:03 testvg2-slash -> ../dm-6
lrwxrwxrwx  1 root root       7 Apr  9 14:05 testvg2-swap -> ../dm-8
lrwxrwxrwx  1 root root       7 Apr  9 14:04 testvg2-var -> ../dm-7
root at nauhp:/# vi /boot/grub/device.map
root at nauhp:/# grub-install /dev/dm-4
Installing for i386-pc platform.
grub-install: error: disk `lvmid/O2Ra0P-IMXm-Frx6-44ZD-HTwY-11Lf-ETCVFG/dS6fGW-zy5W-p1jA-X952-k0AL-kkH1-XU2ZmZ' not found.
root at nauhp:/# exit
─( 17:32:15 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 1 ]─
root at nauhp # grub-install --boot-directory=/mnt/test/boot /dev/dm-4
Installing for i386-pc platform.
grub-install : erreur : disque « lvmid/O2Ra0P-IMXm-Frx6-44ZD-HTwY-11Lf-ETCVFG/dS6fGW-zy5W-p1jA-X952-k0AL-kkH1-XU2ZmZ » non disponible.
─( 17:32:45 )─< / >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 1 ]─
root at nauhp # cd
─( 17:33:16 )─< ~ >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # mkdir git
─( 17:34:02 )─< ~ >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # cd git
─( 17:34:05 )─< ~/git >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # git clone git://git.savannah.gnu.org/grub.git
Clonage dans 'grub'...
remote: Counting objects: 87504, done.
remote: Compressing objects: 100% (20156/20156), done.
remote: Total 87504 (delta 65134), reused 87493 (delta 65128)
Réception d'objets: 100% (87504/87504), 68.79 MiB | 1.64 MiB/s, fait.
Résolution des deltas: 100% (65134/65134), fait.
Vérification de la connectivité... fait.
─( 17:36:18 )─< ~/git >─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ 0 ]─
root at nauhp # cd grub/
─( 17:36:24 )─< ~/git/grub >────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 0 ]─
root at nauhp # ls
ABOUT-NLS     AUTHORS     build-aux   config.h.in   coreboot.cfg  gentpl.py  INSTALL     Makefile.am    po  THANKS  unicode
acinclude.m4  autogen.sh  ChangeLog-2015  configure.ac  docs          grub-core  linguas.sh  Makefile.util.def  README  themes  util
asm-tests     BUGS    conf        COPYING   geninit.sh    include    m4      NEWS       tests   TODO
─( 17:36:25 )─< ~/git/grub >──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 127 ]─
root at nauhp # ./autogen.sh
Importing unicode...
Importing libgcrypt...
WARNING: grub-core/lib/libgcrypt-grub already exists
WARNING: grub-core/lib/libgcrypt-grub/cipher already exists
WARNING: grub-core/lib/libgcrypt-grub/mpi already exists
WARNING: grub-core/lib/libgcrypt-grub/src already exists
Generating Automake input...
Saving timestamps...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:307: installing 'build-aux/compile'
configure.ac:42: installing 'build-aux/config.guess'
configure.ac:42: installing 'build-aux/config.sub'
configure.ac:48: installing 'build-aux/install-sh'
configure.ac:48: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
docs/Makefile.am:4: installing 'build-aux/mdate-sh'
docs/Makefile.am:4: installing 'build-aux/texinfo.tex'
autoreconf: Leaving directory `.'
─( 17:37:01 )─< ~/git/grub >────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 0 ]─
root at nauhp # ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for cmp... cmp
checking for bison... bison
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... (cached) bison
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for makeinfo... /usr/bin/makeinfo
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking for g++... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking size of off_t... 8
checking for help2man... no
checking for posix_memalign... yes
checking for memalign... yes
checking for getextmntent... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for struct statfs.f_fstypename... no
checking for struct statfs.f_mntfromname... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking whether -Wtrampolines work... yes
checking for gcc... gcc
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for getdelim... yes
checking for symlink... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for isascii... yes
checking for mprotect... yes
checking for _set_invalid_parameter_handler... no
checking for nl_langinfo... yes
checking for wcscoll... yes
checking for sleep... yes
checking for strndup... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for features.h... yes
checking for linewrap.h... no
checking for wctype.h... yes
checking for getopt.h... yes
checking for langinfo.h... yes
checking for unistd.h... (cached) yes
checking for xlocale.h... yes
checking for wchar.h... yes
checking for sys/mman.h... yes
checking for stdint.h... (cached) yes
checking for sys/socket.h... yes
checking for strings.h... (cached) yes
checking for sysexits.h... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for mbstate_t... yes
checking whether getdelim is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking whether getenv is declared... yes
checking for working fcntl.h... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for wchar_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether alarm is declared... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether strerror(0) succeeds... yes
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether ffs is declared without a macro... yes
checking whether strcasecmp is declared without a macro... yes
checking whether strncasecmp is declared without a macro... yes
checking whether strndup is declared... (cached) yes
checking whether strnlen is declared... (cached) yes
checking for pid_t... yes
checking for mode_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking for alloca as a compiler built-in... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking whether program_invocation_name is defined... yes
checking whether program_invocation_short_name is defined... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking whether // is distinct from /... (cached) no
checking for error_at_line... yes
checking whether conversion from 'int' to 'long double' works... yes
checking for working POSIX fnmatch... yes
checking for working getdelim function... yes
checking for getline... yes
checking for working getline function... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether nl_langinfo is declared without a macro... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether locale.h defines locale_t... yes
checking whether struct lconv is properly defined... yes
checking whether setlocale is declared without a macro... yes
checking whether duplocale is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbsrtowcs works... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for mempcpy... (cached) yes
checking whether YESEXPR works... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... (cached) yes
checking for rawmemchr... yes
checking for working re_compile_pattern... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for ssize_t... yes
checking for working stdalign.h... yes
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether gets is declared without a macro... no
checking whether pclose is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... yes
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... yes
checking whether random is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether secure_getenv is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... (cached) yes
checking for strchrnul... yes
checking whether strchrnul works... yes
checking for working strerror function... yes
checking for working strndup... yes
checking for working strnlen... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... yes
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking for ptrdiff_t... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... yes
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... yes
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking whether wcwidth is declared... (cached) yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for stdint.h... (cached) yes
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
checking for objcopy... objcopy
checking for strip... strip
checking for nm... nm
checking for ranlib... ranlib
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
checking if compiling with clang... no
checking for options to compile assembly... 
checking whether -falign-loops works... yes
checking whether -malign-loops works... yes
checking whether -freg-struct-return works... yes
checking for options to get soft-float... -msoft-float
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether -fno-asynchronous-unwind-tables works... yes
checking whether options required for efiemu work... yes
checking for efiemu64 linking format... -melf_x86_64
checking for target linking format... -melf_i386
checking whether option -Qn works... yes
checking whether `gcc' has `-fPIE' as default... no
checking whether `gcc' has `-fPIC' as default... no
checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-mstack-arg-probe'... no
checking if C symbols get an underscore after compilation... no
checking whether target compiler is working... yes
checking whether objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking if __bss_start is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether nm works... yes
checking whether nm accepts -P... yes
checking whether nm accepts --defined-only... yes
checking whether -nostdinc -isystem works... yes
checking whether -Wtrampolines work... yes
checking for freetype-config... no
checking whether byte ordering is bigendian... no
checking for freetype-config... no
checking for fuse_main_real in -lfuse... no
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
checking for lzma_code in -llzma... no
checking libzfs.h usability... no
checking libzfs.h presence... no
checking for libzfs.h... no
checking libnvpair.h usability... no
checking libnvpair.h presence... no
checking for libnvpair.h... no
checking for libzfs_init in -lzfs... no
checking whether ln -s can handle directories properly... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating grub-core/Makefile
config.status: creating grub-core/gnulib/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating util/bash-completion.d/Makefile
config.status: creating stamp-h
config.status: creating config.h
config.status: creating config-util.h
config.status: linking include/grub/i386 to include/grub/cpu
config.status: linking include/grub/i386/pc to include/grub/machine
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
*******************************************************
GRUB2 will be compiled with following components:
Platform: i386-pc
With devmapper support: No (need libdevmapper header)
With memory debugging: No
With disk cache statistics: No
With boot time statistics: No
efiemu runtime: Yes
grub-mkfont: No (need freetype2 library)
grub-mount: No (need FUSE library)
starfield theme: No (No build-time grub-mkfont)
With libzfs support: No (need zfs library)
Build-time grub-mkfont: No (need freetype2 library)
Without unifont (no build-time grub-mkfont)
Without liblzma (no support for XZ-compressed mips images) (need lzma library)
*******************************************************
─( 17:37:58 )─< ~/git/grub >────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 0 ]─
root at nauhp # make -j
[… a lot of things happens]
make[1]: Leaving directory '/root/git/grub'
─( 17:38:59 )─< ~/git/grub >────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 0 ]─
root at nauhp # ./grub-install --boot-directory=/mnt/test/boot --directory=grub-core /dev/dm-4
Installing for i386-pc platform.
../grub-install: warning: cannot open directory `/usr/local/share/locale': Aucun fichier ou dossier de ce type.
File descriptor 3 (pipe:[15875294]) leaked on vgs invocation. Parent PID 9119: ./grub-install
File descriptor 3 (pipe:[15873648]) leaked on vgs invocation. Parent PID 9119: ./grub-install
File descriptor 4 (pipe:[15875326]) leaked on vgs invocation. Parent PID 9119: ./grub-install
Installation finished. No error reported.
─( 17:43:05 )─< ~/git/grub >────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(git)─[grub/master]─[ 0 ]─
root at nauhp # 



More information about the Pkg-grub-devel mailing list