Where is the mkinitrd command ?

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

 



I'd read in "kernel in a nutshell" that creation of initial ram disk,
performed by mkinitrd, depends of distribution. The author recommends
to use the Distribution Installation's Script if you are getting erros
when booting.
About Slackware i found it:
http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding
At "Creating a Initrd" is explained why ram disk is needed, when you
should make one and how do it.
I hope it be helpful






On Wed, Dec 31, 2008 at 5:02 AM, Mark Ryden <markryde@xxxxxxxxx> wrote:
> Hello,
>  Well: when running "make install" the initrd script is called in
> order to create an image. I am sure about it as I added an echo "in
> mkinitrd" in /sbin/mkinitrd.
>
>  - I want to know how and where this mkinitrd script is called and I
> cannot find it. I grepped for "mkinitrd" in the
> kernel tree and could not find its invokation.
>
> Any ideas ?
>
> Rgs,
> Mark
>
>
>
> On Tue, Dec 30, 2008 at 3:38 PM, ajit mote <mail2blackmen@xxxxxxxxx> wrote:
>> Can you elaborate the question with  more details ....
>>
>>
>> On Tue, Dec 30, 2008 at 6:57 PM, Mark Ryden <markryde@xxxxxxxxx> wrote:
>>>
>>> Hello,
>>> Sorry, it seems to me that I was misunderstood.
>>>
>>> I also made that grep and got these results.
>>> This does not explain a simple question:
>>> when running "make modules_install", where is the invokation of
>>> mkinitrd ? I cannot find it in the kernel tree (and Markus answer does
>>> not show it either).
>>>
>>> Any idea? this question really puzzles me !
>>> Rgs,
>>> Mark
>>>
>>>
>>> On Tue, Dec 30, 2008 at 2:44 PM, Markus Heidelberg
>>> <markus.heidelberg@xxxxxx> wrote:
>>> > Mark Ryden, 30.12.2008:
>>> >> Hello,
>>> >>   When I run "make install" it calls, among other things, the
>>> >> "mkinitrd" script.
>>> >>
>>> >> I tried to grep in the latest kernel tree for this call and could not
>>> >> find it.
>>> >
>>> > $ git grep -i mkinitrd
>>> >
>>> > Documentation/Changes:118:Mkinitrd
>>> > Documentation/Changes:122:mkinitrd be upgraded.
>>> > Documentation/Changes:310:Mkinitrd
>>> > Documentation/filesystems/tmpfs.txt:51:   loop mounts of tmpfs files do
>>> > work, so mkinitrd shipped by most
>>> > Documentation/ia64/xen.txt:45:    # mkinitrd -f
>>> > /boot/efi/efi/redhat/initrd-2.6.18.8-xen.img \
>>> > Documentation/ia64/xen.txt:150:    # mkinitrd -f
>>> > /boot/efi/efi/redhat/initrd-2.6-pv_ops-xenU.img \
>>> > Documentation/scsi/aic79xx.txt:412:          might cause problems with
>>> > the /sbin/mkinitrd program and/or
>>> >
>>> > Documentation/Changes line 312:
>>> > o  <ftp://rawhide.redhat.com/pub/rawhide/SRPMS/SRPMS/>
>>> >
>>> > But that link doesn't work. You can use the package from you linux
>>> > distribution anyway.
>>> >
>>> > Markus
>>> >
>>> >
>>>
>>> --
>>> To unsubscribe from this list: send an email with
>>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Ajit Subhash Mote
>>
>>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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