You are not logged in.

#1 2013-08-25 21:23:30

rob111
Member
Registered: 2013-08-24
Posts: 15

error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Hi
I tried to initial RAM disk with and got error message

[root@archiso /]# mkinitcpio -p linux
==> ERROR; Preset not found: '/etc/mkinitcpio.d/linux.preset'

And I found some answers but one said

ALARM doesn't use an uInitrd.

and another said I have to be install kernel26.
How I can solve this?

Last edited by rob111 (2013-08-31 17:41:46)

Offline

#2 2013-08-25 21:27:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,411

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Are you using the default kernel? If not, the preset is probably named something else.

Offline

#3 2013-08-25 21:28:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

ALARM = Arch Linux ARM.
Are you using ARM hardware? If so, please ask on their forum http://archlinuxarm.org/forum/


Scimmia wrote:

Are you using the default kernel? If not, the preset is probably named something else.

He's using archiso, so I'm not sure if this is the problem.

Last edited by karol (2013-08-25 21:30:24)

Offline

#4 2013-08-25 21:31:37

rob111
Member
Registered: 2013-08-24
Posts: 15

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

How I can know what kind of kernel I use?

And also I don't know I am using ARM or not. How I can check this?

Thanks

Offline

#5 2013-08-25 21:35:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Offline

#6 2013-08-25 21:40:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,411

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

karol wrote:
Scimmia wrote:

Are you using the default kernel? If not, the preset is probably named something else.

He's using archiso, so I'm not sure if this is the problem.

Good catch, I missed that.

rob111, tell us what you're trying to do. Are you trying to update the initrd of the live system or of an installed system?

Offline

#7 2013-08-25 21:44:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

rob111, this sounds just like your other thread which you marked as solved ... though I don't know why you think it is solved.  It sounds like the base and base-devel installation didn't complete properly and you should not try to work your way around that, you should go back and fix it.  You only have a partially installed system.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2013-08-25 21:46:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Scimmia wrote:

Are you trying to update the initrd of the live system or of an installed system?

Good question: https://bbs.archlinux.org/viewtopic.php … 4#p1316854

Offline

#9 2013-08-25 22:37:59

rob111
Member
Registered: 2013-08-24
Posts: 15

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Trilby wrote:

rob111, this sounds just like your other thread which you marked as solved ... though I don't know why you think it is solved.  It sounds like the base and base-devel installation didn't complete properly and you should not try to work your way around that, you should go back and fix it.  You only have a partially installed system.

Trilby
How I can go back and fix that?
I can switch between [root@archiso /] and root@archiso ~ #.

I am doing now this step https://wiki.archlinux.org/index.php/Installation_Guide#Configure_the_system
Which step did I skip?

Thanks

Offline

#10 2013-08-25 22:38:46

rob111
Member
Registered: 2013-08-24
Posts: 15

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

karol wrote:
Scimmia wrote:

Are you trying to update the initrd of the live system or of an installed system?

Good question: https://bbs.archlinux.org/viewtopic.php … 4#p1316854

I am installing system on my laptop.

Offline

#11 2013-08-25 22:43:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

Run the commands outlined in https://wiki.archlinux.org/index.php/In … the_system
When you run 'arch-chroot /mnt' the prompt should change a bit and you should be able to run all subsequent commands, including 'mkinitcpio -p linux'.

Offline

#12 2013-08-25 22:54:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

rob111 wrote:

How I can go back and fix that?
I can switch between [root@archiso /] and root@archiso ~ #.

I don't know which one of those is which.  I don't suspect you skipped a step, but I do suspect that the `pacstrap /mnt/ base base-devel` command did not complerte successfully.

If you are in the live system (what the live usb first boots into), then you can just rerun that command and make sure there are no error messages.

If you are chrooted into your new system, you *should* be able to just do `pacman -Syu base base-devel`, but depending on what went wrong the first time, this may or may not work.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2013-08-25 22:56:10

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

rob111 wrote:

I can switch between [root@archiso /] and root@archiso ~ #.

This is confusing given this report. Could you confirm exactly the prompt you have when you try to run the configuration commands such as mkinitcpio -p linux.

Because, as Trilby says, if you really have successfully installed base and base-devel and chrooted into the system, you should not be seeing these errors. Also, I am pretty sure that you should not have needed to verify the master key manually. When Arch first introduced signing, manual verification of keys was required but I am almost certain that is no longer the case. So something is almost certainly wrong at an earlier stage and you need to fix that, as Trilby says, before moving onto the next stage.

EDIT: "As Trilby says" should now read "as Trilby says again" - I'm too slow.

Last edited by cfr (2013-08-25 22:57:40)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2013-08-25 23:02:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: error: Preset not found: '/etc/mkinitcpio.d/linux.preset' [Solved]

cfr wrote:

"As Trilby says" ... "as Trilby says again"

The first two installments of the made-for-tv drama of one linux user out to save the world one installation at a time.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB