Questions tagged [initrd]

39 questions
11
votes
2 answers

How easy is to crack the following copy protection?

I am trying to copy-protect some work, which is a bootable SD card booting a Linux kernel on ARM device (Raspberry Pi). I am using this approach: The approach uses an initrd to mount an encrypted root filesystem. The initrd generates the…
dimovnike
  • 437
7
votes
1 answer

Using directory as initrd in QEMU

Is there a way to use a directory as initrd when booting QEMU? I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device containing those two files. Now I am wondering if…
kasperd
  • 2,931
5
votes
2 answers

Embed initramfs into existing kernel

Is it possible to embed an initramfs image into existing kernel without recompiling the whole thing? I don't have resources to do that.
user95310
5
votes
1 answer

FUSE for root filesystem in Linux?

Is it even possible to use a FUSE (non-networked) filesystem as root in Linux? I assume the program has to be present in the initrd, but I'm not sure about specifics. For instance does the FUSE program also have to be present in the same location on…
circl
  • 51
4
votes
2 answers

Need To uncompress the initramfs file

I am new to this Linux Kernel and I am trying to boot a board from the usb and I was sucessfull Now My problem is the usb has two files a) initramfs.cpio.xz b) linux.img Now what I need to do it decompress this initramfs and add some files to…
Raj
  • 41
4
votes
1 answer

Possible to boot Linux kernel without initrd?

Is it possible to boot a Linux kernel (say 2.6.35) without initrd these days? I seem to remember that this is possible before (early 2.6.x and 2.4). I mean, in theory, if a kernel has all hardware support built-in (no modules), it doesn't need an…
lang2
  • 2,322
4
votes
1 answer

What Linux kernel modules to load to detect IDE and SATA cdrom drives?

So I am creating my own copy of Linux initramfs (For learning purposes). Everything seems to be working great. I, correctly, installed shared libraries and I can run some binaries from within the initramfs. I also installed and run busybox tools…
4
votes
1 answer

Extracting init script from bult-in intrfs into Linux bzImage

I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system. However I forgot to copy init script. It is still…
4
votes
2 answers

Which is the user‑space command for resuming from hibernation?

During a long time, I used echo disk > /sys/power/state In order to hibernate to/dev/sda10and I was using the initrd of my Debian distribution to resume. But recently, I switched to a raid array that require me to use a completely custom…
user2284570
  • 2,020
3
votes
1 answer

How to boot into a root filesystem stored as partition image file on a bootable DVD?

I have created a bootable CD from a USB stick (built from Ubuntu core 12.04 according to this example) by copying the files of the USB stick's boot partition (containing vmlinuz and initrd.img) into a folder CD_root/, adding isolinux to that folder…
Carsten Scholtes
  • 365
  • 1
  • 3
  • 11
3
votes
3 answers

PXELinux and compressed kernels/images

Is it possible to boot compressed kernels with a compressed initrd with PXELinux? First, a little background: We created a custom Linux distro, for diskless OpenCL computing nodes. We want those nodes to fetch their OS from the network. Our Distro…
friedkiwi
  • 281
3
votes
2 answers

What does "mounting a root file system" mean exactly?

In the boot process of Linux we have the initrd that is a root file system and is mounted before the real root file system is ready to mount. What is the procedure of mounting? What should happen so we can say that file system is mounted? And why do…
Kamran
  • 289
2
votes
1 answer

Can I make SYSLINUX load a root fs from an image file on an NTFS partition?

SYSLINUX allows me to boot from a FAT16 USB-stick by loading a kernel image and an initial ram-disk (initrd) image from there. To get more space and a faster access, I can mount an NTFS partition from a hard disk after bootup, then use the loopback…
Chaos_99
  • 1,008
2
votes
2 answers

Linux kernel compiling: standalone OS

Hi guys I'm new to linux kernel compiling so I have some question: By compiling linux kernel are we building a totally standalone OS which doesn't depend on any linux destributions? If yes... Well when I want to create the initrd file using…
Mortie
  • 490
  • 1
  • 6
  • 17
2
votes
0 answers

What does the linux kernel/initrd loading time depend on?

I recently updated my Linux kernel from 3.1.10 to 3.5.0. Upon booting with GRUB, I noticed that this kernel (or the initial ramdisk?) takes a much longer time to load (~5-6 s vs. ~1 s with the old kernel) before the rest of the booting process…
Thomas M
  • 142
1
2 3