Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [initramfs]

The tag has no usage guidance.

0
votes
0answers
10 views

Does Debian keep log message from initrd

I currently face issues with LVM scanning for devices during a boot of Debian Stretch. The entire OS (but /boot) resides on a LV. I can see the relevant warning messages on the console but they do not ...
1
vote
0answers
47 views

Upgraded 14.04 to 16.04 and boot is dropping to initramfs prompt

Anyone know how to fix this? I upgraded a system with LVM partitions for /, /var, /usr, /home and it seems like initrd can't figure out the LVM scheme. I found a bugreport on launchpad regarding this ...
0
votes
0answers
20 views

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 ...
1
vote
1answer
298 views

Ubuntu full disc encryption on Hetzner Cloud adding add static route in initramfs

I try to setup Ubuntu with full disc encryption on top of Hetzner Cloud. I got everything to work except the network connection in initramfs. Thanks to the UI console its possible to unlock, but I ...
0
votes
1answer
129 views

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 ...
1
vote
1answer
330 views

Static route in initramfs

My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the ...
0
votes
1answer
225 views

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 ...
1
vote
1answer
3k views

CentOS7 Dracut lvm command not found

I updated CentOS7 kernel because of Meltdown issue from 3.10.0-693.11.1 to 3.10.0-693.11.6, but after that update, I cannot boot as centos drop to the dracut with error warning /dev/mapper/centos-...
0
votes
1answer
514 views

cpio incorrectly unpacking initrd in Ubuntu Xenial

I am trying to unpack initrd image: # file /boot/initrd.img-4.11.0-14-generic /boot/initrd.img-4.11.0-14-generic: ASCII cpio archive (SVR4 with no CRC) # mkdir /tmp/initrd; cd /tmp/initrd # cpio -i -...
1
vote
0answers
244 views

LVM error causing fall back to initramfs on boot after ubuntu upgrade

I've recently updated Ubuntu from an older LTS release (12.04) to 14.04 LTS and upon reboot, ubuntu fails to load and an error in /sbin/lvm is shown: There appears to be one or more degraded LVM ...
1
vote
1answer
329 views

Can't send password to scp prompt during boot

I have Ubuntu OS with encrypted partition. During boot, I want to download keyfile from remote server using scp and use it to decrypt partition. What I did: /etc/initramfs-tools/hooks/myhook.sh #...
1
vote
2answers
344 views

Ubuntu: updated mainline kernel, now drops to initramfs

I attempted to upgrade our system's mainline kernel and am now dropping into initramfs. < update>: The commands I used were: apt-get update apt-get upgrade apt-cache search linux-image //grabbed ...
7
votes
1answer
572 views

Introspection of initramfs systemd services - How?

Background I'm running ArchLinux, using the systemd binary to start necessary services as part of the initramfs (root fs decryption, mounting etc.). I would like to examine what systemd units are ...
0
votes
1answer
43 views

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 $...
0
votes
1answer
415 views

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 ...
0
votes
1answer
93 views

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 ...
4
votes
1answer
2k views

Linux diskless boot - NFS share not mounting during ramdisk boot

