Results 1 to 3 of 3

Thread: difference between mkinitrd and dracut -f

  1. #1
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default difference between mkinitrd and dracut -f

    What is the difference between running `mkinitrd` and `dracut -f`?

    Is it preferable to use mkinitrd in some situation?

    https://github.com/dracutdevs/dracut...initrd-suse.sh

    mkinitrd-suse - is a compat wrapper, which calls dracut to generate an initramfs
    -> https://github.com/dracutdevs/dracut...trd-suse.8.asc

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,700

    Default Re: difference between mkinitrd and dracut -f

    For me recently in TW chroot, mkinitrd -B worked when dracut would not.

  3. #3
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: difference between mkinitrd and dracut -f

    @mrmazda Thanks.

    I've also noticed that `mkinitrd` will make a ramdisk for all installed kernels,
    where `dracut -f` seems to just make one for the active kernel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •