[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



On Mon, 2010-06-14 at 14:03 +0200, Guido Günther wrote:
> 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:
[...]
> /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:
[...]
> So it seems the script doesn't handle /boot on LVM correctly.

It deals just fine with a /boot partition on a LV, but not with a boot
*sector* on a PV.  I had not noticed that PVs appear in the blkid list
but not under /dev/disk/by-uuid.  I'll change the upgrade script to
filter them out.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: