Bug#666173: initramfs-tools: update-initramfs -u fails to execute
Package: initramfs-tools
Version: 0.101
Severity: important
Dear Maintainer,
I get the following error:
~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.2.6
/root/rootfs: No such file or directory
mkinitramfs: for root /root/rootfs missing /root/rootfs /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.2.6 with 1.
~# grep ^MODULES /etc/initramfs-tools/initramfs.conf
MODULES=most
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 3.2M Jan 30 13:01 /boot/initrd.img-2.6.32-5-amd64
-- /proc/cmdline
auto BOOT_IMAGE=Current ro root=/dev/mapper/main-root
-- resume
RESUME=/dev/mapper/main-swap
-- /proc/filesystems
ext4
ext2
fuseblk
-- lsmod
Module Size Used by
usb_storage 43831 0
uas 13296 0
ipt_MASQUERADE 12594 1
iptable_nat 12928 1
nf_nat 18242 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 14078 3 iptable_nat,nf_nat
nf_conntrack 56816 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
iptable_filter 12536 1
ip_tables 22042 2 iptable_nat,iptable_filter
x_tables 19037 4 ipt_MASQUERADE,iptable_nat,iptable_filter,ip_tables
microcode 25793 0
acpi_cpufreq 12935 1
mperf 12453 1 acpi_cpufreq
cpufreq_userspace 12576 0
cpufreq_conservative 13147 0
cpufreq_stats 12866 0
cpufreq_powersave 12454 0
hdaps 13616 1
thinkpad_ec 12857 1 hdaps
bnep 17567 2
rfcomm 33664 12
binfmt_misc 12957 1
uinput 17440 1
nfsd 215954 2
nfs 312063 0
lockd 67328 2 nfsd,nfs
fscache 36786 1 nfs
auth_rpcgss 37243 2 nfsd,nfs
nfs_acl 12511 2 nfsd,nfs
sunrpc 177710 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
kvm_intel 118023 0
kvm 292153 1 kvm_intel
tun 18337 3
fuse 61984 3
ext2 59194 1
coretemp 12898 0
loop 22647 0
i2400m_usb 30366 0
i2400m 87721 1 i2400m_usb
wimax 26451 1 i2400m
snd_hda_codec_hdmi 30783 1
qcserial 12450 0
usb_wwan 17238 1 qcserial
snd_hda_codec_conexant 45245 1
usbserial 32061 2 qcserial,usb_wwan
btusb 17462 1
bluetooth 119348 23 bnep,rfcomm,btusb
uvcvideo 57744 0
videodev 70889 1 uvcvideo
media 18148 2 uvcvideo,videodev
v4l2_compat_ioctl32 16619 1 videodev
snd_hda_intel 26305 2
i915 351916 8
snd_hda_codec 78100 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
drm_kms_helper 27227 1 i915
thinkpad_acpi 61270 0
snd_hwdep 13194 1 snd_hda_codec
joydev 17190 0
arc4 12458 2
drm 167784 4 i915,drm_kms_helper
snd_pcm 63838 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq 45015 0
snd_timer 22885 2 snd_pcm,snd_seq
snd_seq_device 13176 1 snd_seq
snd 52818 14 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,thinkpad_acpi,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
iwlwifi 162607 0
i2c_algo_bit 12841 1 i915
i2c_i801 16870 0
i2c_core 23876 6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
soundcore 13065 1 snd
mac80211 192665 1 iwlwifi
iTCO_wdt 17045 0
iTCO_vendor_support 12704 1 iTCO_wdt
snd_page_alloc 13003 2 snd_hda_intel,snd_pcm
tpm_tis 17454 0
tpm 17862 1 tpm_tis
intel_ips 17603 0
cfg80211 137140 2 iwlwifi,mac80211
rfkill 18972 5 wimax,bluetooth,thinkpad_acpi,cfg80211
battery 13109 0
ehci_hcd 40175 0
e1000e 120870 0
usbcore 124254 10 usb_storage,uas,i2400m_usb,qcserial,usb_wwan,usbserial,btusb,uvcvideo,ehci_hcd
ac 12624 0
wmi 13243 0
usb_common 12354 1 usbcore
nvram 12997 1 thinkpad_acpi
tpm_bios 12948 1 tpm
power_supply 13475 2 battery,ac
pcspkr 12579 0
evdev 17486 18
psmouse 64413 0
serio_raw 12889 0
video 17628 1 i915
processor 28059 1 acpi_cpufreq
button 12937 1 i915
ext4 351023 1
mbcache 13065 2 ext2,ext4
jbd2 62187 1 ext4
crc16 12343 2 bluetooth,ext4
sha256_generic 16797 2
dm_crypt 22634 1
dm_mod 63695 9 dm_crypt
sd_mod 36136 4
crc_t10dif 12348 1 sd_mod
ahci 24997 3
libahci 22860 1 ahci
libata 140553 2 ahci,libahci
scsi_mod 162507 4 usb_storage,uas,sd_mod,libata
thermal 17383 0
thermal_sys 18040 3 video,processor,thermal
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = 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
-- /etc/crypttab
sda6_crypt UUID=c72ca0eb-7e28-4e35-9fac-7f63b2e87abb none luks
-- /sys/block
dm-0
dm-1
dm-2
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sdb
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fuse
keymap
klibc
loopaes
lvm2
ntfs_3g
thermal
udev
uswsusp
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (700, 'testing'), (650, 'stable'), (600, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-7
ii klibc-utils 2.0~rc3-1
ii module-init-tools 3.16-1
ii udev 175-3.1
Versions of packages initramfs-tools recommends:
ii busybox 1:1.19.3-5
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.99-3
-- no debconf information
Reply to: