How to recreate a destroyed boot-partition?

Reindl Harald h.reindl at thelounge.net
Fri Apr 26 14:49:38 UTC 2013



Am 26.04.2013 16:43, schrieb Regina Anger:
> I have accidentially deleted all contents oft my Boot partition. the system is still running so is there any cure
> which allows recreating the content there?
> 
> i already ran dracut but that only recreated the initramfs file  

that's easy

yum reinstall kernel grub2-tools
dracut -f
grub2-mkconfig -o /boot/grub2/grub.cfg
________________________

[root at srv-rhsoft:~]$ rpm -q --file /boot/grub2
grub2-tools-2.00-15.fc18.x86_64

that's why re-install grub2-tools too is a good idea

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130426/e3cb5603/attachment.sig>


More information about the users mailing list