Quoting Konstantinos Agouros <[email protected]>:
Hi,
I have a VM with a gentoo guest. For testing I set it up with an LVM
Volume Group that consisted of only one disk. Now I added a 2nd resized
the FS but lilo stopped working. When I call it I get:
# lilo
device-mapper: table ioctl failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed
/boot is also on the LVM volume.
Is maybe grub the answer to my problem?
Sorry for the late reply, I am way back on this list reading :)
I have the same exact problem that I haven't been able to investigate
yet, calling lilo gives me:
device-mapper: table ioctl failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) fail
The funny thing is that I can workaround that chrooting from a livecd,
and invoking lilo from that, as described in the gentoo handbook.
The other funny thing is that this problem happens randomly, for
example last week, I upgraded my kernel, run lilo from my system and
it worked. If I try today it doesn't, but may work in a few days... I
really don't know how to explain that, anyway I always keep a livecd
around, just in case.
Should you switch to grub? I don't know, for me is not an option since
I'm running a triple boot (osx, windows, and gentoo) on a macbook, and
my gentoo partition is under lvm (root included since I cannot create
anymore physical partitions) and last time I checked, grub-static
(yes, it's a no-multilib profile), didn't support booting directly
from an lvm partition.
--
TopperH
http://topperh.ath.cx
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.