Questions tagged [mkinitcpio]

A modular initramfs image creation tool.

Filter by
Sorted by
Tagged with
0
votes
2answers
1k views

mkinitcpio : command not found

I am a beginner in Linux when i install arch Linux dual boot , download base system then i go to chroot then make a ram using a command: mkinitcpio -p Linux. when i write it, gives me command not ...
0
votes
0answers
24 views

Are the only HOOKS available for me to use listed under the mkinitcpio -L command?

Are the only HOOKS available for me to use with my system listed within the output of the following command? $ mkinitcpio -L
1
vote
1answer
163 views

Which format is the correct format to use for mkinitcpio.conf?

I am confused about which is the proper formatting to use within mkinitcpio.conf ... I have noticed sometimes double quotes are used and other times parentheses to close off the users desired hooks, ...
0
votes
1answer
233 views

Arch Linux stuck at “Loading version 240” after modifying configs

I'm trying to get GPU passthrough to work on a VM. I've been following this video https://www.youtube.com/watch?v=6FI31QDtyy4. The differences between what I did and what he did in the video was ...
0
votes
2answers
3k views

initramfs - ERROR: device '/dev/mapper/vg0-root' not found, Skipping fsck

Upon booting my Dell XPS 15 9560 running Arch, I am being dropped into an emergency shell because my devices aren't being found starting version 239 A password is required to access the luks volume: ...
0
votes
2answers
307 views

Can I trust initramfs and vmlinuz images?

I am running an Arch Linux installation on my laptop with the following partition scheme: /dev/sda1 is my /boot partition, which is also my ESP /dev/sda2 is my LUKS encrypted root partition I use ...
2
votes
1answer
953 views

Is the order of NVIDIA kernel modules in mkinitcpio important?

I'm troubleshooting a solution for Nvidia screen tearing cited on the Archlinux wiki which instructs to enable DRM kernel mode setting: nvidia 364.16 adds support for DRM kernel mode setting. To ...
3
votes
3answers
6k views

'/lib/modules/4.9.8-1-ARCH' is not a valid kernel module directory

I am attempting to repair and upgrade an Arch Linux system. I boot off of a Live USB which is a newer version than the original install. Then I mount the sda and chroot to its mount point. When I run ...
1
vote
1answer
4k views

How to create ZImage?

Task I have an .img file(cpio, for initramfs). Actually, it is result of mkinitcpio. U-boot is used as a boot loader. But U-boot needs either UImage or ZImage. I need to glue U-boot with created cpio ...
1
vote
1answer
245 views

Creating 32-bit initramfs on a 64-bit machine

I am on a 64-bit kernel and want to run a 32-bit kernel in QEMU. Once I had the compressed kernel image I tried creating the initramfs image using mkinitcpio but this only created an image with 64-bit ...
4
votes
1answer
16k views

How to manually boot Arch Linux from preboot emergency shell?

I broke an Arch Linux installation. Let's say I made a typo in the PARTUUID string. The result is that the boot process can't mount the root file system and stops at the mkinitcpio preboot stage with ...
3
votes
1answer
3k views

How to boot into root btrfs file system with minimal initramfs without udev hook?

Arch Linux is UEFI booted from USB flash drive with GPT and three partitions: EFI (vfat file system) root (btrfs file system, was converted from ext4) home (btrfs file system, was converted from ext4)...
4
votes
1answer
2k views

LUKS password not being requested by dmcrypt / encrypt hook at boot

At boot I see: :: running hook [encrypt] A password is required to access the volume: Command requires device and mapped name as arguments Command requires device and mapped name as arguments ...
1
vote
1answer
286 views

Sources of mkinitcpio MODULES=, BINARIES= and HOOKS= entries

How do I find out what will be added the cpio initrd image generated by mkinitcpio given an entry in either: MODULES= BINARIES= HOOKS= For example, what files are included when adding BINARIES="...
4
votes
1answer
5k views

How to create ASCII cpio archive (SVR4 with no CRC)?

I have a file in /boot/initramfs.gz extract it using tar -xzvf initramfs.gz -C ./ I got a file initramfs. └──╼ $ file initramfs initramfs: ASCII cpio archive (SVR4 with no CRC) It can be open using ...
1
vote
1answer
1k views

Arch mkinitcpio grub boot fails on edit

I'm experiencing this strange behavior. I am using ArchLinux, generated boot things with mkinitcpio, and using Grub2 (not legacy). When booting, and pressing "e" to edit the entry (to see boot ...
0
votes
1answer
35 views

Archlinux ARM Rasperry Pi decryption fail

I have created an encrypted Archlinux partition on my SD card, but currently I am unable to decrypt it. I am using the key "Xö&(4n=%YF3Ü!BN" which includes german letters. So for this I have ...
1
vote
1answer
149 views

Archlinux ARM Rasperry Pi login buffer display and decryption fail

I have put the Archlinux Arm on my SD card and the first time I have done this it was all correct and worked well but I had to "reinstall" everything for several reason. So now I am doing the same ...
6
votes
2answers
4k views

Encrypt hook in mkinitcpio.conf for full system encryption USB drive Arch install

I have installed Arch Linux on a USB drive with full system encryption using LUKS. The Arch wiki as usual walked me through almost everything. The only issue I ran into was using setting up the hooks ...
3
votes
3answers
612 views

Why are there internet utilities in my initial ramdisk?

I have a fairly standard initial ramdisk created using mkinitcpio. I'm on Arch GNU/Linux. A while ago I got dropped to a rescue shell and poked around in the /bin of the ramdisk to see what was ...
2
votes
0answers
1k views

mkinitcpio did not include modules.devname in cpio image

I'm running Arch Linux with a customized kernel. I modified the PKGBUILD from abs, and renamed the package to linux-custom. The PKGBUILD is fine, after installation I could see the modules.devname in ...