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

boot + lvm ?



Hello,

I encounter a problem using lvm and lilo.
On standart install, everythings works despite the boot partition is on a logical volum.

But when I try to make a custom kernel and then run a lilo, I get the following message:
device-mapper: table ioctl failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed

Here is my lilo.conf
---------------------------------
boot=/dev/sda
root=/dev/mapper/volume_group1-logical_vol2
map=/boot/map
delay=20

default=Linux
image=/vmlinuz
        label=Linux
        read-only
        initrd=/initrd.img
image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional
        initrd=/initrd.img.old

It seems that the line "root=/dev/mapper/volume_group1-logical_vol2" is the key of the problem.
But how does it works on a standart install.

I suppose I am not obliged to make a /boot partition

If someone can help me ...

Thanks



Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Reply to: