-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include kernel config file #113
Comments
It seems to be there, for the "default": anders@lima-default:/home/anders$ ls /boot/
System.map-5.15.0-25-generic config-5.15.0-25-generic efi grub initrd.img initrd.img-5.15.0-25-generic initrd.img.old vmlinuz vmlinuz-5.15.0-25-generic vmlinuz.old Maybe you are thinking of alpine-lima ? It uses a "Live CD" boot mechanism, and the kernel config is elsewhere. lima-alpine:/home/anders$ ls /boot
ls: /boot: No such file or directory Currently it is at |
Oh nice, let me verify the For background, my use case is with https://github.com/rancher-sandbox/rancher-desktop, which uses lima to create VM. |
One approach is to use But making the config file configurable is probably also a viable approach, and default to /boot files ? |
It is available at |
Right, seems like the mountpoint changed in 3.15.
Should be the same thing. |
But somehow it isn't: lima-rancher-desktop:~$ more /etc/fstab
/dev/cdrom /media/cdrom iso9660 noauto,ro 0 0
/dev/usbdisk /media/usb vfat noauto,ro 0 0
#LIMA-START
#LIMA-END
lima-rancher-desktop:~$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Jun 2 16:38 /dev/cdrom -> sr0
lima-rancher-desktop:~$ ls /media/cdrom
lima-rancher-desktop:~$ ls /media/sr0
alpine.apkovl.tar.gz apks boot efi |
Indeed confusing.
Wonder who mounts things ? |
I think it is just mkmntdirs
mount -a |
I am not familiar with filesystem setups, but is there a way to ssh to the Lima VM, so that I could manually examine my local VM setup in rancher-desktop? |
I've already replied in rancher-sandbox/rancher-desktop#2324 (comment) |
It's not on cdrom:
It is however, on a different mount (tried as root)
|
Description
IIUC, Lima uses a Ubuntu distro.
Ubuntu has a kernel config file that includes the value of all of the kernel source configuration entries.
Ubuntu puts that file at
/boot/config-$(uname -r)
.Pixie (px.dev) reads this config file at runtime, to determine the right configuration entry for compiling C code to BPF byte code using BCC.
Let me know if I could help with any changes.
The text was updated successfully, but these errors were encountered: