Questions tagged [initrd]

In computing, initrd (initial ramdisk) is a scheme for loading a temporary root file system into memory, which may be used as part of the Linux startup process. initrd and initramfs refer to two different methods of achieving this. Both are commonly used to make preparations before the real root file system can be mounted. Use this tag with questions concerning initrd on Ubuntu.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

Maas ubuntu 18.04 initrd boot loop

I have strange situation, maas won't boot my servers with 18.04 ubuntu, but if I repack initrd from gzip to lzma - it starts working. I had to change boot-resource "current" symlink to directory and ...
1
vote
0answers
64 views

Extracting all files from a initrd cpio archive. How Do I?

I have a initrd that i would like to extract the contents of. lsinitramfs displays a few directories including kernel, var, lib, usr. But when i cat initrd.img | cpio -id, only the kernel directory ...
0
votes
0answers
44 views

How to load a ramdisk now (again)?

I have essentially the same question as this, except that I am asking it for 18.04.2. The solution to add brd rd_size=16777216 to /etc/initramfs/modules does work for me because after unpacking the ...
1
vote
1answer
207 views

Automated PXE boot image selection and customized boot images

Details I have a network of about 20 identical Dell PCs and 40 raspberry PI 3b+ units which were donated to a school where I'm currently doing some pro-bono work. The RPI units are for kids to browse ...
0
votes
0answers
29 views

Is there a single init script in Ubuntu 16.04 for the invocation of the booting or separate directories?

If so, where are they located? And can the init script be modified according to the system requirements? I located the /etc/init folder and I wanted to know, since Suse has one init script, does ...
0
votes
0answers
347 views

Why did the Kernel unpacking failed?

The kernel on booting initrd, shows the error 'Initramfs unpacking failed: junk in compressed archive', with a message of kernel panic. Is this an issue with cpio, as I'm using Ubuntu 16.04 or some ...
0
votes
0answers
22 views

lsinitrd shows no module in 18.04.1

In my experience in CentOS7, just type lsinitrd I can get modules in initrd, but in Ubuntu 18, I need to type lsinitd /boot/initrd.img-4.xxxx-generic However, it still show nothing about module.
2
votes
1answer
1k views

How to modify initrd initial ramdisk of Ubuntu 18.10 Cosmic Cuttlefish

I tried to extract the initrd casper/initrd of Ubuntu 18.10 and got an unexpected result. I did not see the root filesystem and files, but just a folder named kernel. What I have done Firstly I ...
0
votes
0answers
33 views

Can I delete initrd files in /boot? [duplicate]

My Linux system is getting a bit tight on space in the /boot volume - I've already done the usual apt-get purge/autoremove etc. but I still have multiple copies of initrd files and I'd like to know if ...
3
votes
0answers
261 views

How can I add a command to initramfs / initrd to execute before mounting the root partition?

ubuntu 18.04 64-bit I have a setup which has three separate block crypt devices, plus a non-encrypted /boot. If I had started with a clean sheet of paper, I could have done it with two, but it would ...
1
vote
0answers
728 views

preseed.cfg installed in initrd root not being recognized in Ubuntu installation (17.10 amd64 desktop or server)

I have been using a process for preseeding the initrd in a Debian ISO for some time. I just tried the same process for desktop and server variants of Ubuntu 17.10 ISOs, and everything looks fine until ...
0
votes
1answer
704 views

How to use cryptsetup keyscript with initrd in Ubuntu 16.04?

I am setting up an encrypted partition with a special script to automatically input the passphrase. The partition is not a system partition and the process requires a custom keyscript. I've managed ...
1
vote
1answer
7k views

/sbin/init : no such file or directory | Not able to boot ubuntu desktop

I have been using Ubuntu Desktop for a while now, but today for some reason I am not able to start it. Here is what I see. Here is what I have already tried : Tried booting in recovery mode ...
0
votes
1answer
859 views

How to load a ramdisk now?

latest kernels have made ramdisk modules: CONFIG_BLK_DEV_RAM=m Which is the module and where to find it. Is loadable during boot from initramfs ? I had root on software RAID1 with SSD and Ramdisk (...
3
votes
2answers
5k views

What is the relationship between initrd and squashfs?

If we are using initrd for, say in live usb, why would we also need squashfs?