Problems with LILO in a chroot environment
If you get a problem similar to this one when you run /sbin/lilo in a chroot environment:
/proc/devices: fopen failed: No such file or directory
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
/proc/devices: fopen failed: No such file or directory
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.01.03 (2005-06-13)(compat) and kernel driver
Fatal: open /dev/hda: Permission denied
you want to try the following outside your chroot, of course:
mount /proc /mnt/hda1/proc --bind
mount /dev /mnt/hda1/dev --bind
Adjust this to fit your drive mappings. What does it do? See "man mount" :-)
Now chroot again and run lilo. Works for me.
0 Comments:
Kommentar veröffentlichen
<< Home