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

1
vote
2answers
43 views

Mount root filesystem from initramfs

It's a common scenario. For whatever reason, the initramfs (OpenSUSE, in case it matters) has failed to find the root filesystem, so it drops you into a rescue shell. I know perfectly well what device ...
0
votes
1answer
27 views

Patching the kernel to allow booting without initrd

The first answer of 'Why does Linux use an Initial Ram Disk at boot?' states that the initrd/initial ram filesystem is used to provide drivers to mount the real root filesystem. It also says that it ...
0
votes
1answer
38 views

Whats the difference between the initramfs and the actual main filesystem?

So initramfs is a temporary file system used to start up the system, and then passes control to the root after mounting it. The reason I can't just use the ramfs to do stuff is that anything you save ...
2
votes
3answers
59 views

Why do we need initramfs and initrd

I understand the purpose of the this concept. For example we have exotic file system on the disk and in order to load system we need mount root filesystem. But we cannot because there is no suitable ...
1
vote
0answers
54 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
38 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 ...
-2
votes
1answer
33 views

debian from disk to big disk: what i miss? [closed]

Usually i migrate virtual machine to new bigger disk following this procedure a)Attach new disk b)Mount to mnt c)rsync -avogpP --delete /olddirs /mnt/newdirs except for tmp proc sys dev,i use to ...
0
votes
0answers
26 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 ...
1
vote
0answers
20 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 ...
0
votes
1answer
76 views

Kali Linux Installation Attempt, Stuck in Initramfs!

I tried to install Kali Linux today. Everything went well and the installation completed without any problems. Though now when I start my computer I am prompted into grub. My linux installation is ...
2
votes
0answers
14 views

How do I extract the initramfs from a kernel image? [duplicate]

An initramfs, as opposed to an initrd, is built-in to a kernel file. How do I go about extracting and unpacking an initramfs from a given kernel file?
7
votes
3answers
392 views

GRUB confuses kernels/initramfs of Ubuntu and Arch Linux installation

I have a machine that used to dual-boot Ubuntu (16.04 currently) and Windows 7, with Ubuntu's GRUB as boot loader. Now I just added Arch Linux as third OS, following the official installation ...
1
vote
2answers
348 views

boot problem in linux

I have unfortunately format drive /dev/sda2. So all the /root,/home,swap LVM no longer exists. Because of this my server is unable to work properly. it shows only dracut#>Dracut Error: [ OK ...
1
vote
0answers
95 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
46 views

No support for locale: en_US.utf8

I am on Linux Mint 17.3. I saw this in the syslog. Processing triggers for initramfs-tools (0.103ubuntu4.3) ... Apr 9 12:01:47 vb-nb-mint updates: update-initramfs: Generating /boot/initrd.img-3.19....
1
vote
1answer
74 views

update-initramfs selects wrong kernel

I'm running Debian 8 Jessie with kernel 4.1.20 from kernel.org. For some reason when I do update-initramfs -u it tells me the following: /boot/initrd.img-4.4.4 does not exist. Cannot update. For some ...
1
vote
0answers
27 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 ...
0
votes
1answer
64 views

What step am I missing to get my 2.6 ARM kernel running in QEMU?

I am trying to cross-compile and boot a Linux 2.6 kernel for ARM using QEMU. I have basically followed the same instructions that are included in seemingly every single tutorial on the topic. ...
0
votes
0answers
35 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
18 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 ...
1
vote
0answers
39 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=/...
0
votes
1answer
769 views

What is the equivalent of mkinitcpio.conf on debian?

I want to review that the hooks used to build the initrd.img are correct in my debian but I fail to find the /etc/mkinitcpio.conf file like the one in Archlinux, what is the equivalent of this file in ...
1
vote
0answers
96 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
84 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
1answer
148 views

md raid not mounted by dracut

Background I'm running Centos 7. Originally, it was running on a single disk that looked something like this: 1 200M EFI System (/boot/efi) 2 500M Microsoft basic (/boot) 3 465.1G ...
3
votes
2answers
49 views

Extracting concatenated cpio archives

initramfs archives on Linux can consist of a series of concatenated, gzipped cpio files. Given such an archive, how can one extract all the embedded archives, as opposed to only the first one? The ...
2
votes
1answer
310 views

mdadm: no devices listed in conf file were found - Debian 8 with GPT

I have a Debian Jessie (3.16.7-ckt20-1+deb8u3) system with RAID1 on 2x 3TB hard drives. Grub can't be installed into MBR on drives >2TB, thus I have GPT with 1MB bios partition: Device Start ...
1
vote
0answers
45 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 ...
0
votes
0answers
30 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: ...
1
vote
0answers
105 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 ...
1
vote
1answer
111 views

Raspberry Pi 2 Custom Kernel with initramfs

I'm desperately trying to get a self-compiled kernel running together with an initramfs. It worked on the old raspberry, but somehow I can't get it to run. What I'm trying to do exactly: Load kernel, ...
0
votes
0answers
27 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 ...
2
votes
0answers
79 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 ...
3
votes
1answer
202 views

On Gentoo, ZFS stops working after 0.6.5 update

I just updated my Gentoo system, updating my world, including ZFS. Everything but the kernel. I figured I'd do a reboot first, then build a new kernel. Currently, it's running on kernel 3.17.8-gentoo-...
10
votes
3answers
1k views

Is the entire kernel loaded into memory on boot?

I read through this popular IBM doc (I see it referred quite often on the web) explaining the function of the initial RAM disk. I hit a wall in conceptualizing how this works though. In the doc it ...
0
votes
0answers
100 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. ...
1
vote
1answer
314 views

debian jessie volume group not found and cant boot

I have accidentally deleted my boot partition. OS is Debian Jessie with LUKS LVM. I have created a new partition and successfully reinstalled grub with chroot method. Now when I try to boot, my root ...
0
votes
0answers
38 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-...
1
vote
1answer
149 views

How to mount /usr at boot time without an initramfs?

I'm having trouble booting into my system with systemd installed. I wouldn't like to use an initramfs, so I use a self-configured kernel which starts my kernel with the following in-built command line:...
2
votes
1answer
161 views

Appending files to initramfs image - reliable?

I'm modifying a bunch of initramfs archives from different Linux distros in which normally only one file is being changed. I would like to automate the process without switching to root user to ...
3
votes
1answer
160 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 ...
2
votes
0answers
109 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 ...
3
votes
1answer
125 views

Two compiles of the same kernel version: one boots, one unable to find root device

I have two compiles of the same kernel version (4.0.5+gentoo patches). One boots, correctly, but lacks several kernel CONFIG flags. Adding those flags and running make all && make install ...
1
vote
1answer
81 views

Is there a way to get Linux to treat an initramfs as the final root filesystem?

I want to boot a system with an initramfs that's the actual final filesystem, not a temporary initramfs for loading drivers. Unfortunately, Linux imposes different (and in my case, undesirable) ...
0
votes
0answers
149 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
14 views

initramfs cannot find folder/directory [duplicate]

I have just compiled a kernel for my armv7 (armhf) but for some reason it is not letting me specify the uuid as you can see below this is the line for the mount (the uuid below is not the real one, ...
2
votes
0answers
47 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
1answer
2k views

Missing root VG, dropped to an initramfs shell. [SOLVED]

My Linux Mint 17.1 (64-bit) uses LVM on its OS drive (an SSD). I must have done "something" to wreck my system, because last time I rebooted, the boot failed. Instead, I got the message "Alert! /dev/...
2
votes
0answers
312 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 ...