lenny+amd64
Hi !
I just upgraded live-helper on my amd64/lenny machine.
I created a fresh directory, and ran as root :
# lh_config
# lh_build
It seemed to work, and I got a binary.iso file.
But with
% sudo qemu -m 256 -cdrom binary.iso -boot d
I got the message :
Your cpu doesn't support long mode. Use a 32-bit distribution.
Yet :
pier at da64~% uname -a
Linux da64 2.6.22-2-amd64 #1 SMP Thu Aug 30 23:43:59 UTC 2007 x86_64 GNU/Linux
----- /proc/cpuinfo -----
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 47
model name : AMD Athlon(tm) 64 Processor 3500+
stepping : 0
cpu MHz : 2211.340
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm
bogomips : 4425.35
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
I created another fresh directory, and changed :
LH_LINUX_FLAVOURS="i386" in config/chroot
LH_ARCHITECTURE="i386" in config/bootstrap
after lh_config
Then the binary doesn't build
log file :
P: Begin caching bootstrap stage...
P: Begin bootstrapping system...
W: skipping bootstrap
P: Begin caching bootstrap stage...
P: Begin caching chroot stage...
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/debian_chroot
/usr/bin/lh_chroot_debianchroot: line 59: chroot/etc/debian_chroot: Aucun fichier ou r?pertoire de ce type
P: Configuring file /sbin/start-stop-daemon
mv: ne peut ?valuer `chroot/sbin/start-stop-daemon': Aucun fichier ou r?pertoire de ce type
P: Configuring file /usr/sbin/policy-rc.d
/usr/bin/lh_chroot_sysv-rc: line 59: chroot/usr/sbin/policy-rc.d: Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/hosts
/usr/bin/lh_chroot_hosts: line 60: chroot/etc/hosts: Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/resolv.conf
cp: ne peut cr?er le fichier r?gulier `chroot/etc/resolv.conf': Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/hostname
mv: ne peut ?valuer `chroot/bin/hostname': Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/apt/apt.conf
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Configuring file /etc/kernel-img.conf
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin executing preseed...
P: Begin executing locale preseed...
P: Begin installing tasks...
P: Begin installing packages lists...
/usr/bin/lh_chroot_packageslists: line 60: chroot/root/standard: Aucun fichier ou r?pertoire de ce type
P: Begin installing packages...
P: Begin installing local packages lists...
P: Begin installing local packages...
P: Begin installing localization packages...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin copying chroot local includes...
P: Configuring package sysvinit
P: Begin executing hooks...
P: Begin executing local hooks...
P: Begin executing hacks...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Deconfiguring file /etc/kernel-img.conf
P: Deconfiguring file /etc/apt/sources.list
P: Deconfiguring file /etc/apt/apt.conf
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
mv: ne peut ?valuer `chroot/bin/hostname.orig': Aucun fichier ou r?pertoire de ce type
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
P: Deconfiguring file /usr/sbin/policy-rc.d
P: Deconfiguring file /sbin/start-stop-daemon
mv: ne peut ?valuer `chroot/sbin/start-stop-daemon.orig': Aucun fichier ou r?pertoire de ce type
P: Deconfiguring file /etc/debian_chroot
P: Begin mounting /sys...
P: Begin mounting /proc...
P: Begin caching chroot stage...
P: Begin copying chroot...
P: This may take a while.
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
mv: ne peut ?valuer `chroot/bin/hostname': Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin building root filesystem image...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin creating manifest...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin install linux-image...
cp: ne peut ?valuer `chroot/boot/vmlinuz-*': Aucun fichier ou r?pertoire de ce type
P: Begin installing memtest...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin installing syslinux...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Begin installing disk information...
P: Begin copying binary includes...
P: Begin copying binary local includes...
P: Begin executing local hooks...
P: Begin creating binary md5sum.txt...
P: Begin building binary iso image...
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
mv: ne peut ?valuer `chroot/bin/hostname.orig': Aucun fichier ou r?pertoire de ce type
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
P: Begin mounting /sys...
P: Begin mounting /proc...
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
mv: ne peut ?valuer `chroot/bin/hostname': Aucun fichier ou r?pertoire de ce type
P: Configuring file /etc/apt/sources.list
chroot: cannot run command `/usr/bin/env': No such file or directory
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
mv: ne peut ?valuer `chroot/bin/hostname.orig': Aucun fichier ou r?pertoire de ce type
P: Deconfiguring file /etc/resolv.conf
P: Deconfiguring file /etc/hosts
"Aucun fichier ou r?pertoire de ce type" means
"No such file or directory"
Did I something wrong ?
--
Pierre Meurisse
Reply to: