[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Where is the mkinitrd command ?
- To: kernelnewbies@xxxxxxxxxxxx
- Subject: Where is the mkinitrd command ?
- From: "José Luis Segatto Junior" <zuzesegatto@xxxxxxxxx>
- Date: Wed, 31 Dec 2008 21:08:31 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cfRqY5aongIoXMagAjJ+XqfjAx4urVGgT+sP7bY2PMs=; b=vOUo535hvOulUCcvglkCFl/VJfH68oU6pHUS/FkHa5ay5pKfUI7YDtfKgP+dpmKIw7 1v9FYkSuVuGF1yQH2vV5qSO+vbprBiQUJHhS/+4e4Z8f8g+7moV0yTkzhcG1wXrOFJQt ryxZPqhx9nWVVJ+DDUtWCGP+ovc2CiRF4kNzU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XlDQXNDicfDA6u2+yRLjh9fGmJFKmyGSevh3bMcZqFQ9NEJzCaAedeF459NXlQ5q4J 5I78o1dw2Ro/r1zM9qdhFztEafsHbXPbNxgdevDpi8DrNNfPwC8fIwi//MoOKRE5+9xg Q2PJGTDbeH6JpJaC5kgBvml89kNQNmOKpt5fQ=
- In-reply-to: <3e073f0e0812311458x54a15accn97d95ee568379d6f@mail.gmail.com>
- List-archive: <http://mail.nl.linux.org/kernelnewbies/>
- List-help: <mailto:ecartis@nl.linux.org?Subject=help>
- List-id: <kernelnewbies.nl.linux.org>
- List-owner: <mailto:ecartis-owner@nl.linux.org>
- List-post: <mailto:kernelnewbies@nl.linux.org>
- List-software: Ecartis version 1.0.0
- List-subscribe: <mailto:kernelnewbies-request@nl.linux.org?Subject=subscribe>
- List-unsubscribe: <mailto:kernelnewbies-request@nl.linux.org?Subject=unsubscribe>
- References: <dac45060812300406x39d1fd97xcc8e26f332b29e36@mail.gmail.com> <200812301344.58512.markus.heidelberg@web.de> <dac45060812300527x74851e2agdb2eefcda5c86e64@mail.gmail.com> <cfc457430812300538p4698595fya39252d46e8c1633@mail.gmail.com> <dac45060812302302o73d56386w5551102b5838df19@mail.gmail.com> <3e073f0e0812311458x54a15accn97d95ee568379d6f@mail.gmail.com>
- Sender: kernelnewbies-bounce@xxxxxxxxxxxx
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