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

Bug#249311: lvm root



Martin Michlmayr wrote:
* Eugeniy Meshcheryakov <eugen@univ.kiev.ua> [2004-05-16 21:11]:

This is a bug in lilo-installer. It should not find for 'disc' device if partition is LVM LV. It should not also try to install lilo to LVM LV but, only to one of the disc devices or partition (not LVM LV).


Hold on, what was disc_offered_devfs and disc_offered before you
modified it?


lilo-installer's postinst contains the following:

prefix=$(echo "$bootfs_devfs" | sed 's/\(\/dev\/[a-z]\+\).*/\1/')
disc_offered_devfs=$(find $prefix -name disc | head -n 1)
disc_offered=$(mapdevfs "$disc_offered_devfs")

I created root on /dev/vg00/root. So:

prefix=/dev/vg

other assigments will fail.

--
Eugeniy Meshcheryakov

Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua



Reply to: