You are not logged in.

#1 2021-03-22 21:14:06

sydneymoargan
Member
Registered: 2020-11-23
Posts: 9

Mkinitcpio -p linux path ERROR

Hello People,

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.
it says: "ERROR: Unable to write to path: `/initramfs-linux.img'  "
Any idea?

Offline

#2 2021-03-23 23:55:05

Mrhawkbox
Member
Registered: 2020-11-23
Posts: 47

Re: Mkinitcpio -p linux path ERROR

sydneymoargan wrote:

Hello People,

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.
it says: "ERROR: Unable to write to path: `/initramfs-linux.img'  "
Any idea?

Why are you trying to mount pacstrap? Thats' for installing the base and linux and linux firmware packages. If i had to guess is you didnt mount something properly in the installation for the ram init system.

Offline

#3 2021-03-24 06:33:11

sydneymoargan
Member
Registered: 2020-11-23
Posts: 9

Re: Mkinitcpio -p linux path ERROR

Mrhawkbox wrote:
sydneymoargan wrote:

Hello People,

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.
it says: "ERROR: Unable to write to path: `/initramfs-linux.img'  "
Any idea?

Why are you trying to mount pacstrap? Thats' for installing the base and linux and linux firmware packages. If i had to guess is you didnt mount something properly in the installation for the ram init system.

Hello Mr,
I stated here ways how I tryed to fix the problem, where installation is one, but didn't worked. 
My mount point is "/boot" for the esp. Is it need to mount and set in fstab to: "/boot/esp or /esp?" I have the notorious UEFI who is known to be unofficially: *not open!*

Last edited by sydneymoargan (2021-03-24 06:35:35)

Offline

#4 2021-03-24 11:51:41

Mrhawkbox
Member
Registered: 2020-11-23
Posts: 47

Re: Mkinitcpio -p linux path ERROR

sydneymoargan wrote:
Mrhawkbox wrote:
sydneymoargan wrote:

Hello People,

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.
it says: "ERROR: Unable to write to path: `/initramfs-linux.img'  "
Any idea?

Why are you trying to mount pacstrap? Thats' for installing the base and linux and linux firmware packages. If i had to guess is you didnt mount something properly in the installation for the ram init system.

Hello Mr,
I stated here ways how I tryed to fix the problem, where installation is one, but didn't worked. 
My mount point is "/boot" for the esp. Is it need to mount and set in fstab to: "/boot/esp or /esp?" I have the notorious UEFI who is known to be unofficially: *not open!*

Arch supports uefi. Ok I honestly reccomend starting the install over because I have no Idea where you mounted anything or the directories are. but for genfstab you use

 genfstab -U -p /mnt >> /mnt/etc/fstab

make sure you make the directory /mnt/etc first.

Last edited by Mrhawkbox (2021-03-24 11:52:20)

Offline

#5 2021-03-24 12:00:55

Mrhawkbox
Member
Registered: 2020-11-23
Posts: 47

Re: Mkinitcpio -p linux path ERROR

why are you trying to mount an arch install to any efi partition?

Offline

#6 2021-03-24 12:08:16

Mrhawkbox
Member
Registered: 2020-11-23
Posts: 47

Re: Mkinitcpio -p linux path ERROR

sydneymoargan wrote:
Mrhawkbox wrote:
sydneymoargan wrote:

Hello People,

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.
it says: "ERROR: Unable to write to path: `/initramfs-linux.img'  "
Any idea?

Why are you trying to mount pacstrap? Thats' for installing the base and linux and linux firmware packages. If i had to guess is you didnt mount something properly in the installation for the ram init system.

Hello Mr,
I stated here ways how I tryed to fix the problem, where installation is one, but didn't worked. 
My mount point is "/boot" for the esp. Is it need to mount and set in fstab to: "/boot/esp or /esp?" I have the notorious UEFI who is known to be unofficially: *not open!*

Ok don't take this the wrong way but I dont think yo understand what you are doing. Let me explain. sda1 is a general partion table. Whichh is for your hard drive. sda2 the efi well thats for the uefi so your hard drive can accept input and output commands from the system. sda3 would be everything else.

Offline

#7 2021-03-26 06:21:37

sydneymoargan
Member
Registered: 2020-11-23
Posts: 9

Re: Mkinitcpio -p linux path ERROR

Mr Mrkhawkbox it does not help to guess, I get some help in the german form, here is the link, learn from:

https://bbs.archlinux.de/viewtopic.php?id=33928

This thread is closed!

Offline

#8 2021-03-28 09:44:23

Mrhawkbox
Member
Registered: 2020-11-23
Posts: 47

Re: Mkinitcpio -p linux path ERROR

sydneymoargan wrote:

Mr Mrkhawkbox it does not help to guess, I get some help in the german form, here is the link, learn from:

https://bbs.archlinux.de/viewtopic.php?id=33928

This thread is closed!

As we are troubleshooting your failed installation the only way is to guess. The fact your trying to install an init system on an efi partition says that you installed something incorrectly. I told you from the start. You failed to set up correctly start over. I stated from the beginning what you were doing wrong and why it was wrong. NOBODY on this forum has a clue what you did during installation.

Last edited by Mrhawkbox (2021-03-28 09:46:11)

Offline

#9 2021-04-04 05:30:41

LiNkz
Member
Registered: 2020-11-25
Posts: 9

Re: Mkinitcpio -p linux path ERROR

Seems like you both aren't sure what you are talking about and are misundertanding the other.

I have the linux system installed, now with the problem that "mkinitcpio -p linux", updat "pacman -Syu" and "pacstrap /mnt  linux" can not install the initramfs.img.

You did this from your system and not the live usb?

If so that may be the problem becayse it can't find what it is looking for.

pacstrap /mnt  linux

Would have only reinstalled the kernel.

Also you never said if you had mounted the partitions or not before trying to pacstrap.

Just for the record "pacstrap /mnt" doesn't "mount" anything....

And

why are you trying to mount an arch install to any efi partition?

Not what op was getting at.

Last edited by LiNkz (2021-04-04 05:37:58)

Offline

#10 Today 09:28:49

sydneymoargan
Member
Registered: 2020-11-23
Posts: 9

Re: Mkinitcpio -p linux path ERROR

Mrhawkbox wrote:
sydneymoargan wrote:

Mr Mrkhawkbox it does not help to guess, I get some help in the german form, here is the link, learn from:

https://bbs.archlinux.de/viewtopic.php?id=33928

This thread is closed!

As we are troubleshooting your failed installation the only way is to guess. The fact your trying to install an init system on an efi partition says that you installed something incorrectly. I told you from the start. You failed to set up correctly start over. I stated from the beginning what you were doing wrong and why it was wrong. NOBODY on this forum has a clue what you did during installation.

Sure I did something wrong at installation. Do not hesitate to hypothesis.. my explenation was vage and theirfor your guess was a kind, but let my say I had the installation reimplemented and it worked. May it be that I complicated an old initramfs.img with the new one, that I thought would work, but it did not. So I wanted to reinstall that but the procedure I tryed didn't work.
I hope I make the thread more clear next time.

Offline

Board footer

Powered by FluxBB