You are not logged in.

#1 2016-03-24 00:45:23

Archeon
Member
Registered: 2016-03-09
Posts: 41

[SOLVED] mkinitcpio error during nouveau driver install on laptop

I have just installed the nouveau driver and removed the proprietary nvidia driver.  My laptop supports Nvidia PRIME and has an Nvidia GTX860M GPU and Intel integrated graphics.
However, when running the following command, I get an error. 

$ mkinitcpio -P linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: Unable to write to /boot/initramfs-linux.img
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: Unable to write to /boot/initramfs-linux-fallback.img

And when I run the following command, it's only showing that the intel is running, and not nvidia (which it should https://wiki.archlinux.org/index.php/PRIME)

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel

Does anybody know how I could fix this to get a clean mkinitcpio and have the nvidia driver listed?

Last edited by Archeon (2016-03-24 02:18:50)

Offline

#2 2016-03-24 00:50:18

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] mkinitcpio error during nouveau driver install on laptop

I think you need to be root to use mkinitcpio.  As for the other error, I have no idea since I use Intel.

Offline

#3 2016-03-24 02:04:40

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] mkinitcpio error during nouveau driver install on laptop

circleface wrote:

I think you need to be root to use mkinitcpio.  As for the other error, I have no idea since I use Intel.

Thanks, using root got it to work.  It did however give me two warnings:

==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x

Offline

#4 2016-03-24 02:12:46

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] mkinitcpio error during nouveau driver install on laptop

Errors similar to those are very common and usually don't matter.  I know I get them every time the fallback image is created and it has never impacted my system.

Offline

#5 2016-03-24 02:18:27

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] mkinitcpio error during nouveau driver install on laptop

circleface wrote:

Errors similar to those are very common and usually don't matter.  I know I get them every time the fallback image is created and it has never impacted my system.

Great, looks like this is solved then smile

Offline

Board footer

Powered by FluxBB