Re: initramfs.cpio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 24 Mar 2013 16:27:27 +0800, ishare said:
>
>  Hi :
>     I find that my initramfs_data.cpio generated by gcc does not contain init
 files ,which should be
>     executed by terminal initialization.
>
>     My initramfs_data.cpio only contains these :  /dev  /dev/consol  /root .
>
>     where to search the init file?

You want to use mkinitramfs or mkinird or dracut or whatever your distro calls
it to create one.  gcc has no *clue* what needs to go in the initramfs (for
example, if your root file system is on a LVM partition on a LUKS-encrypted
disk, the initramfs has to do a 'cryptsetup openLuks' and then an 'lvm varyon'
before the mount will succeed).  Plus any modprobes that may or may not be
needed, etc etc etc.

Attachment: pgpyuM0ecwe2x.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux