Re: [gentoo-user] Lilo vs. LVM

2010-10-13 Thread Momesso Andrea


Quoting Konstantinos Agouros elw...@agouros.de:


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.





Re: [gentoo-user] Lilo vs. LVM

2010-09-05 Thread Konstantinos Agouros
In aanlkti=z6rz7umnm3jbcupbvbehpqzt4xsd=l_hfa...@mail.gmail.com 
oss.el...@googlemail.com (Al) writes:

2010/9/4 Konstantinos Agouros elw...@agouros.de:
 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?

A don't think so. Grub has more features comparing lilo. More features
== more complex. Dealing with VM, LVM and lilo is already one level of
complexity to much if you ask.
So how would You solve this?

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



[gentoo-user] Lilo vs. LVM

2010-09-04 Thread Konstantinos Agouros
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?

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] Lilo vs. LVM

2010-09-04 Thread Al
2010/9/4 Konstantinos Agouros elw...@agouros.de:
 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?

A don't think so. Grub has more features comparing lilo. More features
== more complex. Dealing with VM, LVM and lilo is already one level of
complexity to much if you ask.

Al