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

Bug#575498: initramfs-tools: LVM doesn't start when using Labels in grub as rootlocation



Package: initramfs-tools
Version: 0.93.4
Severity: normal

Hello,

I'm using in my grub configuration Labels to point out, where my Rootfs
is located.
This looks like # kopt=root=LABEL=ROOT ro
When the vlm2 initramfs-tools script runs this is translated so that
$ROOT is something like /dev/disk/by-label/ROOT
The script don't activates the vg's so that my root-fs is missing.

I have in the switch statement in the activate_vg function the following
lines appended and now it works (for me):
	
	/dev/disk/by-label*)
		lvm vgchange -aly --ignorelockingfailure
		exit 0
		;;

I hope this can be fixed in the package,
Thanks and best regards
Ingo Rauschenberg


-- Package-specific info:
-- /proc/cmdline
root=LABEL=ROOT ro vga=791

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
loop                   11783  0 
sg                     18728  0 
sr_mod                 12602  0 
cdrom                  29399  1 sr_mod
snd_pcm                60615  0 
snd_timer              15502  1 snd_pcm
joydev                  8411  0 
snd                    46350  2 snd_pcm,snd_timer
soundcore               4598  1 snd
snd_page_alloc          6217  1 snd_pcm
dcdbas                  5048  0 
pcspkr                  1699  0 
psmouse                49505  0 
evdev                   7336  4 
serio_raw               3752  0 
power_meter             8302  0 
processor              30215  16 
ext3                  106486  3 
jbd                    37053  1 ext3
mbcache                 4970  1 ext3
dm_mod                 53674  9 
raid1                  18175  1 
md_mod                 73632  2 raid1
usb_storage            38521  0 
usbhid                 33132  0 
hid                    62825  1 usbhid
ses                     5096  0 
sd_mod                 29689  5 
crc_t10dif              1276  1 sd_mod
enclosure               5471  1 ses
uhci_hcd               18505  0 
igb                    77975  0 
qla2xxx               202926  0 
scsi_transport_fc      35275  1 qla2xxx
megaraid_sas           29052  3 
scsi_tgt                8434  1 scsi_transport_fc
ehci_hcd               30706  0 
scsi_mod              121925  9 sg,sr_mod,usb_storage,ses,sd_mod,qla2xxx,scsi_transport_fc,megaraid_sas,scsi_tgt
dca                     3729  1 igb
usbcore               121703  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
nls_base                6377  1 usbcore
bnx2                   57289  0 
button                  4634  0 
thermal                11674  0 
fan                     3346  0 
thermal_sys            11878  3 processor,thermal,fan

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.11-1      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.15-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre2-1 tools for managing Linux kernel mo
ii  udev                         151-3       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



Reply to: