The "initial RAM file system" is the successor of initrd. It is a root filesystem that is embedded into the kernel and loaded early in the boot process.

learn more… | top users | synonyms

4
votes
1answer
11k views

Arch Linux in Qemu : Failed to access perfctr msr error

I got the Arch Linux (march build) iso file through bittorrent lately. I tried to run it in VM, but it only gets up to the main screen (The screen where you select what you want to do) shown below: ...
3
votes
1answer
228 views

How to debug systemd “init” freeze during boot?

I'm trying to get my own init script running on some ARM hardware and Debian Jessie with systemd. The overall boot concept and init script is almost identical to a x86 variant, which works fine. For ...
3
votes
1answer
305 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...
1
vote
1answer
195 views

How to Modify Android Boot Sequence in Order to Boot From an SD Card

I've been looking into how to boot Android form an SD card, and I came across this thread on XDA, but I am too much of a noob to understand it, and user has stated that she doesn't have the time to ...
3
votes
0answers
338 views

How do I add modules, binaries or scripts to initramfs in RHEL distributions?

I have an initramfs script I developed for Debian distributions that required some extra binaries to be loaded into the image. I'm now trying to port this to RHEL distributions and I'm struggling. To ...
3
votes
0answers
145 views

How do I bypass entering exit manually at the initramfs prompt?

I installed lubuntu onto my desktop PC and it does not have any other OS on it. Everytime the system boots up, I get to the initramfs prompt. It does not show any errors. If I enter exit, the system ...
3
votes
0answers
280 views

Changing a root file system from initramfs to JFFS2

I am running Linux on an ARM based development board from flash memory. The rootfs is initramfs. I chose this in the configuration utility under "file system". Then I realized that I need ...
2
votes
0answers
24 views

Predictable partition name for squashfs partition in initramfs

TL;DR: How can I boot a squashfs partition from initramfs with a predictable partition name? /dev/sda2 won't work because the device names get reordered randomly and sometimes it will boot from the ...
2
votes
0answers
98 views

update-initramfs failing after upgrading to stretch from jessie

I recently updated one of my Debian boxes to run with stretch, but unfortunately I run in an issue when it comes to the regeneration of the initramfs image. It seems that it doesn't recognize that I ...
2
votes
0answers
123 views

How to boot Linux Mint from USB drive via Grub2

I am trying to install Linux Mint Cinnamon 64 bit on a USB drive so I have a portable desktop wit persistence. I am trying to do this manually because I haven't fount a program that does this ...
2
votes
0answers
56 views

How do I prevent the kernel from pivoting and overwriting the initial file system?

How do I prevent the kernel from pivoting and overwriting the initial file system? What switches do I pass to the kernel? Do I need to add any code to the initramfs? I cross-compiled busybox and ...
2
votes
0answers
408 views

Unable to boot with dracut and luks: '/dev/resume' : file exists

I am installing gentoo and have performed my first reboot after configuration and installation within my chroot environment. I am using LUKS and LVM to manage encryption of my drives. I am encrypting ...
2
votes
0answers
593 views

Server won't boot, kernel panic - not syncing

After a reboot of a CentOS 6.2 server we are getting a kernel panic with the following error: Kernel panic - not syncing: Attempted to kill init! Panic occurred, switching back to text console ...
2
votes
0answers
734 views

Why do I need to specify two init images - initrd and boot - inside KVM to boot to bash?

My machine is running inside a KVM virtual machine (Parallels Desktop v8), having a BIOS (not UEFI), having one SATA drive connected, one GPT partition on that disk, the partition is ext4 formatted, ...
2
votes
0answers
623 views

Booting over the LAN using uboot

I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did - U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55) Texas ...
1
vote
0answers
10 views

Kali GNU/Linux Rolling 64-bit - Dropbear CryptSetup Wireless Setup Problem

I would like to ask for help in figuring out how to get the IP-Config program that shows up when attempting to use dropbear from guides such as this question to allow me to use wlan0 instead of eth0 ...
1
vote
0answers
95 views

