* creating initramfs in fedora
@ 2016-03-11 13:02 Ronit Halder
2016-03-11 16:42 ` Greg KH
2016-03-12 0:57 ` Valdis.Kletnieks at vt.edu
0 siblings, 2 replies; 3+ messages in thread
From: Ronit Halder @ 2016-03-11 13:02 UTC (permalink / raw)
To: kernelnewbies
Hi,
How can I create a initramfs file without dracut from the files in an
installed system in fedora?
regards,
Ronit
^ permalink raw reply [flat|nested] 3+ messages in thread
* creating initramfs in fedora
2016-03-11 13:02 creating initramfs in fedora Ronit Halder
@ 2016-03-11 16:42 ` Greg KH
2016-03-12 0:57 ` Valdis.Kletnieks at vt.edu
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2016-03-11 16:42 UTC (permalink / raw)
To: kernelnewbies
On Fri, Mar 11, 2016 at 06:32:39PM +0530, Ronit Halder wrote:
> Hi,
> How can I create a initramfs file without dracut from the files in an
> installed system in fedora?
Why would you want to do that? The init sequence in Fedora isn't
expecting that to happen, so if you want to do this you really are on
your own.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* creating initramfs in fedora
2016-03-11 13:02 creating initramfs in fedora Ronit Halder
2016-03-11 16:42 ` Greg KH
@ 2016-03-12 0:57 ` Valdis.Kletnieks at vt.edu
1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-03-12 0:57 UTC (permalink / raw)
To: kernelnewbies
On Fri, 11 Mar 2016 18:32:39 +0530, Ronit Halder said:
> How can I create a initramfs file without dracut from the files in an
> installed system in fedora?
If you're hell-bent on doing something unsupported, remember that dracut
is just an easily understood python script, so you can just follow along
and do just the parts your use case needs.
But before going to that length, check whether you can use already-existing
dracut options to get what you want. For instance, I use this for initramfs
on my laptop:
/usr/bin/dracut --xz -f -H --no-kernel -o "busybox qemu btrfs resume kernel-modules dmraid multipath" /boot/initramfs-${rel}.img ${rel}
which means ".xz compress it, overwrite the .img if needed, only build in
support for this laptop, don't include kernel modules (all the ones needed
to get the rootfs mounted are =y in the config), leave out support for
dracut modules I listed".
And that's only the start of what you can do to customize what it does.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160311/1f602a83/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-12 0:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 13:02 creating initramfs in fedora Ronit Halder
2016-03-11 16:42 ` Greg KH
2016-03-12 0:57 ` Valdis.Kletnieks at vt.edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).