The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
6 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
9 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
20 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
0answers
15 views

Is it possible to recover an OS from (initramfs) ? [closed]

I have a non working battery and a bad cable connection, so my pc often switches off inpropriately and i end into the dark image with the prompt (initramfs). When i type help a list of commands i can ...
1
vote
0answers
37 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
13 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
18 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 ...
0
votes
0answers
39 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
17 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 ...
2
votes
2answers
54 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
87 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
67 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
170 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
53 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
166 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 ...
3
votes
0answers
96 views

vPrevent 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 ...
2
votes
1answer
289 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 ...
1
vote
0answers
44 views

How to abort/cancel a running command in initramfs?

When I invoke a long-running command, e.g. du, I don't see a way to abort/cancel it (Strg/Ctrl+c doesn't work), other shells/ttys aren't available. Am I completely doomed after having started a long ...
1
vote
0answers
59 views

How to regenerate an initramfs with ash built-in shell?

I foolishly edited my /etc/mkinitcpio.conf and now my computer won't boot. It drops down to (initramfs). It claims it cannot find the root device. However, cat /proc/cmdline shows the correct UUID of ...
0
votes
0answers
58 views

fails to boot after reboot (update required), mouting failed and no init found

After updating my ubuntu system, it requires me to reboot the pc. So I did it and then the following message shows on the screen: mount: mouting /dev/loop0 on /root failed: Invalid argument mount: ...
1
vote
0answers
34 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 ...
0
votes
0answers
25 views

log_success_msg: not found while booting with in initramfs

I use the log_success_msg in a script which is into the init-bottom directory of my customized initramfs. I get the following error message: /scripts/init-bottom/__rootaufs.sh: line 154: ...
1
vote
0answers
41 views

MDADM Array Detection Slowing Down Boot - Why?

I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the ...
0
votes
0answers
122 views

Archlinux dm-crypt setup problem

I'm trying to setup dm-crypt to have complete encrypted volume and flash drive, that contains all the /boot partition.(i.e. in terms of archwiki I want to achieve #Plain dm-crypt(bit.ly/VNLKw0) ...
1
vote
0answers
78 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
3
votes
1answer
96 views

eCryptfs key in kernel image or initramfs

I have an embedded Linux system with unencrypted kernel image and initramfs in NAND flash. My RootFS is in SD card. I want to encrypted some files on SD Card as my SD card is easily accessible ...
3
votes
1answer
1k views

Minimal Linux with kernel and BusyBox: /etc/inittab is ignored, only /init is executed

