grub2

Patrick Dupre pdupre at gmx.com
Sun May 3 13:59:00 UTC 2015


Hello,

After I run
	grub2-mkconfig -o /boot/grub2/grub.cfg
	grub2-install /dev/sda

I was unable to boot:
dracut
failed to create symbolic link
/dev/resume: file exists

This is thepart of the grub.cfg fails

menuentry 'Fedora, with Linux 3.19.5-100.fc20.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.19.5-100.fc20.x86_64-advanced-974e3598-75a5-4f34-a7dd-0d17bbd9b5f1' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6'  d0d7d188-658e-459b-9457-b61ced57d640
        else
          search --no-floppy --fs-uuid --set=root d0d7d188-658e-459b-9457-b61ced57d640
        fi
        linux   /vmlinuz-3.19.5-100.fc20.x86_64 root=/dev/mapper/VolGrpSys2-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root
        initrd  /initramfs-3.19.5-100.fc20.x86_64.img
}


changing to:

menuentry 'Fedora release 20 (Heisenbug sdc) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-974e3598-75a5-4f34-a7dd-0d17bbd9b5f1' {
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6'  d0d7d188-658e-459b-9457-b61ced57d640
        else
          search --no-floppy --fs-uuid --set=root d0d7d188-658e-459b-9457-b61ced57d640
        fi
        linux16 /vmlinuz-3.19.5-100.fc20.x86_64 root=/dev/mapper/VolGrpSys2-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys2/root LANG=en_US.UTF-8
        initrd16 /initramfs-3.19.5-100.fc20.x86_64.img
}

makes is boot

Which is the option creating the issue?
Thank.


===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


More information about the users mailing list