Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mkinitcpio]

A modular initramfs image creation tool.

0
votes
0answers
7 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
24 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
49 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
1k 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
118 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 ...
0
votes
0answers
273 views

Add a LUKS key file to initrd/initramfs to bypass second password prompt?

For systems using mkinitcpio, the Arch Linux Wiki contains detailed information. For systems using mkinitrd, I have also found others have previously had success here. I am using a Debian based OS ...
2
votes
1answer
623 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 ...
1
vote
2answers
4k 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
2k 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
169 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 ...
3
votes
1answer
10k 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 ...
4
votes
1answer
2k 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)...
3
votes
1answer
1k 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
244 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
3k 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
981 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
32 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
142 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
3k 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
595 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 ...