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

Bug#394193: initramfs-tools: root file system fails to mount when mounting by a label, on top of an md device.



reassign 394193 mdadm
stop

On Fri, 20 Oct 2006, Chris Andrews wrote:

> 
> Booting via disk-labels when your root-label is on a md device, results
> in the system hanging at "Waiting for root file system..." untill it times
> out.
> 
> At this point there are no /dev/disk/by-label enteries for the md devices,
> and running a udevtrigger will populate it. 

for any usual block device this done by udevd already.
as md creates it's own devices it probably needs the udevtrigger.
 
> Ive attached my quick fix to te problem. (aka quick hack)
> 
> /ca 
> 
> --- /root/foo/debian/usr/share/initramfs-tools/scripts/local    2006-09-04 07:44:02.000000000 -0400
> +++ /usr/share/initramfs-tools/scripts/local    2006-10-20 01:50:57.000000000 -0400
> @@ -6,6 +6,8 @@
>         [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
>         run_scripts /scripts/local-top
>         [ "$quiet" != "y" ] && log_end_msg
> +       log_begin_msg "Running UdevTrigger to populate /dev/disk/by-label/ ..."
> +       /sbin/udevtrigger
>  
>         # If the root device hasn't shown up yet, give it a little while
>         # to deal with removable devices
> 
> 
> -- Package-specific info:
> -- /proc/cmdline
> root=LABEL=roland ro 
> 
> 
> Versions of packages initramfs-tools depends on:
> ii  busybox                       1:1.1.3-3  Tiny utilities for small and embed
> ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
> ii  klibc-utils                   1.4.27-1   small statically-linked utilities 
> ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
> ii  udev                          0.100-2    /dev/ and hotplug management daemo

-- 
maks



Reply to: