Package: initramfs-tools
Version: 0.51
Severity: important

/scripts/local says this on boot:

  ALERT!: /dev/hde1 does not exist.  Dropping to a shell!

and then drops me to a shell.  "ls -l /dev/hde1" in shell shows 
/dev/hde1 *does* exist.  Exiting the shell (even without doing anything) 
allows the boot to continue normally.

The following kludgy patch (and regenerating the ramdisk) fixes the 
problem for me - I guess /scripts/local is run before the disks are 
completely done probing or something?

I can't help thinking a proper check that things are ready for mounting 
would be a better fix than an arbitrary sleep, but I'm not certain 
how...

--- /home/ivan/local.old        2006-02-15 16:16:59.000000000 -0800
+++ /usr/share/initramfs-tools/scripts/local    2006-02-15 
16:16:36.000000000 -0800
@@ -7,6 +7,7 @@
        run_scripts /scripts/local-top
        [ "$quiet" != "y" ] && log_end_msg
 
+        sleep 2
        # Get the root filesystem type
        while [ ! -e "${ROOT}" ]; do
                panic "ALERT!  ${ROOT} does not exist.  Dropping to a shell!"


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-10     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.2.2-1    small statically-linked utilities 
ii  udev                          0.084-4    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


-- 
_ivan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to