Profile cover photo
Profile photo
dracut - initramfs generator and framework
100 followers -
a cross distribution generic initramfs generator and framework
a cross distribution generic initramfs generator and framework

100 followers
About
Communities and Collections
Posts

Recent git HEAD of dracut gained two new options:

--print-cmdline
  print the kernel command line for the current disk layout

--persistent-policy <policy>
  use <policy> to address disks and partitions.  <policy> can be any directory name found in /dev/disk. E.g. "by-uuid", "by-label"


On a debian system:
# dracut --print-cmdline
 rd.luks.uuid=luks-e68c8906-6542-4a26-83c4-91b4dd9f0471 rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered rootfstype=ext4

On a Fedora system:
# dracut --print-cmdline
 root=UUID=8b8b6f91-95c7-4da2-831b-171e12179081 rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

# dracut --print-cmdline --persistent-policy by-uuid
 root=UUID=8b8b6f91-95c7-4da2-831b-171e12179081 rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

# dracut --print-cmdline --persistent-policy by-label
 root=LABEL=Fedora19 rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

# dracut --print-cmdline --persistent-policy by-partlabel
 root=PARTLABEL=F19 rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

# dracut --print-cmdline --persistent-policy by-partuuid
 root=PARTUUID=9d99c422-35d6-42bc-adb2-f738a6736f8f rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

# dracut --print-cmdline --persistent-policy by-id
 root=/dev/disk/by-id/ata-INTEL_SSDSA2BW160G3L_CVPR1375030T160DGN-part7 rootflags=rw,relatime,discard,data=ordered rootfstype=ext4
Add a comment...

Post has shared content
Submit your proposals for the Linux Plumbers Conference ASAP. Time is running out. Registration to the conference is closed already. If you submit a talk to the "Boot and Init" track and you are not yet registered, we can get you a registration after your submission, if it is accepted. Hurry!

#LPC2013  
Add a comment...

Post has shared content

git HEAD gained support for bcache. Although totally untested, it might work out of the box. Please test! :-)
Add a comment...

git HEAD is now able to generate a working initramfs image for Debian.
root was on LVM on a  crypted disk with split /usr and /var and /home (the layout the installer provides you).

These were the pitfalls on Debian:
1. udev rules have a different file name... why, oh why does every distribution have different names????
2. encrypted dm devices do not have ID_FS_* udev properties, because no udev rule runs blkid on them.
3. the usrmount dracut module mounted /usr in the initramfs,  which was not expected by the debian rc scripts.

The i18n dracut modules needs fixing to install the keymap and fonts needed.

#dracut #debian
Add a comment...

Post has shared content
dracut-029

Release early, release often... Before you run into those problems found after releasing 028, here comes a new dracut version. Thanks to all who have contributed to this release.

- wait for IPv6 autoconfiguration
- i18n: make the default font configurable
  To set the default font for your distribution, add
  i18n_default_font="latarcyrheb-sun16"
  to your /lib/dracut/dracut.conf.d/01-dist.conf distribution config.
- proper handle "rd.break" in systemd mode before switch-root
- systemd: make unit files symlinks
- build without dash requirement
- add dracut-shutdown.service.8 manpage
- handle MACs for "ip="
  "ip=77-77-6f-6f-64-73:dhcp"
- don't explode when mixing BOOTIF and ip=
- 90lvm/module-setup.sh: redirect error message of lvs to /dev/null

Contributions from:
Harald Hoyer
Will Woods
Baoquan He

Post has attachment
dracut-029

Release early, release often... Before you run into those problems found after releasing 028, here comes a new dracut version. Thanks to all who have contributed to this release.

- wait for IPv6 autoconfiguration
- i18n: make the default font configurable
  To set the default font for your distribution, add
  i18n_default_font="latarcyrheb-sun16"
  to your /lib/dracut/dracut.conf.d/01-dist.conf distribution config.
- proper handle "rd.break" in systemd mode before switch-root
- systemd: make unit files symlinks
- build without dash requirement
- add dracut-shutdown.service.8 manpage
- handle MACs for "ip="
  "ip=77-77-6f-6f-64-73:dhcp"