BusyBox on persistent USB Livesystem

I fiddled a bit with creating a Live USB stick for creating a LFS system on my new computer. To make this easier I wanted to store some persistent data on it as well (settings, GCC, make and such ...
1
vote
0answers
50 views

Different mount output with and without initramfs

I need to create an initramfs to load a driver to access EMMC which contains the root filesystem. In my current kernel build, the EMMC driver is modular (sorry, can't change this). After the ...
1
vote
0answers
22 views

Can't boot from live USB after Debian install

I've recently installed Debian on my old Itautec pc, from a live USB with a Jessie net install. Everything was working fine, but after trying to restore configurations from an old server, I ...
1
vote
0answers
136 views

switch_root with systemd: “Too many levels of symbolic links”

I'm trying to boot a proprietary kernel build and OS after an upgrade to libc and numerous other tools. I'm booting using an initramfs in the 3.2.0 kernel with some utilities, like busybox. However, ...
1
vote
0answers
31 views

Invalid module format

I try to install a module using this command: sudo insmod mymod.ko [arg1] [arg2] but I get this error while loading the module: insmod: error inserting 'mymod.ko': -1 Invalid module format my ...
1
vote
0answers
59 views

Keyboard isn't working when it comes to enter the password for encrypted root

Hello I installed Debian, the entry in the NVRAM made by the installer isn't working so I boot it with refind using the following kernel parameters : rw nomodeset root=/dev/mapper/cryptroot initrd=/...
1
vote
0answers
123 views

Cannot boot kali linux after dist-upgrade, stucks at 'Loading initial ramdisk …'

I did a dist-upgrade from 4.3.0-kali1-amd64 to 4.4.0-kali1-amd64 but when I restart, the screen stucks at 'Loading initial ramdisk ...'. I had to use the advanced boot options to boot using 4.3.0-...
1
vote
0answers
99 views

Initramfs in debootstrap chroot of fully encrypted system

I'm working on a script to create a fully encrypted washable system from debootstrap. It's doing some good, but the initramfs image that comes out does not pick up the cryptroot properly. After ...
1
vote
0answers
56 views

Make changes to busybox/initramfs that are persistent?

I am in the process of recovering my 32-bit Debian Jessie box with a lvm+LUKS disk. I am coming back from a system that had a root partition but no boot partition. Grub executes, but either vmlinuz or ...
1
vote
0answers
79 views

Mounting real rootfs after initial booting using initrd

I'm booting kernel with root=/dev/ram0 on a embedded environment. After initial booting, how can I mount real rootfs present at /dev/mtd3 and make it as the only rootfs. I'm using root=/dev/ram0 ...
1
vote
0answers
20 views

dracut md5sum boot directory

This has been going on for a few months now, but my initramfs (and kernel) for that matter have been placed in /boot/{some hash}/{kernel version}/{initramfs,linux}. Did dracut or some other module ...
1
vote
0answers
210 views

Disable KMS on Debian Sid

I've recently started having trouble resuming my Sid laptop from suspend. I'm not sure if this was caused by an upgrade or by me tinkering to try and get a splash screen working, but anyway, I have my ...
1
vote
0answers
71 views

Chainload Windows from initramfs

Is there any way to chainload Windows from/within initramfs ? I am having grub on MBR. An entry in grub.conf, Will boot into the initramfs, execute some task and then boot into the windows (of-course ...
1
vote
0answers
618 views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
0answers
37 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
1
vote
0answers
120 views

How to abort/cancel a running command in initramfs?

When I invoke a long-running command, e.g. du, I don't see a way to abort/cancel it (Strg/Ctrl+c doesn't work), other shells/ttys aren't available. Am I completely doomed after having started a long ...
1
vote
0answers
355 views

How to regenerate an initramfs with ash built-in shell?

I foolishly edited my /etc/mkinitcpio.conf and now my computer won't boot. It drops down to (initramfs). It claims it cannot find the root device. However, cat /proc/cmdline shows the correct UUID of ...
1
vote
0answers
140 views

MDADM Array Detection Slowing Down Boot - Why?

I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the ...
1
vote
0answers
223 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
1
vote
0answers
515 views

Replacing default initramfs with my own

I followed this article to develop my own sample intramfs.cpio Now I have to put this in my kernel and compile. The procedure that I follw for petlinux is that I first run petalinux-config (and ...
1
vote
0answers
59 views

Kiwi produces huge initramfs

I'm using Kiwi to build a boot CD based on OpenSUSE 13.1. I want the disk ISO image to be as tiny as possible. I managed to get the read-only filesystem down to only 100MB, but for reasons unknown, ...
1
vote
0answers
293 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
0
votes
0answers
27 views

Creating initramfs

I was doing a lab on a machine whose initramfs was removed. I regenerated it by following command for latest kernel on that machine dracut -f initramfs-versionoflatestkernel.img ...
0
votes
0answers
47 views

$sudo ls -l boot returns ls: cannot access root: No such file or directory

This relates to a problem with initramfs and trying to boot into my system. I have my drive encrypted(sdb5), so I have to enter a password to get to the login screen on Ubuntu 15.10 running on an ...
0
votes
0answers
20 views

How to change the order of HOOKS in debian iniramfs configuration?

Hello I installed Archlinux to learn and now I'm insalling Debian but the initramfs setup is quite different from the mkinitcpio from Arch. My question is : where do I find the order in which the ...
0
votes
0answers
38 views

Cannot boot Debian “ata6.00: irq_stat 0x08000000, interface fatal error”

I'm running Debian 8 (Jessie). I tried to install a package but apt-get gave me an error about a read-only file system. I can't remember sudo emitted the error or apt-get. I found this question: ...
0
votes
0answers
28 views

Need a hint about system's verbiage at bootup

I've got a dual boot W10/Ubuntu 14.04 laptop. I use GRUB2 as a boot loader. In the BIOS I chose "Legacy BIOS" option (the laptop was purchased with EUFI enabled system and W8 OEM). I don't know, maybe ...
0
votes
0answers
120 views

stop while booting giving error of Genetrating “/run/initramfs/rdsosreport.txt”

I am getting following error while booting my centos 7 machine Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. ...
0
votes
0answers
43 views

dracut run hook after root is mounted

I want to run a hook after the root block device is mounted. I'm not sure what I need to do in my module-setup.sh script to get my script to run and run in the right order. I was using the dmsquash-...
0
votes
0answers
158 views

(Linux) unable to mount from initramfs

I am trying to install Linux (Debian) on a new laptop. This requires special care because the laptop keyboard needs a kernel patch (and I have not compiled a kernel for about 10 years). Also, because ...
0
votes
0answers
2k views

“Illegal instruction (core dumped)” in __lll_lock_elision() for various programs after suspend with initramfs (Arch/Manjaro)

I am getting random "Illegal instruction (core dumped)" on various programs in my Arch Linux system, since I ran some system updates. The crashes are quite random. E.g. sometimes "git status" crashes ...
0
votes
0answers
387 views

How can I resolve the initramfs issue during installation of Ubuntu 14.10 with an ISO file?

My system specs are: HP Probook 4445s, Windows 7 SP1, 64-bit, 4GB RAM, AMD A8-4500 APU I want to have both Windows 7 and Ubuntu on my laptop. I am installing Ubuntu 14.10 from an ISO file. I would ...
0
votes
0answers
98 views

Change Initramfs script

I made RAID 0 by mdadm'ing partition located on dmraid VIA VT6421 and Western Digital hdd. Installed Ubuntu on that RAID. Now, when I boot, I get (initramfs) ash prompt. There, I have to write mdadm ...
-1
votes
0answers
8 views

How to make an initramfs-linux.img bootable?

I basically want to put my initramfs on a usb device but UEFI or refind won't detect it as bootable. I think I need to add a .efi pointing to that initramfs file on that same usb device. Any idea how ...