grub2 in fedora 22
by Patrick Dupre
Hello,
I had a bad surprise.
After the last update grub2-mkconfig -o /boot/grub2/grub.cfg
the grub.cfg is not correct
I have:
menuentry 'Fedora (4.1.2-200.fc22.i686+PAE) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.2-200.fc22.i686+PAE-advanced-78c1373b-43b8-4706-8771-4bc5a2ea0fa4' {
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' fff6282e-eb24-405f-b43b-06ba5cc92c70
else
search --no-floppy --fs-uuid --set=root fff6282e-eb24-405f-b43b-06ba5cc92c70
fi
linux16 /vmlinuz-4.1.2-200.fc22.i686+PAE root=/dev/mapper/VolGrpSys0-root ro vconsole.keymap=fr rd.dm=0 rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys3/root
initrd16 /initramfs-4.1.2-200.fc22.i686+PAE.img
}
while it should be:
inux16 /vmlinuz-4.1.2-200.fc22.i686+PAE root=/dev/mapper/VolGrpSys0-root ro vconsole.keymap=fr rd.dm=0 rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root
VolGrpSys0/root is a fedora 20.
where did grub2-mkconfig find this wrong information?
How can I fix it (i.e. not manually in gbub.cfg
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)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
===========================================================================
8 years, 11 months
UEFI system: reboot does not work but shutdown -r now does
by Ranjan Maitra
Hi,
On a new UEFI-boot desktop running Fedora 22, the command (on a terminal prompt) "reboot" does not actually bring up the system. Actually, it is not clear that the system even goes down. What happens is that the monitor light goes off but the desktop light stays on -- and nothing happens. I don't even see the Fedora f/infinity bubble.
However, running "shutdown -r now" brings the Fedora f/infinity bubble, the lights switch and the system boots again.
What is the issue here? Any suggestions? I have never had this happen previously, but then this my first try at a UEFI system.
Is it possible to disable "reboot" -- i am concerned about "reboot"ing remotely by habit and accident and the system not coming up until being powered on.
I considered renaming the file /usr/sbin/reboot to something else, but then an update to systemd would likely break my "fix".
Many thanks and best wishes,
Ranjan
--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium
8 years, 11 months