- don't explode when mixing BOOTIF and ip=
- 90lvm/module-setup.sh: redirect error message of lvs to /dev/null

Contributions from:
Harald Hoyer
Will Woods
Baoquan He
Add a comment...

Post has shared content
dracut-028 released.
.
- full integration of crypto devs in systemd logic
- support for bridge over team and vlan tagged team
- support multiple bonding interfaces
- new kernel command line param "rd.action_on_fail"
  to control the emergency action
- support for bridge over a vlan tagged interface
- support for "iso-scan/filename" kernel parameter
- lsinitrd got some love and does not use "file" anymore
- fixed issue with noexec mounted tmp dirs
- FIPS mode fixed
- dracut_install got some love
- fixed some /usr mounting problems
- ifcfg dracut module got some love and fixes
- default installed font is now latarcyrheb-sun16
- new parameters rd.live.dir and rd.live.squashimg
- lvm: add tools for thin provisioning
- also install non-hwcap libs
- setup correct system time and time zone in initrd
- s390: fixed cms setup
- add systemd-udevd persistent network interface naming

Contributions from:
Harald Hoyer
Kamil Rytarowski
WANG Chao
Baoquan He
Adam Williamson
Colin Guthrie
Dan Horák
Dave Young
Dennis Gilmore
Dennis Schridde

dracut-028 released.
.
- full integration of crypto devs in systemd logic
- support for bridge over team and vlan tagged team
- support multiple bonding interfaces
- new kernel command line param "rd.action_on_fail"
  to control the emergency action
- support for bridge over a vlan tagged interface
- support for "iso-scan/filename" kernel parameter
- lsinitrd got some love and does not use "file" anymore
- fixed issue with noexec mounted tmp dirs
- FIPS mode fixed
- dracut_install got some love
- fixed some /usr mounting problems
- ifcfg dracut module got some love and fixes
- default installed font is now latarcyrheb-sun16
- new parameters rd.live.dir and rd.live.squashimg
- lvm: add tools for thin provisioning
- also install non-hwcap libs
- setup correct system time and time zone in initrd
- s390: fixed cms setup
- add systemd-udevd persistent network interface naming

Contributions from:
Harald Hoyer
Kamil Rytarowski
WANG Chao
Baoquan He
Adam Williamson
Colin Guthrie
Dan Horák
Dave Young
Dennis Gilmore
Dennis Schridde
Add a comment...

Here comes a new dracut version. Thanks to all who have contributed to
this release.

The tarball can be found here:
    http://www.kernel.org/pub/linux/utils/boot/dracut/     ftp://ftp.kernel.org/pub/linux/utils/boot/dracut/

Git:
    git://git.kernel.org/pub/scm/boot/dracut/dracut.git     http://git.kernel.org/pub/scm/boot/dracut/dracut.git     https://git.kernel.org/pub/scm/boot/dracut/dracut.git

Git Web:
    http://git.kernel.org/?p=boot/dracut/dracut.git

Git Web RSS Feed:
    http://git.kernel.org/?p=boot/dracut/dracut.git;a=rss

Project Page:
    http://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html

Project Wiki:
    http://dracut.wiki.kernel.org

The ChangeLog can be found here:
        http://git.kernel.org/?p=boot/dracut/dracut.git;a=blob_plain;f=NEWS


dracut-027 ========== - dracut now has bash-completion
- require bash version 4
- systemd module now requires systemd >= 199
- dracut makes use of native systemd initrd units
- added hooks for new-kernel-pkg and kernel-install
- hostonly is now default for fedora
- comply with the BootLoaderSpec paths
  http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
- added rescue module
- host_fs_types is now a hashmap
- new dracut argument "--regenerate-all"
- new dracut argument "--noimageifnotneeded"
- new man page dracut.bootup
- install all host filesystem drivers
- use -D_FILE_OFFSET_BITS=64 to build dracut-install
Add a comment...
Wait while more posts are being loaded