3
votes
1answer
26 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 ...
2
votes
1answer
140 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 ...
3
votes
0answers
846 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
0answers
94 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
204 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, ...
4
votes
2answers
9k 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
267 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
416 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 ...
5
votes
3answers
2k views

Does initramfs use /etc/fstab?

The way I understand it, initramfs is responsible for loading the "real" root filesystem. Now, there are two places where we define that root. First we put an entry in /etc/fstab. Second, we put the ...
0
votes
2answers
143 views

Passing execution from initrd to real init and issues with missing devices under /dev/mapper

For Gentoo, I am able to (finally) boot my encrypted system with an initrd and LILO. I used the guide at http://whitehathouston.com/documentation/gentoo/initramfs_howto.htm However it appears that ...
2
votes
1answer
4k views

Excluding kernel modules through /etc/modprobe.d/blacklist.conf does not work

I don't want to load the kernel module nouveau on my debian box at startup, so I put the following in /etc/modprobe.d/blacklist.conf: blacklist ttm blacklist drm blacklist nouveau I even did a ...
2
votes
2answers
148 views

Can I make low-level changes on a root fs mounted RO?

Related to this question: having a root file system that had to be mounted read-only (say it's completely broken), can I reformat the partition or dd a older backup image on top of it (and then ...
2
votes
1answer
705 views

Where is fsck startet for the root filesystem at boot?

I want to extend an existing Debian 6.0 system so that it is able to automatically fix a corrupt root file system by restoring a separate image. That process should start automatically instead of the ...
3
votes
3answers
2k views

Given vmlinuz and initrd.gz, how do I find out, where the kernel is going to load / (root) file system from?

I'm trying various ways of Linux installation (from iso, flash, iso on flash, kernel on flash, root FS in iso-file on flash...) and want to understand what's going on. My question is: is it possible, ...
5
votes
3answers
1k views

Does /init (or /linuxrc) script creates temporary device nodes in /dev?

Considering that GRUB executes following lines: kernel /vmlinuz root=/dev/sda1 ro initrd /initrd On boot, how does the Linux kernel finds out about /dev/sda1 device node? I know that ...
7
votes
3answers
2k views

Why does initramfs mount the root filesystem read-only

What is the reason for the root filesystem being mounted ro in the initramfs (and in initrd). For example the Gentoo initramfs guide mounts the root filesystem with: mount -o ro /dev/sda1 /mnt/root ...