Am 09.07.2012 09:44, schrieb Harald Hoyer:
# rm -f /etc/os-release; mkdir /tmp/dracut-fixup; \> Do not install dracut-020-51!
>
> Sorry for those, who have been bitten by dracut-020-51. Instead of installing to
> the /var/tmp/initramfs.* directory, it installed in your real root.
>
> To remove most (if not all) of the files, it has installed, do the following:
>
> # rm /.bash_history
> # rm /dracut-state.sh
> # rm /lib/dracut-crypt-lib.sh /lib/dracut-lib.sh /lib/dracut/modules.txt
> # rm -r /lib/dracut/hooks
> # rm /sbin/btrfs_finished /sbin/btrfs_timeout /sbin/cryptroot-ask
> # rm /sbin/initqueue /sbin/insmodpost.sh /sbin/iscsiroot /sbin/loginit
> # rm /sbin/lvm_scan
> # rm /sbin/mdraid-cleanup /sbin/mdraid_start /sbin/nbdroot /sbin/netroot
> # rm /sbin/nfsroot /sbin/probe-keydev /bin/dracut-cmdline /bin/dracut-initqueue
> # rm /bin/dracut-pre-pivot /bin/dracut-pre-trigger /bin/dracut-pre-udev
> # rm /bin/mount-hook /bin/mount-lun.sh
> # rm /lib/fs-lib.sh /lib/net-lib.sh /lib/nfs-lib.sh
> # rm /etc/initrd-release
> # rm /lib/systemd/system/dracut*
> # rm /lib/systemd/system/*/dracut*
> # rm /lib/systemd/system/default.target
> # rm /lib/systemd/system/initrd-switch-root.service
> # rm -r /lib/systemd/system/initrd-switch-root.target
> # vi /etc/fstab .. remove all /sysroot lines
> # mkdir /tmp/dracut-fixup; ( cd /tmp/dracut-fixup; yumdownloader setup; \
> rpm2cpio setup*.rpm | cpio -id ; cp etc/profile /etc ); \
> rm -fr /tmp/dracut-fixup
> # mkdir /tmp/dracut-fixup; ( cd /tmp/dracut-fixup; \
> yumdownloader --archlist=$(arch) systemd; \
> rpm2cpio systemd*.$(arch).rpm | cpio -id ; \
> cp usr/lib/systemd/system/emergency.service /usr/lib/systemd/system; \
> cp usr/lib/systemd/system/rescue.service /usr/lib/systemd/system; ); \
> rm -fr /tmp/dracut-fixup
> # for i in 10-console.rules 10-dm.rules 11-dm.rules 13-dm-disk.rules \
> 40-multipath.rules 50-firmware.rules 50-udev-default.rules 50-udev.rules \
> 59-persistent-storage.rules 60-cdrom_id.rules 60-pcmcia.rules \
> 60-persistent-storage.rules 61-dmraid-imsm.rules \
> 61-persistent-storage-edd.rules 61-persistent-storage.rules \
> 64-device-mapper.rules 64-lvm.rules 64-md-raid.rules \
> 65-md-incremental-imsm.rules 71-biosdevname.rules \
> 80-btrfs.rules 80-drivers.rules 95-dm-notify.rules 95-late.rules \
> 95-udev-late.rules ; do [[ -f $i ]] && rm -vf /etc/udev/rules.d/$i; done
>
( cd /tmp/dracut-fixup; yumdownloader fedora-release; \
rpm2cpio fedora-release*.rpm | cpio -id ; cp etc/os-release /etc ); \
rm -fr /tmp/dracut-fixup
--
Booted up kernel-3.5.0-0.rc3.git0.2.fc18.x86_64.
tom
--
Tom London
-- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test