Closed Solid-Freeman closed 3 years ago
Hello, you need to disable winesync
in customization.cfg
as only one kernel at a time can be installed with it. You probably aren't using winesync anyway.
Cheers
You can install it this (horrible) way: sudo pacman -U tkg-pds182.pkg.tar.zst --overwrite=''
But removing any kernel (which includes these) will remove them for others. I think these configuration files should not be included in kernel package, but instead have its own.
Yeah, you can't have two kernels installed side by side with built-in winesync support enabled. Using the dkms driver instead is the recommended way (as detailed in the prompt at build time).
sorry guys im new here about kernel i need more details using linux manjaro and how can i disable winesync !
You edit this line and change it to _winesync="false"
in the file customization.cfg
that is in the same folder where you ran makepkg -si
in your first message. And this time you run makepkg -fsi
You edit this line and change it to
_winesync="false"
in the filecustomization.cfg
that is in the same folder where you ranmakepkg -si
in your first message. And this time you runmakepkg -fsi
still getting same error
Please attach your customization.cfg file and the entire output on your terminal here, by saving it in a text file then drag & dropping it where you write your answer.
Please attach your customization.cfg file and the entire output on your terminal here, by saving it in a text file then drag & dropping it where you write your answer.
i think i edit the wrong file ! did this now that's the result :) anyway thanks i should reboot with the new kernel
Awesome! Enjoy your new kernel. If you don't have any more questions, don't forget to close the issue :)
Awesome! Enjoy your new kernel. If you don't have any more questions, don't forget to close the issue :)
One thing how can I boot with new kernel in advanced tab
Only showin those two
Oh, you need to update your GRUB boot entries: sudo grub-mkconfig -o /boot/grub/grub.cfg
Oh, you need to update your GRUB boot entries:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Did this command on terminal nothing happened grub is empty :/ in manjaro
Must be some Manjaro shenanigans, can you give me the output of your terminal, always do that when you get issues. And give me the output of ls /boot
this one ?
Yes! You can just copy the output text and attach it between ``` ```
Now, what's the error you get with the grub-mkconfig
command ?
i dont know what to copy but here xD
efi initramfs-linux514-tkg-cfs.img
grub intel-ucode.img
initramfs-5.10-x86_64-fallback.img linux510-x86_64.kver
initramfs-5.10-x86_64.img memtest86+
initramfs-linux513-tkg-cfs-fallback.img vmlinuz-5.10-x86_64
initramfs-linux513-tkg-cfs.img vmlinuz-linux513-tkg-cfs
initramfs-linux513-tkg-pds-fallback.img vmlinuz-linux513-tkg-pds
initramfs-linux513-tkg-pds.img vmlinuz-linux514-tkg-cfs
initramfs-linux514-tkg-cfs-fallback.img
[solidfreeman@SolidFreeeman ~]$ ```
[SolidFreeeman solidfreeman]# grub-mkconfig
/etc/default/grub: line 60: ^T: command not found
[SolidFreeeman solidfreeman]# sudo grub-mkconfig -o /boot/grub/grub.cfg
/etc/default/grub: line 60: ^T: command not found
[SolidFreeeman solidfreeman]#
Thanks !
Here's your issue:
[SolidFreeeman solidfreeman]# sudo grub-mkconfig -o /boot/grub/grub.cfg
/etc/default/grub: line 60: ^T: command not found
Have you edited by hand the file /etc/default/grub
?
yeah i guess so i add some command for TSX with a nano
You made a syntax mistake while doing so, probably. Can you attach that file ?
the /etc/default/grub ? it says we dont use that support file
Yes, I can help you fix the syntax error there so grub-mkconfig
successfully completes
Yes, I can help you fix the syntax error there so
grub-mkconfig
successfully completes
is there any way to send this Grub file here ?
You can attach it here by first copying it to your home folder, sudo cp /etc/default/grub ~/
then drag and drop it in your text reply here in GitHub, using your file manager. The file will simply be called grub
and its icon probably has a lock on it.
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 tsx=on tsx_async_abort=off mitigations=off security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_THEME="/usr/share/grub/themes/Vimix/theme.txt"
^T
T
^t
Okay remove those ^T
, T
and ^t
that are the end of the file and retry the grub-mkconfig -o ...
command
got this
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/Vimix/theme.txt
Found linux image: /boot/vmlinuz-linux514-tkg-cfs
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux514-tkg-cfs.img
Found initrd fallback image: /boot/initramfs-linux514-tkg-cfs-fallback.img
Found linux image: /boot/vmlinuz-linux513-tkg-pds
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux513-tkg-pds.img
Found initrd fallback image: /boot/initramfs-linux513-tkg-pds-fallback.img
Found linux image: /boot/vmlinuz-linux513-tkg-cfs
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux513-tkg-cfs.img
Found initrd fallback image: /boot/initramfs-linux513-tkg-cfs-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
Okay, you didn't save your changes after removing those characters at the end of /etc/default/grub
. Do sudo nano /etc/default/grub
to open nano
on that file, remove those weird lines at the end. Then save with ctrl+x
. The grub-mkconfig
command is only this one sudo grub-mkconfig -o /boot/grub/grub.cfg
. I was writing the other commands just as a shorthand for this long one
Oh okay you are good now ! You can restart 👯♂️
Oh okay you are good now ! You can restart 👯♂️
Now I can see the kenerls but when I hit one of them I get this
That's normal, just filesystem check. You get to the login screen after right ?
That's normal, just filesystem check. You get to the login screen after right ?
I can't get a in login screen or it will take sometime ?
You have and Nvidia GPU ?
You have and Nvidia GPU ?
Yeah gtx 1660 ti
Okay you need to make sure the driver package that you have installed for it is called nvidia-dkms
. If not replace your current one with nvidia-dkms
Okay you need to make sure the driver package that you have installed for it is called
nvidia-dkms
. If not replace your current one withnvidia-dkms
did this :) now it's working :)
Restart in the kernel that works, open your software center and look for Nvidia packages. See if you can find a dkms version ?
Restart in the kernel that works, open your software center and look for Nvidia packages. See if you can find a dkms version ?
adel thank you very much u saved me :)
Happy to help ! ☺️ So everything is working, each kernel version ?
Happy to help ! ☺️ So everything is working, each kernel version ?
Like a charm😍😍❤️❤️❤️ thank you again
Amazing ! Enjoy your shiny new linux-tkg kernels ! Have you joined the Frogging-Family Discord ? You can get help for your future problems more easily : https://discord.gg/jRy3Nxk
Happy to help ! ☺️ So everything is working, each kernel version ?
Everything is working except the last one 5.14 same thing Nvidia driver need to be installed on it :)
[solidfreeman@SolidFreeeman linux-tkg]$ makepkg -si .---.
-+shdNNNNNNNNNNNNNNNdhs+-
.-:///////:-.` -> Defaulting to Archlinux target
`.---.
/syhhhyso- -osyhhhys/.syNMdhNNhss/``.---.``/sshNNhdMNys. +sdMh.
+MNsssssssssssssssNM+.hMds+ :syNNdhNNhssssssssssssssshNNhdNNys: /ssyhhhysssssssssssssssssyhhhyss/ .ossssssssssssssssssssssssssssso. :sssssssssssssssssssssssssssssssss: /sssssssssssssssssssssssssssssssssss/ Linux-tkg :sssssssssssssoosssssssoosssssssssssss: kernels osssssssssssssoosssssssoossssssssssssso osssssssssssyyyyhhhhhhhyyyyssssssssssso /yyyyyyhhdmmmmNNNNNNNNNNNmmmmdhhyyyyyy/ smmmNNNNNNNNNNNNNNNNNNNNNNNNNNNNNmmms /dNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd/
:sdNNNNNNNNNNNNNNNNNNNNNNNNNds:-> Which kernel version do you want to install? 0) 5.14.rc2
Packages (2) linux513-tkg-pds-5.13.4-182 linux513-tkg-pds-headers-5.13.4-182
Total Installed Size: 254.23 MiB
:: Proceed with installation? [Y/n] y (2/2) checking keys in keyring [######################] 100% (2/2) checking package integrity [######################] 100% (2/2) loading package files [######################] 100% (2/2) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) linux513-tkg-pds: /etc/modules-load.d/winesync.conf exists in filesystem (owned by linux513-tkg-cfs) linux513-tkg-pds: /etc/udev/rules.d/winesync.rules exists in filesystem (owned by linux513-tkg-cfs) linux513-tkg-pds: /usr/include/linux/winesync.h exists in filesystem (owned by linux513-tkg-cfs) Errors occurred, no packages were upgraded. ==> WARNING: Failed to install built package(s). -> exit cleanup done