I managed to create a small and fully functional live Linux CD which contains only kernel (compiled with default options) and BusyBox (compiled with default options + static, all applets present, ...
6
votes
1answer
50 views

How do I know what decompression algorithms are compiled-in into the linux kernel?

If /proc/config.gz is unavailable, how do I know what decompression algorithms the running kernel is capable of using on a compressed cpio initramfs? Is the gzip algorithm always available, even when ...
4
votes
2answers
708 views

Live Distros: UBCD boot Deft, Caine, and Tails from Custom Menu

I'm building my own UBCD and I'm using dual layer to fit 7.5Gigs Useful resources for UBCD customization: The SYSLINUX Project UBCD Customize Casper Man Page Live Boot Man Page Here's my ...
2
votes
1answer
3k 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
374 views

Boot resolution change in initramfs on laptop monitor and HDMI monitor

I have Linux Mint 17 on my laptop. Also I have 22'' monitor connected to laptop using HDMI cable. My disk if fully encrypted with LUKS and LVM. On boot I get graphical prompt to enter password for ...
2
votes
0answers
341 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 ...
3
votes
1answer
4k views

After installing a new Kernel in Ubuntu 14.04, rebooting takes me to busybox initramfs. How do I mount a filesystem after that?

I have a virtual machine with Ubuntu 14.04 in it. I recently built and installed linux-3.14.5 kernel on it, and tried to boot into it, but it drops me to BusyBox v1.21.1 built-in shell. Here's what I ...
3
votes
1answer
989 views

When would you use pivot_root over switch_root?

I'm wanting to understand the Linux init process better in order to netboot a system over ceph rather than nfs. In the process I've come across two forms of switching root. One called switch_root, ...
0
votes
0answers
70 views

Change Initramfs script

I made RAID 0 by mdadm'ing partition located on dmraid VIA VT6421 and Western Digital hdd. Installed Ubuntu on that RAID. Now, when I boot, I get (initramfs) ash prompt. There, I have to write mdadm ...
1
vote
1answer
166 views

Correct location of initramfs.cpio file when compiling kernel

I am following this article and generated an initramfs.cpio file. Now the tutorial mentiones that I have to put this file in build directory: Finally, you have to rebuild the kernel again: # 0. ...
1
vote
1answer
362 views

Difference between initramfs.cpio and rootfs.cpio

What are the differnces between the two? Can I just use initramfs.cpio or do I need to use both? Actually my rootfs.cpio file is 7 Mb and initramfs.cpio is just 0.5mb, so I was thinking if I can use ...
1
vote
0answers
253 views

Replacing default initramfs with my own

I followed this article to develop my own sample intramfs.cpio Now I have to put this in my kernel and compile. The procedure that I follw for petlinux is that I first run petalinux-config (and ...
-2
votes
1answer
71 views

Which would mount faster initrd or initramfs ? [closed]

I want to boot my linux as fast as possible. I have to make a choice between initrd and intiramfs. Which one should mount faster and have smaller size?
1
vote
2answers
211 views

Understanding a simple configuration file for initramfs

I am new to file system. Can somebody explain me what is happening in the following? # This is a very simple, default initramfs dir /dev 0755 0 0 nod /dev/console 0600 0 0 c 5 1 nod ...
1
vote
1answer
1k views

How to mark “not fully installed” apt-get package as “successfully installed”

I have installed Debian 7.4 on my Iomega ix2-200 NAS, following this blog. The ix2-200 is running an ARM Marvel CPU and has a 128 MB NAND flash memory. The flash contains an initramfs image (uInitrd) ...
6
votes
4answers
829 views

Why do I need initramfs ?

I found that if I choose jffs or sd as file system(and not initramfs),the kernel size is very small (1.4 MB as compared to with initramfs-3.4MB). It shows that initramfs takes concidreably large ...
3
votes
0answers
145 views

Changing a root file system from initramfs to JFFS2

I am running Linux on an ARM based development board from flash memory. The rootfs is initramfs. I chose this in the configuration utility under "file system". Then I realized that I need ...
2
votes
0answers
400 views

Why do I need to specify two init images - initrd and boot - inside KVM to boot to bash?

My machine is running inside a KVM virtual machine (Parallels Desktop v8), having a BIOS (not UEFI), having one SATA drive connected, one GPT partition on that disk, the partition is ext4 formatted, ...
5
votes
2answers
34k views

How to fix boot into initramfs prompt and “mount: can't read '/etc/fstab': No such file or directory” and “No init found”?

Installing a new system using a GPT partitioned disk dedicated to a single partition, ext4 formatted, extlinux (version 4.05) as bootloader, Ubuntu Core version 13.10 amd64 as rootfs, and Ubuntu ...
3
votes
1answer
713 views

How can I install Linux on a UEFI system with Secure boot?

My motherboard is a Gigabyte 990XA-UD3 (CPU 1), it's a UEFI -Dual boot, and when I try installing Linux Mint 16 Cinnamon or Ubuntu 13.10 it always bring this error (initramfs) Unable to find a medium ...
3
votes
1answer
1k 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
661 views

How to regenerate initramfs so it can include bcache module?

Eventually I have converted root-fs into bcache (with the help of blocks). I skipped the step update-initramfs -u -k all because I've been using bcache on other partitions for some time, and I've ...
1
vote
0answers
44 views

Kiwi produces huge initramfs

I'm using Kiwi to build a boot CD based on OpenSUSE 13.1. I want the disk ISO image to be as tiny as possible. I managed to get the read-only filesystem down to only 100MB, but for reasons unknown, ...
2
votes
1answer
540 views

I want to understand Buildroot - the 3 compression config options (kernel, initramfs & rootfs)

I'm using buildroot to generate my images and for sure there is the option of compression with the help of different methods (LZO, LZMA, gzip, ...). So far i found these 3 compression options in ...