Bug#627808: /init: 239: mv: not found
Package: initramfs-tools
Version: 0.99
Severity: normal
After installing initramfs-tools 0.99, the following error message
started appearing very early in the boot process:
/init: 239: mv: not found
Fortunately, the system still boots.
Unpacking /boot/initrd.img-2.6.38-2-amd64 showed that line 239 of the
init script is at the end of an "if" block containing two mv commands
related to /run and udev.
After installing busybox (which initramfs-tools recommends but does not
require) and running "update-initramfs -u", the error message vanished.
I do not pretend to understand how the initrd system works, but if
busybox is now required I guess that initramfs-tools should depend on
it. If not, this may be a bug.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 2.4M May 24 18:01 /boot/initrd.img-2.6.38-2-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-amd64 root=UUID=0b7e18a7-8daa-400b-b785-77e83e31f0a9 ro quiet
-- resume
RESUME=UUID=b63932f9-3f86-4f3f-94a0-2e1d84b9e7c6
-- /proc/filesystems
ext3
fuseblk
-- lsmod
Module Size Used by
ppdev 12725 0
lp 17190 0
fuse 61520 1
loop 22515 0
firewire_sbp2 17825 0
option 24802 0
usb_wwan 17206 1 option
usbhid 39900 0
sg 25769 0
hid 72616 1 usbhid
sr_mod 21824 0
cdrom 35134 1 sr_mod
radeon 717227 2
snd_intel8x0 30802 1
snd_ac97_codec 106189 1 snd_intel8x0
ttm 52155 1 radeon
firewire_ohci 30887 0
drm_kms_helper 26893 1 radeon
usbserial 31986 2 option,usb_wwan
drm 165567 4 radeon,ttm,drm_kms_helper
ohci_hcd 26400 0
ehci_hcd 39529 0
firewire_core 47683 2 firewire_sbp2,firewire_ohci
ac97_bus 12510 1 snd_ac97_codec
natsemi 30961 0
pata_amd 13276 0
snd_pcm 67327 2 snd_intel8x0,snd_ac97_codec
skge 40243 0
usbcore 122908 7 option,usb_wwan,usbhid,usbserial,ohci_hcd,ehci_hcd
i2c_nforce2 12584 0
i2c_algo_bit 12834 1 radeon
power_supply 13475 1 radeon
floppy 56861 0
snd_seq 44678 0
crc_itu_t 12347 1 firewire_core
shpchp 31221 0
snd_timer 22658 2 snd_pcm,snd_seq
snd_seq_device 13155 1 snd_seq
snd 52280 8 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 13014 1 snd
tpm_tis 13125 0
evdev 17475 7
i2c_core 23725 5 radeon,drm_kms_helper,drm,i2c_nforce2,i2c_algo_bit
edac_core 35344 0
edac_mce_amd 17103 0
pcspkr 12579 0
k8temp 12531 0
pci_hotplug 26711 1 shpchp
parport_pc 22191 1
parport 31650 3 ppdev,lp,parport_pc
tpm 17756 1 tpm_tis
tpm_bios 12903 1 tpm
snd_page_alloc 12969 2 snd_intel8x0,snd_pcm
serio_raw 12878 0
nls_base 12753 1 usbcore
processor 27431 0
button 12994 0
ext3 112218 2
jbd 41698 1 ext3
mbcache 12930 1 ext3
sd_mod 35501 4
crc_t10dif 12348 1 sd_mod
sata_nv 26519 3
ata_generic 12479 0
libata 147240 3 pata_amd,sata_nv,ata_generic
scsi_mod 161457 5 firewire_sbp2,sg,sr_mod,sd_mod,libata
fan 12674 0
thermal 17330 0
thermal_sys 17939 3 processor,fan,thermal
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /sys/block
fd0
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sr0
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
thermal
udev
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-7 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1+b1 utilities for finding files--find,
ii klibc-utils 1.5.22-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 167-3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-10 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.3-1 programmable completion for the ba
-- no debconf information
Reply to: