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

Bug#585852: Incorrect boot= in lilo.conf after UUID conversion with /boot on LVM



Subject: linux-base: postinst added wrong UUID to /etc/lilo.conf
Package: linux-base
Version: 2.6.32-15
Severity: normal

During the installation of linux-base it offered to switch my configs to
UUIDs. This worked well in /etc/fstab but didn't so for lilo.conf:

  #boot = /dev/sda3
  boot = "/dev/disk/by-uuid/azgLkk-WOjh-iwxd-eSUK-32a9-qEVm-Q7CIBJ"

which doesn't exist:

  $ ls -l /dev/disk/by-uuid/azgLkk-WOjh-iwxd-eSUK-32a9-qEVm-Q7CIBJ
  ls: cannot access /dev/disk/by-uuid/azgLkk-WOjh-iwxd-eSUK-32a9-qEVm-Q7CIBJ: No such file or directory

And therefore:

  # lilo
  Warning: LBA32 addressing assumed
  Fatal: raid_setup: stat("/dev/disk/by-uuid/azgLkk-WOjh-iwxd-eSUK-32a9-qEVm-Q7CIBJ")

/dev/sda3 is a PV with a VG (internal) on it that keeps the LVs root,
home, swap. The above UUID is the PVs UUID:

  # pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               internal
  PV Size               30,69 GiB / not usable 3,53 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              7857
  Free PE               0
  Allocated PE          7857
  PV UUID               azgLkk-WOjh-iwxd-eSUK-32a9-qEVm-Q7CIBJ

So it seems the script doesn't handle /boot on LVM correctly.
Cheers,
 -- Guido

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

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

Versions of packages linux-base depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  libapt-pkg-perl               0.1.24     Perl interface to libapt-pkg
ii  libuuid-perl                  0.02-3+b1  Perl extension for using UUID inte
ii  udev                          157-1      /dev/ and hotplug management daemo
ii  util-linux                    2.16.2-0   Miscellaneous system utilities

linux-base recommends no packages.

linux-base suggests no packages.

-- debconf information:
  linux-base/disk-id-manual-boot-loader:
  linux-base/disk-id-manual:
* linux-base/disk-id-convert-plan-no-relabel: true
* linux-base/disk-id-convert-auto: true
  linux-base/disk-id-convert-plan: true




Reply to: