You are not logged in.
Pages: 1
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
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.
Arch is home!
https://github.com/Docbroke
Offline
Enter arch-chroot and resinstall linux (and other kernels you might have), unless you want to write kernel preset for mkinitcpio yourself.
Offline
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
Pages: 1