Questions tagged [initramfs]
77 questions
1
vote
1 answer
HP Proliant ML350 Gen9 Server with Debian Linux Kernel Does not boot HBA mode SAS drives. initramfs timeout. long disk detection. disks not recognized
This is what I have:
1- HP Proliant ML350 Gen9 with SAS LFF (3.5 inch) Disks running in HBA mode.
2- Debian Linux version 10 (Buster) Kernel Does not boot HBA mode SAS drives normaly. I have to go to recovery mode in order to boot then press ctrl+D…

superlinux
- 141
- 5
0
votes
0 answers
Ubuntu Server 16.04 initramfs error after full recovery to new hardware
I am getting an error after recovering my Ubuntu Server 16.04. It is only booting in advance recovery option (initramfs). Below is the complete error. Can anyone please help?
Begin: Running /scripts/local-block...mdadm: CREATE group disk not…

Taran
- 1
- 1
0
votes
0 answers
Read hostname from a secondary filesystem
I'm trying to customize a preinstalled Ubuntu image for VM instances. My idea was to add a secondary filesystem to /etc/fstab (let's call it /config) and then symlink all relevant config files to that filesystem.
This approach works fine for…

main--
- 101
0
votes
1 answer
How to make initrd of Ubuntu 16.04 mount /home automatically in addition to /?
This is a follow-up to a former question about systemd, BTRFS, /home being an individual subvolume and the following restriction of systemd I would like to work around:
The file system where the linked unit files are located must be accessible when…

Thorsten Schöning
- 683
- 7
- 20
0
votes
1 answer
mkinitramfs failed to determine device for /
I'm following this tutorial : Create a Custom Debian Live (it's not the first time) but this time it doesn't work when I'm trying to install linux-image-amd64 live-boot systemd-sysv in chroot environment.
Error is :
mkinitramfs: failed to…

DSX
- 385
- 1
- 4
- 18
0
votes
1 answer
System boots to initrmafs prompt after rdiff-backup restore
I was making daily backups with rdiff-backup. system and data partitions separately.
Now I restored the system from the backup, but it doens't boot.
All I get is an (initramfs) prompt.
I typed echo $REASON and it says there was no init file…

unfa
- 171
- 1
- 8
0
votes
1 answer
NFS /sbin/init with Qemu without initrd
TL;DR :
I try to tell my kernel on a Qemu machine to start /sbin/init from an NFS server but I have a kernel panic (not syncing: VFS: Unable to mount root fs on unknown-block(2,0)). I used the following command for that :
kvm \
-netdev…
0
votes
1 answer
Mount and copy /var to EC2 instance store during first boot
I'm running EC2 EBS images on instances with instance stores on /dev/xvdb and /dev/xvdc. I have managed to create a script to raid these two drives on first boot and mount them as /mnt. What I really want to do is raid them, copy over the EBS /var,…

jamie
- 101
- 2
0
votes
1 answer
Simpler way to add eth0 support in initrd.img (Centos)
I am trying to deploy clone image via pxeboot on hard disk. For this I want to use dd tool. I am aware that there are few tools like fog and clonezilla which does similar thing but this is university project.
Background:
Currently I am deploying…

Kapil
- 39
- 1
- 7
0
votes
0 answers
switch_root not included in initramfs image
After upgrading the kernel via yum to the latest version the initramfs image file is missing the switch_root binary from the /sbin/ folder. This causes the machine to not boot, from this kernel. Adding the file back into the initramfs manually using…

andrewdixon
- 228
- 3
- 10
0
votes
1 answer
grub2/initramfs disaster recovery
One of my ubuntu 12.04 is a vm on vmware ESXi host. It has separate boot and root partition. One developer did fsck on the live root partition by mistake and this vm can only boot to initramfs mode with some errors - "/proc is not found". My…

user3768947
- 1
- 2
0
votes
1 answer
Initrd and Initramfs
I have read about the differences between the two from stackoverflow. But I am still finding it difficult to understand tmpfs and the real advantages of initramfs over initrd.
I find that on RedHat EL 5 or Ubuntu 12.04, I have only initrd files in…

nitins
- 2,579
- 15
- 44
- 68
0
votes
2 answers
System does not boot from root LVM RAID1 partition when any of the underlying PV is missing
I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition reside.
The kernel launch line in grub.cfg…

vprisivko
- 43
- 1
- 6
0
votes
1 answer
Linux initramfs read-only
In a Linux system consisting of a bootloader, the kernel and an initramfs (no block devices, no other root filesystem):
Is it possible to make the initramfs read-only once expanded into memory?

Axel Fontaine
- 202
- 2
- 10
0
votes
1 answer
Changing boot device in initramfs on the fly?
I try to boot a XEN VM and it looks like the hard drive naming changed from /dev/sda1 to /dev/hda1. So the boot process drops me to a busy box in initramfs. How can I specify the probably right boot device on the fly and continue the booting?

Alex
- 676
- 1
- 14
- 37