On 07/02/2015 05:14 PM, Brandon Vincent (Student) wrote:
You should be able to accomplish this by using live media.
Once you've booted into an openSUSE live system, you should be able to drop to the rescue.target either using systemctl(1) or the "single" kernel parameter at the boot menu.
Then mount your root partition: mount /dev/sdXY /mnt
Then mount the boot partition: mount /dev/sdXZ /mnt/boot
Then you'll need to do a few bind mounts: mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev
Then chroot to the installed instance of openSUSE: chroot /mnt
Then rebuild the initramfs: dracut -f <image> <kernel-version>
Obviously, you'll need to find out the proper names of your block devices to mount and the name of the kernel and the initramfs image you wish to rebuild.
Thanx 10E6, that worked a treat. For future generations finding this message with the help of Mr Google, note that the dracut command looks something like this: dracut -f initrd-4.0.3-1-desktop 4.0.3-1-desktop (i.e. use the version only for the kernel, not "vmlinuz-..."). -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org