Questions tagged [initrd]

The initrd (Initial RAM Disk) is used to load a temporary filesystem into memory in the boot process of a linux kernel.

77 questions
0
votes
2 answers

How to find all initrd.img* files on a system

Been working on some custom ISO for Ubuntu, so I have lots of different mounts, etc. I wanted to scan across everything to find all of the initrd.img* files, but I'm getting clocked by "features" in the find command. locate command won't work…
user3450148
  • 851
  • 5
  • 13
0
votes
1 answer

How the modules are loaded at boot time? And what is the order in which they loaded at boot time? How to change it?

I am looking for how the modules are loaded at boot time. Who will load the modules when the system is booting up. I am using raspbain os. Before upgrading to device tree , my modules are loaded well, but after upgrading my modules are loading…
optimus prime
  • 764
  • 1
  • 13
  • 39
0
votes
1 answer

Mount Squashfs as Root in initramfs Raspbian

I'm currently trying to make my raspbian boot from a squashFS image through initramfs. The squashfs image is on file system /dev/mmcblk0p1, so I mount this prior to mounting the Image. Unfortunately I'm stuck at mounting the SquashFS Image file. I…
bbsan2k
  • 3
  • 1
  • 2
0
votes
0 answers

In Linux initrd image, ethernet fails to work

I am working on SABRE SD Development board, which uses i.Mx6 Quad core processor. I have developed a initrd image for this board. The kernel boots up and the initrd images is mounted successfully. Even the fec ethernet drivers are loaded…
vivek
  • 21
  • 3
0
votes
1 answer

Initramfs, why is required for the mount root filesystem?

Why initramfs is needed in OS, why we can not mount the root filesystem without this file? Why we can not mount root fileststem directly, but we need some intermediator (intramfs)? And how to mount file system from kernel level (kernel side)?
user1825271
  • 69
  • 1
  • 6
0
votes
1 answer

embedding a DTC in a vmlinux/bzImage

I need to boot Linux on some custom hardware using uboot. For development I'm booting it using: bootm However, in the field I would like to collapse all three items into one. (legacy hardware,…
Tim Kolar
  • 175
  • 1
  • 9
0
votes
1 answer

Upgraded Redhat Linux kernel gives kernel panic on boot

I'm trying to use a new kernel (2.6.32) on RHEL 5.10 32bit (2.6.18 kernel). The .32 kernel is downloaded from kernel.org not patched by Redhat. I know this is silly, but upgrading to RHEL 6 is not an option to us. I did make menuconfig; make; make…
lqu
  • 606
  • 9
  • 14
0
votes
1 answer

how to make a custom kernel which boots a custom initrd.img file

I was mining information on "how to create a kernel" and have created a simple kernel which just prints "my first kernel". Later, I went on to creating a small initrd.img file which launches a "busybox ash -login" command. Now, my question is, how…
Surya Teja Karra
  • 541
  • 1
  • 6
  • 19
0
votes
1 answer

Rootfs on SD card

I've a device on which I've a 3.10 linux kernel booting up to a busybox shell (initramfs) When I extracted the busybox filesystem image on the SD card and when modified the root from root=/dev/ram to /dev/mmcblck0p1, it still boots up to the…
kimi
  • 315
  • 3
  • 11
0
votes
0 answers

Use initrd as principal file system?

My Initrd contains all tools that I need, Is it possible to use it as the principal file system? Which variables must be specified to the kernel ? I tried with root=/dev/ram0, but it did not work .
user3140467
  • 43
  • 10
0
votes
2 answers

How can I use Fuse on Dracut initramfs?

I want to use Fuse in initramfs. I am using the Fedora OS, and the Fedora OS initramfs is Dracut. I have created a sample application with Fuse to mount a folder with application. I want to use Fuse on Dracut, but the Fuse application does not work…
Taleh Ibrahimli
  • 750
  • 4
  • 13
  • 29
0
votes
1 answer

Initrd logs to a file on disk

I want to dump the initrd output to a file, what kind of changes either in bootloader some parameter which i can pass like console=tty or new process in initrd which can keep dumping logs to disk.
Black Diamond
  • 361
  • 5
  • 16
0
votes
1 answer

Error inserting scsi_wait_scan - Invalid module format

The system is CentOS 6.3. I've compile a new kernel and the resulting rpm installed on a target machine. When booting from the kernel I've receive the error in a title of the question. I've extracted corresponding initramfs and compared output of: …
dimba
  • 26,717
  • 34
  • 141
  • 196
-1
votes
1 answer

Execute an interactive script in systemd-based initramfs

I want to start an interactive script in a systemd-based initramfs. I use mkinitcpio with the systemd-hook to create it. My problem is, that there is no input supplied to the script started as a service. The script is started and I see his output,…
Alai
  • 123
  • 1
  • 8
-1
votes
1 answer

Find location of GRUB2/Multiboot 'module' (aka initrd)

I am working on an OS, and need to load an INITRD (grub command "module") and can't find info on where (in RAM) the module is loaded to Does grub have a way of telling me or is it a fixed address or none of the above? Any help would be appreciated