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

Bug#375786: initramfs-tools: Volume group not activated with LILO



Package: initramfs-tools
Version: 0.65b
Severity: important
Tags: patch

Hi.

It appears that the new volume group activation code doesn't work with LILO.
The culprit is that LILO's fe00 is substituted for /dev/root.

I have attached a patch that should fix this behaviour to be correct. I have
inspected 0.60 (from testing) and this patch appears to make us conform more
closely to how it worked there (where fe00 and /dev/root worked apparently).

Thanks,
Christian

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

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-1  Tiny utilities for small and embed
ii  cpio                          2.6-13     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.3.35-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information
--- /tmp/ext/usr/share/initramfs-tools/scripts/local-top/lvm 
+++ /usr/share/initramfs-tools/scripts/local-top/lvm 
@@ -30,6 +30,10 @@
 		vgchange -ay
 		exit 0
 		;;
+        /dev/root)
+		vgchange -ay
+		exit 0
+		;;
 	esac
 
 	# Make sure that we have a d-m path

Reply to: