You are not logged in.

#1 2017-03-26 09:10:46

Krokodeale
Member
Registered: 2017-03-26
Posts: 4

Deleted mkinitcpio.d/, problems ?

Hi there,

I just installed Arch Linux on my main pc yesterday, I made the big jump ! (I passed the all day just to get a boot ><)

Today I was trying to get xorg working, had some problems with my GPU (GTX 970), haven't founded the good drivers.

But the problem is that I wanted to reset some configurations and I deleted /etc/mkinitcpio.conf and /etc/mkinitcpio.d/

Now, obsiouly, I can't reload with mkinitcpio -p linux.

Do I have to reboot on a LiveUSB, mount the partition, go to arch-chroot and do the mkinitcpio -p linux ?

Scheme for my partition :
/dev/sda
  - sda1 : swap
  - sda2 : /home

/dev/stb
  - sdb 1 : boot
  - sdb 2 : /

Offline

#2 2017-03-26 09:21:59

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Deleted mkinitcpio.d/, problems ?

Reinstall mkinitcpio, that shall recreate mkinitcpio.conf and mkinitcpio.d folder. There is page in wiki about mkinitcpio, for details.

"mkinitcpio -p linux" is only required when kernel is updated, you shall be able to boot fine without that.

Offline

#3 2017-03-26 09:22:21

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: Deleted mkinitcpio.d/, problems ?

Enter arch-chroot and resinstall linux (and other kernels you might have), unless you want to write kernel preset for mkinitcpio yourself.

Offline

#4 2017-03-26 10:07:17

Krokodeale
Member
Registered: 2017-03-26
Posts: 4

Re: Deleted mkinitcpio.d/, problems ?

Problem solved !

Thanks for you answer guys. I did reboot on a LiveUSB, I tried to reinstall mkinitcpio but I didn't succed.
I did arch-chroot then I wrote the mkinitcpio.conf and did the command.

Offline

Board footer

Powered by FluxBB