cpio: ./sbin/vol_id No such file or directory

Bug #453911 reported by popov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

while doing initramfs-update:
cpio: ./sbin/vol_id: не удаётся stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.31-14-generic
Failed to create initrd image.
error occurs

lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

ProblemType: Package
Architecture: i386
Date: Sat Oct 17 16:45:42 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 2
Package: linux-image-2.6.31-14-generic 2.6.31-14.48
ProcVersionSignature: Ubuntu 2.6.28-15.52-generic
SourcePackage: initramfs-tools
Title: package linux-image-2.6.31-14-generic 2.6.31-14.48 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 2
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
popov (leha-popov) wrote :
Revision history for this message
popov (leha-popov) wrote :

I found the problem -- it was in a script at /etc/initramfs-tools/scripts/local-top/cryptoroot -- where was a link to vol_id. Just removed it, everything went smooth after that. This scripts was mentioned somewhere in "HOWTO encrypted / partition", someone may have same problem ;)

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Ta'id Holmes (tholmes)
Changed in initramfs-tools (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Ta'id Holmes (tholmes) wrote :

removed manually created files from
https://help.ubuntu.com/community/EncryptedFilesystemOnIntrepid#Set%20up%20the%20initial%20ramdisk
 * /etc/initramfs-tools/hooks/cryptoroot
 * /etc/initramfs-tools/scripts/local-top/cryptoroot

executed
 * cp /usr/share/initramfs-tools/hooks/cryptroot /etc/initramfs-tools/hooks
 * cp /usr/share/initramfs-tools/scripts/local-top/cryptroot /etc/initramfs-tools/scripts/local-top/
 * update-initramfs -u

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.