Skip to content

Final installation path instructions and tips #2

@dashesy

Description

@dashesy

on CoreOS, /lib64/, /usr/lib64/ and co. all reside on a read-only filesystem. You might need to create a new directory elsewhere and its location listed in a file under /etc/ld.so.conf.d/

  1. There is no /etc/ld.so.conf.d in 1298.5.0, only /etc/ld.so.conf is a symlink to /usr/lib/ld.so.conf which is mounted in readonly filesystem

There was a similar problem was with .bashrc ! the solution is to remove the link and replace it with the actual file)
I created a /opt/bin and /opt/lib64 but ldconfig complained about libEGL.so.1 which I made it s symlink

sudo ln -sfT libEGL.so.375.20 /opt/lib64/libEGL.so.1
  1. What about the kernel modules?
    sudo mkdir -p /opt/lib64/modules/4.9.9-coreos-r1/kernel

But modprobe will not be able to find them, because it is non-standard path (insmod should work).
I wonder if it is simpler to re-mount the drive as rw and copy the kernel modules and all, rather than trying to install in /opt and work around issues.

creating device nodes under /dev/

Do you mean after modprobe or perhaps insmod?



From [here](https://groups.google.com/forum/#!topic/coreos-user/s9Sy_gBl94o):
> Kernel modules can be installed under `/opt/lib/modules/$(uname -r)/` as long as 
you use `--dirname /opt` when calling modprobe. 

So now I only need to use udev, otherwise will have to resort to [manually adding the nodes](https://gist.githubusercontent.com/tleyden/74f593a0beea300de08c/raw/95ed93c5751a989e58153db6f88c35515b7af120/nvidia_devices.sh) (,[same](http://askubuntu.com/a/748905/103961))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions