The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
19 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 ...
0
votes
0answers
21 views

failed windows install Linux boot error to initramfs busybox vg-root no such device. ubipartman when try to fresh install? Please help

Had Linux 15 installed, was running so decided to install windows. Was trying to install Windows 7 and then 8. Both failed,but not before requiring me to create a new partition.(Windows said it ...
1
vote
0answers
16 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 ...
1
vote
1answer
41 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 ...
11
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 ...
1
vote
1answer
62 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
24 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 ...
1
vote
1answer
35 views

How to mount /usr at boot time without an initramfs?

I'm having trouble booting into my system with systemd installed. I wouldn't like to use an initramfs, so I use a self-configured kernel which starts my kernel with the following in-built command ...
2
votes
1answer
66 views

Appending files to initramfs image - reliable?

I'm modifying a bunch of initramfs archives from different Linux distros in which normally only one file is being changed. I would like to automate the process without switching to root user to ...
3
votes
1answer
73 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 ...
2
votes
0answers
68 views

How to boot Linux Mint from USB drive via Grub2

I am trying to install Linux Mint Cinnamon 64 bit on a USB drive so I have a portable desktop wit persistence. I am trying to do this manually because I haven't fount a program that does this ...
3
votes
1answer
105 views

Two compiles of the same kernel version: one boots, one unable to find root device

I have two compiles of the same kernel version (4.0.5+gentoo patches). One boots, correctly, but lacks several kernel CONFIG flags. Adding those flags and running make all && make install ...
1
vote
1answer
58 views

Is there a way to get Linux to treat an initramfs as the final root filesystem?

I want to boot a system with an initramfs that's the actual final filesystem, not a temporary initramfs for loading drivers. Unfortunately, Linux imposes different (and in my case, undesirable) ...
0
votes
0answers
68 views

(Linux) unable to mount from initramfs

I am trying to install Linux (Debian) on a new laptop. This requires special care because the laptop keyboard needs a kernel patch (and I have not compiled a kernel for about 10 years). Also, because ...
0
votes
0answers
14 views

initramfs cannot find folder/directory [duplicate]

I have just compiled a kernel for my armv7 (armhf) but for some reason it is not letting me specify the uuid as you can see below this is the line for the mount (the uuid below is not the real one, ...
2
votes
0answers
31 views

How do I prevent the kernel from pivoting and overwriting the initial file system?

How do I prevent the kernel from pivoting and overwriting the initial file system? What switches do I pass to the kernel? Do I need to add any code to the initramfs? I cross-compiled busybox and ...
2
votes
1answer
874 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! ...
2
votes
0answers
191 views

How do I add modules, binaries or scripts to initramfs in RHEL distributions?

I have an initramfs script I developed for Debian distributions that required some extra binaries to be loaded into the image. I'm now trying to port this to RHEL distributions and I'm struggling. To ...
3
votes
2answers
222 views

Debian Jessie initramfs-tools strange behavior

My current system is: $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.1 (jessie) Release: 8.1 Codename: jessie with kernel: $ uname -a ...
0
votes
0answers
83 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
1answer
100 views

get back to initramfs on shutdown

I have got my own initramfs running its own init script. After doing some things, it finally calls switch_root and executes the init script of the system, which is mounted in /mnt. Now I want to get ...
2
votes
1answer
176 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...
0
votes
0answers
92 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 ...
2
votes
1answer
283 views

How to save a file from an initramfs emergency shell?

I can't boot because of some strange error. There is an error report file generated for me, to supposedly submit it along with a bug report, or whatever. So to help me figure out what the problem is, ...
2
votes
2answers
382 views

How do I determine if my kernel uses initramfs?

I'm reading up on Wake on Lan on Debian wiki https://wiki.debian.org/WakeOnLan and there is a part that says: If your kernel uses an initramfs image (eg. Debian stock kernels), also run ...
0
votes
0answers
792 views

“Illegal instruction (core dumped)” in __lll_lock_elision() for various programs after suspend with initramfs (Arch/Manjaro)

I am getting random "Illegal instruction (core dumped)" on various programs in my Arch Linux system, since I ran some system updates. The crashes are quite random. E.g. sometimes "git status" crashes ...
2
votes
1answer
184 views

kexec crashing when booting a kernel without initramfs (ARM)

First, a few details about the setup: Linux-3.14.1 ARM am335x chip U-Boot bootloader What I am trying to achieve: U-Boot loads a kernel that contains an initramfs (call this kernel 1). U-Boot ...
5
votes
1answer
151 views

Difference in execution of init with embedded vs. external initramfs?

I'm building a very minimal linux system that just consists of the kernel (v4.1-rc5) and an initramfs populated with busybox (v1.23.2). It works fine for the most part, but I observe a difference in ...
2
votes
1answer
37 views

Copy initramfs to a specific place after build?

I've been hacking on a Raspberry Pi with an Ubuntu 15.04 image. Since I've got an encrypted boot setup, I need to generate an initramfs.gz image in the first partition of the filesystem, which is the ...
0
votes
0answers
34 views

Optimizing initramfs : Enter dm-crypt password with targeted initramfs?

All my Linux partitions except /boot lie on an encrypted LVM volume, like a typical modern Debian installation. In theory, I could shrink my initrd file by replacing the line MODULES=most in ...
1
vote
0answers
55 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
1answer
56 views

how to add application to initrd.gz

I have an initrd.gz (from linux parag*n live cd) I want to edit the file inside and add app like apache,ophcrack,etc. So far I've done extracting by following these step ...
1
vote
1answer
252 views

Unpacking of initramfs is very slow

I am trying to improve the kernel boot time of my device and I would like some help. I am using OMAPL138 with kernel version 2.6.37 and it takes about 50 seconds until the boot process is finished, ...
2
votes
2answers
375 views

kernel compilation in ubuntu, reboot msg “gave up waiting for root device”

I was trying to compile Linux kernel from source file i.e. 3.19.3 kernel version I ran the following commands for compilation first I extracted tar -xvf linux-3.19.3.tar.xz changed to its ...
1
vote
0answers
18 views

dracut md5sum boot directory

This has been going on for a few months now, but my initramfs (and kernel) for that matter have been placed in /boot/{some hash}/{kernel version}/{initramfs,linux}. Did dracut or some other module ...
2
votes
1answer
2k views

How to assemble a specific RAID array without using /etc/mdadm.conf

Is it possible to assemble a specific RAID array using mdadm and its scan-functionality, but without the need for a configuration file? Background: I'm using a custom-made initramfs to setup my ...
0
votes
0answers
100 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
1
vote
1answer
408 views

Where isoboot, boot=isolinux iso-scan/filename parameters are documented?

I see example (in dracut docs) linux (loop)/isolinux/vmlinuz0 boot=isolinux iso-scan/filename=$isofile root=live:LABEL=$isolabel ro rd.live.image these texts: ...
1
vote
1answer
561 views

Booting Gentoo on LVM inside LUKS with gpg encrypted keyfile

I'm trying to install Gentoo on LVM logical volume inside LUKS container encrypted with key file encrypted by GPG with passphrase. Everything was going smoothly until I tried to boot. I'm building the ...
1
vote
0answers
145 views

Disable KMS on Debian Sid

I've recently started having trouble resuming my Sid laptop from suspend. I'm not sure if this was caused by an upgrade or by me tinkering to try and get a splash screen working, but anyway, I have my ...
1
vote
0answers
44 views

Chainload Windows from initramfs

Is there any way to chainload Windows from/within initramfs ? I am having grub on MBR. An entry in grub.conf, Will boot into the initramfs, execute some task and then boot into the windows (of-course ...
1
vote
0answers
437 views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
0answers
36 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
3
votes
3answers
886 views

Building a Read-Only Linux System With a Writable Layer in RAM

I have a requirement to boot RHEL 6.6/7.0 into read-only mode with a writable layer only in RAM. I believe this is similar to how live CDs work, in that the file system is read-only, but certain parts ...
1
vote
1answer
289 views

new motherboard, old disk: “Gave up waiting for root device”, dropping to initramfs; grub reinstallation doesn't help

I want to use a new motherboard with an old disk. The disk has just one partition, with Debian/jessie installed. On booting, Debian is found and begins to start up with usual dmesg output lines. After ...
1
vote
1answer
246 views

unable to open luks encrypted device (wrong password)

I'm using CentOS 7 with a luks encrypted root partition. Usually I have to type my password during boot, but sometimes the system doesn't accept it. It reacts as it was wrong, but it isn't. I did not ...
0
votes
0answers
347 views

How can I resolve the initramfs issue during installation of Ubuntu 14.10 with an ISO file?

My system specs are: HP Probook 4445s, Windows 7 SP1, 64-bit, 4GB RAM, AMD A8-4500 APU I want to have both Windows 7 and Ubuntu on my laptop. I am installing Ubuntu 14.10 from an ISO file. I would ...
3
votes
1answer
202 views

disable dhcp in initramfs

In Debian, how can I tell initramfs not to request an IP address via DHCP? I'm using initramfs-tools. I'd be okay with assigning a static IP address for the initramfs, but I can't find how to set ...
2
votes
0answers
359 views

Unable to boot with dracut and luks: '/dev/resume' : file exists

I am installing gentoo and have performed my first reboot after configuration and installation within my chroot environment. I am using LUKS and LVM to manage encryption of my drives. I am encrypting ...
5
votes
1answer
562 views

Prevent Debian from auto-assembling RAID at boot

I set up a Debian wheezy (7.6), installed openmediavault, and created a software raid 5 with that. It is listed at /dev/md127. Now I want to move that to a virtual XEN VM. To do so, I have to stop ...