Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84841 - libgpm in /usr/lib, when ncurses compiled with gpm, no boot may be possible due to lvm (which depends on ncurses)
Summary: libgpm in /usr/lib, when ncurses compiled with gpm, no boot may be possible d...
Status: RESOLVED DUPLICATE of bug 84840
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 03:17 UTC by Tobias C. Rittweiler
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias C. Rittweiler 2005-03-11 03:17:59 UTC
When using LVM and /usr is on a LV, a proper system start is not possible in
case that ncurses had been built with GPM support. This is because LVM depends
on ncurses which again depends on GPM: As `libgpm' is installed into /usr/lib
which is not available at boot time, the boot process will fail.

Once you actually tried to boot into the new system, you will be confronted with
a b0rken system that you can't easily (as in non-trivially) repair. For the case
that anyone reads this who is in search for a solution, here is how I fixed my
system:

I booted from the live cd, loaded in the device mapper module (modprobe dm-mod),
initialized LVM and activated the necessary VGs (vgchange -ay), mounted the
necessary LVs to their right place in /chroot/ (e.g. /dev/vg-FOO/usr to
/chroot/usr), chrooted into that directory and emerged ncurses from there. But
beware that you have to turn off gpm support (for example, by USE=-gpm emerge
ncurses).

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Comment 1 Tobias C. Rittweiler 2005-03-11 03:21:20 UTC
Sorry, I refreshed my browser unintentionally and thus this Bug is the Same as #84840. This one can and should be deleted.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-03-11 07:53:35 UTC

*** This bug has been marked as a duplicate of 84840 ***