public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Momesso Andrea <momesso.andrea@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Lilo vs. LVM
Date: Wed, 13 Oct 2010 13:38:00 +0200	[thread overview]
Message-ID: <20101013133800.4235684p9he5h6v4@momessonet.ath.cx> (raw)
In-Reply-To: <1283609461.568528@rumba>


Quoting Konstantinos Agouros <elwood@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.





      parent reply	other threads:[~2010-10-13 11:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04 14:11 [gentoo-user] Lilo vs. LVM Konstantinos Agouros
2010-09-04 19:07 ` Al
2010-09-05  8:20   ` Konstantinos Agouros
2010-09-04 21:03 ` [gentoo-user] " walt
2010-09-05  8:32   ` Alan McKinnon
2010-10-13 11:38 ` Momesso Andrea [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101013133800.4235684p9he5h6v4@momessonet.ath.cx \
    --to=momesso.andrea@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox