[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689942: I also was bitten



I also just ran into this:

Failed to perform requested operation on package.  Trying to recover:
Setting up initramfs-tools (0.115) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.115) ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.2.0-4-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
Press Return to continue.


On Mon 08 Oct 2012, maximilian attems wrote:
> On Mon, Oct 08, 2012 at 09:39:15AM +0200, Martin Schuster (IFKL IT OS DS CD) wrote:
> > The workaround given in the error message does not work
> > (MODULES=most is already set),
> 
> No it is not, to double check use:
> 
> grep -r MODULES /etc/initramfs-tools/

$ grep -r MODULES /etc/initramfs-tools/
/etc/initramfs-tools/conf.d/driver-policy:MODULES=dep
/etc/initramfs-tools/initramfs.conf:# MODULES: [ most | netboot | dep | list ]
/etc/initramfs-tools/initramfs.conf:MODULES=most

I never touched these, I would have expected both places to have "most".

> your handcrafted fstab looks wrong.

My fstab is:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda2 during installation
UUID=5b8c8734-cf1d-4068-bcf6-5011b626a6bf /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=770dffdd-e36b-4cb1-916a-80cf05c231dd /boot           ext2    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=c4b06c62-ebb3-438a-b2a9-416163f748b7 none            swap    sw              0       0
UUID=946872bf-b1e8-43e2-b68c-62a812dc7902       /media/internaldisk     ext4    errors=remount-ro,user_xattr 0       2
UUID=52fdaed3-8359-46e5-954b-28eea00c49c0       /media/ext      ext4    noauto,user,errors=remount-ro,user_xattr 0       2
/media/internaldisk/archive     /media/archive  ard-is-gek      rbind   0       0


First part of /etc/mtab is:

rootfs / rootfs rw 0 0
/dev/root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0


There *is* an entry in /dev/disk/by-uuid for my root device:

$ ls -l /dev/disk/by-uuid/5b8c8734-cf1d-4068-bcf6-5011b626a6bf
lrwxrwxrwx 1 root root 10 Apr  1 12:01 /dev/disk/by-uuid/5b8c8734-cf1d-4068-bcf6-5011b626a6bf -> ../../sda2



Paul


Reply to: