You are not logged in.
I got this error and do not under stand it. I am trying to follow the wiki but have not been successful. I am trying to get gaming running on my laptop that has an nvidia 4070 and decided to try Arch this time
Thanks for any help.
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
/etc/mkinitcpio.conf: line 82: unexpected EOF while looking for matching `"'
==> ERROR: Failed to read configuration '/etc/mkinitcpio.conf'
error: command failed to execute correctlyLast edited by NominalSum (2025-12-03 05:15:28)
Offline
attach that file
curl -F file=@- 0x0.st < /etc/mkinitcpio.confLast edited by system72 (2025-12-03 03:03:38)
Offline
This is the whole input and output.?
[backalley@archlinux ~]$ lspci -k -d ::03xx
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S UHD Graphics (rev 04)
Subsystem: CLEVO/KAPOK Computer Device a650
Kernel driver in use: i915
Kernel modules: i915, xe
01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
Subsystem: CLEVO/KAPOK Computer Device a671
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidia_drm, nvidia
[backalley@archlinux ~]$ lsmod |grep -i "nvi"
[backalley@archlinux ~]$ sudo pacman -Syu
[sudo] password for backalley:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
[backalley@archlinux ~]$ sudo pacman -S linux-headers
warning: linux-headers-6.17.9.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-headers-6.17.9.arch1-1
Total Installed Size: 251.56 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/580.105.08 -k 6.17.9-arch1-1
:: Processing package changes...
(1/1) reinstalling linux-headers [################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod nvidia/580.105.08 -k 6.17.9-arch1-1
==> depmod 6.17.9-arch1-1
[backalley@archlinux ~]$ sudo pacman -S nvidia-utils nvidia-settings
warning: nvidia-utils-580.105.08-5 is up to date -- reinstalling
warning: nvidia-settings-580.105.08-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) nvidia-settings-580.105.08-1 nvidia-utils-580.105.08-5
Total Installed Size: 902.09 MiB
Net Upgrade Size: 0.00 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%
(2/2) checking available disk space [################################] 100%
:: Processing package changes...
(1/2) reinstalling nvidia-utils [################################] 100%
(2/2) reinstalling nvidia-settings [################################] 100%
:: Running post-transaction hooks...
(1/8) Creating system user accounts...
(2/8) Reloading system manager configuration...
(3/8) Restarting marked services...
(4/8) Reloading device manager configuration...
(5/8) Arming ConditionNeedsUpdate...
(6/8) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
/etc/mkinitcpio.conf: line 82: unexpected EOF while looking for matching `"'
==> ERROR: Failed to read configuration '/etc/mkinitcpio.conf'
error: command failed to execute correctly
(7/8) Reloading system bus configuration...
(8/8) Updating the desktop file MIME type cache...
[backalley@archlinux ~]$ sudo pacman -S nvidia-dkms
warning: nvidia-dkms-580.105.08-5 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) nvidia-dkms-580.105.08-5
Total Installed Size: 117.77 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/580.105.08 -k 6.17.9-arch1-1
:: Processing package changes...
(1/1) reinstalling nvidia-dkms [################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia/580.105.08 -k 6.17.9-arch1-1
==> depmod 6.17.9-arch1-1
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
/etc/mkinitcpio.conf: line 82: unexpected EOF while looking for matching `"'
==> ERROR: Failed to read configuration '/etc/mkinitcpio.conf'
error: command failed to execute correctly
[backalley@archlinux ~]$ Offline
https://github.com/archlinux/archinstall/pull/3902 change your /etc/mkinitcpio.conf to remove that
I Have Linux Perl Can i Download Gnome???
Online
attach that file
curl -F file=@- 0x0.st < /etc/mkinitcpio.conf
I input that into the terminal but there was no output.
Offline
system72 wrote:attach that file
curl -F file=@- 0x0.st < /etc/mkinitcpio.confI input that into the terminal but there was no output.
just use code tags and paste it inside of those then
Offline
https://github.com/archlinux/archinstall/pull/3902 change your /etc/mkinitcpio.conf to remove that
I am new to getting this deep into computing and do not understand where to start looking for how to make those changes. I am googling and trying to suss it out, but if you have any resources that may explain it more thatd be awesome. Also, thank you because it does seem like what I need to figure out.
Offline
NominalSum wrote:system72 wrote:attach that file
curl -F file=@- 0x0.st < /etc/mkinitcpio.confI input that into the terminal but there was no output.
just use code tags and paste it inside of those then
This is my output to that line of code .
[backalley@archlinux ~]$ curl -F file=@- 0x0.st < /etc/mkinitcpio.conf
[backalley@archlinux ~]$ Offline
no, paste the files content inside of the code tags. anyways since the problem is related to archinstall this thread belongs in the archinstaller subforum
to fix your issue simply open the /etc/mkinitcpio.conf file with a text editor with root privs and delete the stray characters at the end of the file
here you go https://wiki.archlinux.org/title/Nano
Offline
Arch is installed. Having issues with steam games and saw that nouvea drivers were going and set out to fix that. Which got me here. Is nano like vim? I have edited something with vim before but when I tried to open the curl thing I dont thin k anything happened.
Sorry if Im slow at this. I did get the install running though, so I got that going, which is nice.
Last edited by NominalSum (2025-12-03 03:33:56)
Offline
if you want to use vim then go ahead, the process would be the same.
first open the file:
sudo vim /etc/mkinitcpio.confuse shift+g to go to the bottom, use dd to delete that line, shift+zz to save
if the EOF only contains the 'o"'
Offline
if you want to use vim then go ahead, the process would be the same.
first open the file:
sudo vim /etc/mkinitcpio.confuse shift+g to go to the bottom, use dd to delete that line, shift+zz to save
if the EOF only contains the 'o"'
Here is whats in vim. I only see one o"
Edit. Trying top figure out how to paste the thing I copied in vim into the message
Last edited by NominalSum (2025-12-03 03:41:59)
Offline
then delete it using the key combo d+d and then shift+z+z to save
if you cant figure it out then use this:
sudo sed -i "s/o\"//g" /etc/mkinitcpio.confLast edited by system72 (2025-12-03 03:46:17)
Offline
That worked Thank you
Offline
edit the original posts title and prefix [solved] if your issue has been fixed
Offline