(This is my first post so hopefully I'm formatting it correctly). I've added in as much information as possible without being TL:DR. My basic issue is that I hit walls when trying to do a PXE ...
1
vote
1answer
1k views

PXE boot kernel panic

I am having trouble setting up a PXE boot server. I've got isc-dhcp-server running, tftp-hpa serves the files over tftp (verified works), and apache2 hosts the rootfs image. The PXE client seems to ...
1
vote
1answer
108 views

Ubuntu ramdisk template

I've been working on a ramdisk template for running a complete root filesystem on the RAM of a baremetal server(over IPMI so no physical access) that boots over PXE. I used debootstrap to create an ...
0
votes
1answer
539 views

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 ...
1
vote
1answer
493 views

Linux server — verifying bootability of initramfs image

how does one verify the bootability of initramfs image without actually rebooting the system -- the reason why we need this is - suppose if one takes the system for a short window and suddenly finds ...
0
votes
0answers
129 views

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. ...
2
votes
1answer
1k views

To write in mdadm.conf in initramfs prompt doesn"t not save changes after reboot

I made a mistake with my mdadm.conf with my debian backup server. I used this command : mdadm --detail --scan --verbose >> /etc/mdadm/mdadm.conf to add a raid5 (it works great). By using ...
-2
votes
1answer
340 views

mkinitrd to preload virtualBox LSI SAS storage drivers [closed]

I am trying to compile my own kernel (2.6.9). Everything works on the compilation and building end, but... After rebooting to the new kernel - the LVM (VolumeGroup00) cannot be loaded. My suspicious ...
0
votes
1answer
727 views

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 ...
2
votes
2answers
16k views

Server won't boot, kernel panic - not syncing

After a reboot of a CentOS 6.2 server we are getting a kernel panic with the following error: Kernel panic - not syncing: Attempted to kill init! Panic occurred, switching back to text console When ...
4
votes
1answer
1k views

Booting a diskless Debian system using bonding, bridging, and iSCSI

I'm trying to build my personal holy grail: booting my Debian Wheezy KVM server diskless from a iSCSI target and the only configuration needed on the diskless server is the iSCSI parameters in the NIC ...
0
votes
1answer
660 views

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 ...
1
vote
0answers
62 views

What to use as an installer bootstrap?

I've got some embedded systems which I'd like to deploy a debootstrap-prepared Ubuntu rootfs to. But I need some kind of a stub which I can use to boot these systems, either via USB or PXE. Basic ...
0
votes
2answers
2k views

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 ...
3
votes
1answer
293 views

RAID-5 array being split on reboot (ubuntu)

I've set up a RAID-5 array on Ubuntu 13.04 (kernel 3.8.0-27-generic) using mdadm - v3.2.5 - 18th May 2012. It appears to work fine and be in high spirits: $ cat /proc/mdstat Personalities : [linear]...
-2
votes
1answer
388 views

Initramfs failure, Ubuntu 10.10 32bit during boot [closed]

I am getting initramfs error. I found Ubuntu server won't boot, stops at initramfs link on ServerFault. But the solution didn't worked for me. Please suggest the solution. Any help would be ...
1
vote
2answers
704 views

Ubuntu Server 12.10: set up network bridge in the initramfs pre-boot environment

In this scenario, I have a machine that boots its root volume off of iSCSI, and it only has a single network interface. If network configuration is done the normal way, then taking the interface down ...
0
votes
1answer
697 views

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?
0
votes
1answer
830 views

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 ...
0
votes
1answer
2k views

NFS-Root not working when booting over PXE

I am desperately trying to get a diskless client running over PXE-Boot using a NFS-Share as a root file system. I did this before some years ago but for some reason I am stucked at this since days. ...
1
vote
1answer
2k views

Rackspace Ubuntu 12.04 server stuck in initramfs after kernel upgrade

Can't boot after I did a aptitude full-upgrade and let it update menu.lst (did a diff first and it looked good). This is what I've done so far in the BusyBox shell: mkdir /tmp/xvda1 mount /dev/xvda1 ...
2
votes
1answer
311 views

Possible to use /dev/mapper in custom initrd (CentOS/RHEL)?

I'm attempting to setup a mapper device prior to boot as it requires use of my /var partition which is relied heavily upon startup. My issue is it's seemingly failing and not providing any output - ...
1
vote
1answer
2k views

Ubuntu RAID5 Software Raid inactive - unable to boot into Ubuntu from non-raid drive

I have a server with 6 disks in it, 5 of which are in a RAID5 array. I came home from work today to find that the landlord had been through the house with a sparky, and the power had been reset. Now, ...
4
votes
2answers
1k views

Using FlashCache on /var on startup

I would like to have FlashCache cache my /var partition however I can't seem to get it to play nice upon bootup (IE: not really sure how to do it). I'm not sure if I need to modify the initramfs/use ...
5
votes
2answers
9k views

How to upgrade module located inside initramfs?

We have recently upgraded our e1000e (intel ethernet) module on one of our CentOS 6.0 boxes. Even tho the module compile and installed fine, the old version is still being used. We have tracked this ...
0
votes
1answer
507 views

What part of initramfs (Ubuntu) runs scripts/local?

I'm trying to understand how Ubuntu 12.04's initramfs runs scripts/local and in what order. I don't see it in init. What line of code runs scripts/local?
-3
votes
1answer
996 views

How can I run Linux from RAM only [duplicate]

Possible Duplicate: Copy OS to tmpfs from initramfs I am putting together a new server with 64GB of RAM and I would like to copy the whole Linux OS into RAM from the disk and run the operating ...
-3
votes
1answer
271 views

Copy OS to tmpfs from initramfs [closed]

I am putting together a new server with 64GB of RAM and I would like to copy the whole Linux OS into a tmpfs from the disk and use the tmpfs as the OS (and I will use rsync to back up the tmpfs to ...
0
votes
1answer
258 views

Reassembling Raid 10 in Ubuntu from the initramfs menu

My raid 10 - used for / - has failed for my Ubuntu box. I replaced the bad disk and I am trying to reassemble the raid from the initramfs menu. I have tried starting the degraded Raid and using the ...
0
votes
1answer
1k views

auto assembling mdadm created RAID - initramfs doesn't change

(Ubuntu 10.10 + mdadm 3.1.4) I have my raid described in /etc/mdadm/mdadm.conf: HOMEHOST <system> ARRAY metadata=imsm UUID=46e68921:eea24d1d:e933eee8:192d55bc ARRAY /dev/md/Volume0 ...
5
votes
7answers
16k views

What tells initramfs or the Ubuntu Server boot process how to assemble RAID arrays?

The simple question: how does initramfs know how to assemble mdadm RAID arrays at startup? My problem: I boot my server and get: Gave up waiting for root device. ALERT! /dev/disk/by-uuid/[UUID] does ...
1
vote
1answer
6k views

New install Ubuntu 10.10 Server, won't boot. “ls /dev/disk/by-uuid” generates Bus Error

I installed Ubuntu 10.10 Server on a very old computer (bought it in 2002), but it won't boot. It tells me it can't find the root mount volume by it's UUID and also gives me the follwing type of ...
9
votes
8answers
53k views

Logical volumes are inactive at boot time

I resized my logical volume and filesystem and all went smoothly. I installed new kernel and after reboot I can't boot neither current nor former one. I get volume group not found error after ...
2
votes
2answers
2k views

software RAID array not starting in initramfs on Debian

One of my Debian servers (kernel 2.6.30-AMD64) refuses to start the software RAID array that houses the root partition in initramfs. It dumps me with a busybox console. When I follow the necessary ...