Çözüldü Genkernel komutu .config dosyasını göremiyor

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.

277726

Hectopat
Katılım
3 Eylül 2019
Mesajlar
1.944
Makaleler
4
Çözümler
16
Bash:
genkernel --install --kernel-config=/usr/src/linux-5.15.41-gentoo/.config initramfs

* Gentoo Linux Genkernel; Version 4.2.6
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --install --kernel-config=/usr/src/linux-5.15.41-gentoo/config initramfs
* ERROR: kernel source directory "/usr/src/linux" was not found!

Bash:
ls /usr/src/
linux-5.15.41-gentoo

Bash:
ls /boot
config-5.15.41-gentoo EFI grub mach_kernel System System.map-5.15.41-gentoo vmlinuz-5.15.41-gentoo

Config-5.15.41-Gentoo ile. Config aynı kodları içeriyor.
 
Son düzenleme:
Bu komutu dene; emerge -u gentoo-sources
Bash:
emerge -u gentoo-sources

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
>>> Jobs: 0 of 0 complete                           Load avg: 0.66, 0.79, 0.75
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 
Bash:
emerge -u gentoo-sources

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
>>> Jobs: 0 of 0 complete                           Load avg: 0.66, 0.79, 0.75
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Bu komutları deneyip çıktısını atar mısın.
Kod:
emerge sys-kernel/gentoo-sources
eselect kernel list
 
eselect kernel set 1 genkernel --install --kernel-config=/usr/src/linux-5.15.41-gentoo/.config initramfs

Bash:
genkernel --install --kernel-config=/usr/src/linux-5.15.41-gentoo/.config initramfs
* Gentoo Linux Genkernel; Version 4.2.6
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --install --kernel-config=/usr/src/linux-5.15.41-gentoo/.config initramfs

* Working with Linux kernel 5.15.41-gentoo for x86_64
* Using kernel config file '/usr/src/linux-5.15.41-gentoo/.config' ...

* Current kernel's LOCALVERSION is set to ''; Will ignore set --kernel-localversion value '-x86_64' because kernel was not build ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending devicemanager cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending modules cpio data ...
*                 modules: 0 modules copied. Is that correct?
*         >> Deduping cpio ...
*         >> Pre-generating initramfs' /etc/ld.so.cache ...
*         >> Compressing cpio data (.xz) ...
*
* You will find the initramfs in '/boot/initramfs-5.15.41-gentoo.img'.

* WARNING... WARNING... WARNING...
* Additional kernel parameters that *may* be required to boot properly:

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.

Kerneli kurmuş olmama lazım kernel kurulmamış diyor?

Bash:
/etc/genkernel.conf

# Default location of kernel source

DEFAULT_KERNEL_SOURCE="/usr/src/linux"

Burasını Linux 5.15.41-Gentoo yapıp tekrar mı initramfs çalıştırsam?

Ben kerneli yanlış compile etmişim. Sorunu tekrar kurarak çözdüm ama arkadaşın yapmış olduğu yardım da doğru bir çözüm.
 
Son düzenleme:

Yeni konular

Geri
Yukarı