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
0answers
65 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
2answers
50 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
31 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
39 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 ...
4
votes
3answers
2k views

Unlock LUKS encrypted Debian root with key file on boot partition

I'm trying to decrypt the Debian root with a key file stored in the boot partition (decrypted partition). This will break the security, but it doesn't matter now. I have to conclude this successfully ...
3
votes
1answer
8k views

After installing a new Kernel in Ubuntu 14.04, rebooting takes me to busybox initramfs. How do I mount a filesystem after that?

I have a virtual machine with Ubuntu 14.04 in it. I recently built and installed linux-3.14.5 kernel on it, and tried to boot into it, but it drops me to BusyBox v1.21.1 built-in shell. Here's what I ...
3
votes
0answers
134 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 ...
2
votes
3answers
62 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 ...
4
votes
1answer
10k 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: ...
2
votes
2answers
205 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
0
votes
1answer
85 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 ...
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 ...
7
votes
3answers
402 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 ...
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?
0
votes
0answers
121 views

Initramfs error installing Blackbuntu through Grub

I'm trying to install Blackbuntu through Grub. Once I click the ISO in grub it displays the Blackbuntu loading logo, but then I get this error: Initramfs error: unexpectedly disconnected from boot ...
1
vote
2answers
469 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 ...
3
votes
2answers
50 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 ...
1
vote
0answers
75 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 ...
0
votes
0answers
101 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
0answers
102 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
49 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
77 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 ...
3
votes
2answers
1k views

How can I install Linux on a UEFI system with Secure boot?

My motherboard is a Gigabyte 990XA-UD3 (CPU 1), it's a UEFI -Dual boot, and when I try installing Linux Mint 16 Cinnamon or Ubuntu 13.10 it always bring this error (initramfs) Unable to find a medium ...
0
votes
1answer
66 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
37 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 ...
1
vote
0answers
43 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
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 ...
0
votes
1answer
840 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
102 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
1answer
157 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 ...
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 ...
2
votes
1answer
319 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 ...
5
votes
1answer
2k views

Adding a file to /etc of initramfs in Debian Wheezy

I have added the file /etc/initramfs-tools/etc/motd so that it would be available in /etc of the initramfs environment. However, it does not turn up. This is my second try where I gave the file all ...
1
vote
1answer
112 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, ...
1
vote
0answers
47 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
108 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
4answers
5k views

Given vmlinuz and initrd.gz, how do I find out, where the kernel is going to load / (root) file system from?

I'm trying various ways of Linux installation (from iso, flash, iso on flash, kernel on flash, root FS in iso-file on flash...) and want to understand what's going on. My question is: is it possible, ...
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 ...
2
votes
0answers
83 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
203 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 ...
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/...
1
vote
1answer
324 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-...
3
votes
1answer
172 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 ...