The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
3answers
1k views

Unlock LUKS encrypted Debian root with key file on boot partition

I'm trying to decrypt the Debian root with a key file stored in the boot partition (decrypted partition). This will break the security, but it doesn't matter now. I have to conclude this successfully ...
0
votes
0answers
16 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
39 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 ...
4
votes
1answer
9k views

Arch Linux in Qemu : Failed to access perfctr msr error

I got the Arch Linux (march build) iso file through bittorrent lately. I tried to run it in VM, but it only gets up to the main screen (The screen where you select what you want to do) shown below: ...
2
votes
1answer
849 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! ...
1
vote
1answer
60 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 ...
3
votes
1answer
72 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 ...
3
votes
1answer
2k views

How to set laptop screen brightness just after boot with full disk encryption

my girlfriend bought Lenovo Essential G500 i5-3230 and I installed Linux Mint 16 on it with full disk encryption. It is standard installation with encryption using dmcrypt and LUKS. But there is a ...
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
65 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
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 ...
2
votes
0answers
67 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 ...
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 ...
1
vote
1answer
57 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) ...
5
votes
1answer
554 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 ...
0
votes
0answers
67 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
187 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
221 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 ...
2
votes
2answers
2k views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
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
98 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
174 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 ...
2
votes
1answer
280 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, ...
0
votes
0answers
91 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 ...
1
vote
1answer
560 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 ...
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
784 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 ...
5
votes
1answer
149 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
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
3answers
1k views

How do I build a read-only Linux system that only writes to the RAM?

This is my current partition structure: Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 127428 0 127428 0% /lib/init/rw udev ...
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 ...
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 ...
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 ...
1
vote
1answer
248 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, ...
0
votes
1answer
55 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
114 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
2
votes
2answers
374 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
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: ...
3
votes
3answers
883 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
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 ...
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
0answers
144 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
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 ...