Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Ranjan Maitra
On Tue, 24 Dec 2013 11:52:11 -0700 Chris Murphy wrote: > > On Dec 24, 2013, at 9:28 AM, Ranjan Maitra > wrote: > > >> > >> > >> grub2-install --debug /dev/sda > > > Looks good. > > > > >> bash -x grub2-mkconfig -o /boot/grub2/grub.cfg > > FYI: > Line 79, I do not see resume= having bee

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Chris Murphy
On Dec 24, 2013, at 9:28 AM, Ranjan Maitra wrote: >> >> >> grub2-install --debug /dev/sda Looks good. > >> bash -x grub2-mkconfig -o /boot/grub2/grub.cfg FYI: Line 79, I do not see resume= having been added to /etc/default/grub, therefore it won't be in the grub.cfg. Line 127/128, it f

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Ranjan Maitra
On Tue, 24 Dec 2013 18:53:26 +0100 Michael Schwendt wrote: > On Tue, 24 Dec 2013 10:28:37 -0600, Ranjan Maitra wrote: > > > > bash -x grub2-mkconfig -o /boot/grub2/grub.cfg > > > > Uploading (8.6KiB)... > > http://ur1.ca/g93u5 -> http://paste.fedoraproject.org/64214/02391138 > > So, the initrd

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Michael Schwendt
On Tue, 24 Dec 2013 10:28:37 -0600, Ranjan Maitra wrote: > > bash -x grub2-mkconfig -o /boot/grub2/grub.cfg > > Uploading (8.6KiB)... > http://ur1.ca/g93u5 -> http://paste.fedoraproject.org/64214/02391138 So, the initrd for the F20 release kernel 3.11.10-301.fc20 is missing here, too: + echo

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Ranjan Maitra
On Tue, 24 Dec 2013 09:04:27 -0700 Chris Murphy wrote: > > On Dec 24, 2013, at 2:12 AM, Michael Schwendt wrote: > > > On Mon, 23 Dec 2013 19:25:49 -0600, Ranjan Maitra wrote: > > > >> ### BEGIN /etc/grub.d/10_linux ### > >> menuentry 'Fedora, with Linux 3.11.10-301.fc20.x86_64' --class fedora

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Chris Murphy
On Dec 24, 2013, at 2:12 AM, Michael Schwendt wrote: > On Mon, 23 Dec 2013 19:25:49 -0600, Ranjan Maitra wrote: > >> ### BEGIN /etc/grub.d/10_linux ### >> menuentry 'Fedora, with Linux 3.11.10-301.fc20.x86_64' --class fedora >> --class gnu-linux --class gnu --class os $menuentry_id_option >> 'g

Re: F20: yum update does not automatically update grub2

2013-12-24 Thread Michael Schwendt
On Mon, 23 Dec 2013 19:25:49 -0600, Ranjan Maitra wrote: > ### BEGIN /etc/grub.d/10_linux ### > menuentry 'Fedora, with Linux 3.11.10-301.fc20.x86_64' --class fedora > --class gnu-linux --class gnu --class os $menuentry_id_option > 'gnulinux-3.11.10-301.fc20.x86_64-advanced-f96397ae-311d-4826-8fb0

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Ranjan Maitra
Thanks! On Mon, 23 Dec 2013 22:25:52 -0700 Chris Murphy wrote: > > On Dec 23, 2013, at 9:32 PM, Ranjan Maitra > wrote: > > > So I will add resume=uuid="" (gigantic > > alphanumeric number) to the GRUB_CMDLINE_LINUX? > > Correct. > > > > Here is what > > /etc/default/grub reads current

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Chris Murphy
On Dec 23, 2013, at 9:32 PM, Ranjan Maitra wrote: > So I will add resume=uuid="" (gigantic > alphanumeric number) to the GRUB_CMDLINE_LINUX? Correct. > Here is what > /etc/default/grub reads currently: > > GRUB_TIMEOUT=5 > GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Ranjan Maitra
On Mon, 23 Dec 2013 18:52:45 -0700 Chris Murphy wrote: > > On Dec 22, 2013, at 3:04 PM, Ranjan Maitra > wrote: > > > > So, add this resume=/dev/sda2 to the stuff on GRUB_CMDLINE_LINUX ? Any > > way to do this without the hardcoding for resume? > > /etc/sysconfig/grub is a link to /etc/defau

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Chris Murphy
On Dec 22, 2013, at 3:04 PM, Ranjan Maitra wrote: > > So, add this resume=/dev/sda2 to the stuff on GRUB_CMDLINE_LINUX ? Any > way to do this without the hardcoding for resume? /etc/sysconfig/grub is a link to /etc/default/grub. You should use resume=uuid= and insert the blkid uuid for swap

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Ranjan Maitra
On Mon, 23 Dec 2013 21:18:32 +0100 Michael Schwendt wrote: > On Mon, 23 Dec 2013 13:01:46 -0600, Ranjan Maitra wrote: > > > sudo /bin/kernel-install add > > 3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $? > > grubby fatal error: unable to find a suitable template > > Gre

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Michael Schwendt
On Mon, 23 Dec 2013 13:01:46 -0600, Ranjan Maitra wrote: > sudo /bin/kernel-install add > 3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $? > grubby fatal error: unable to find a suitable template Great! As expected. Save a backup of the current grub.cfg file. It may make s

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Ranjan Maitra
On Mon, 23 Dec 2013 18:53:40 +0100 Michael Schwendt wrote: > On Mon, 23 Dec 2013 08:20:53 -0600, Ranjan Maitra wrote: > > > > You could become superuser root, then run exactly the kernel-install > > > command found above, and check the exit return code and watch out for > > > any warning/error i

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Michael Schwendt
On Mon, 23 Dec 2013 08:20:53 -0600, Ranjan Maitra wrote: > > You could become superuser root, then run exactly the kernel-install > > command found above, and check the exit return code and watch out for > > any warning/error it might print. > > Thanks! > $ sudo rpm -q --scripts kernel|tail -2 >

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Ranjan Maitra
On Mon, 23 Dec 2013 11:52:13 +0100 Michael Schwendt wrote: > On Sun, 22 Dec 2013 16:04:47 -0600, Ranjan Maitra wrote: > > > OK, thanks! I am not sure I understood this correctly, but here is what > > I did: > > > > sudo yum update -y (this brings back the new kernel and installs it). > > > > r

Re: F20: yum update does not automatically update grub2

2013-12-23 Thread Michael Schwendt
On Sun, 22 Dec 2013 16:04:47 -0600, Ranjan Maitra wrote: > OK, thanks! I am not sure I understood this correctly, but here is what > I did: > > sudo yum update -y (this brings back the new kernel and installs it). > > rpm -q --scripts kernel|tail -2 > posttrans scriptlet (using /bin/sh): > /bin/

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Ranjan Maitra
On Sun, 22 Dec 2013 22:47:05 +0100 Michael Schwendt wrote: > On Sun, 22 Dec 2013 15:26:32 -0600, Ranjan Maitra wrote: > > > I removed the new kernel, updated grub2-mkconfig and rebooted into the > > old kernel. Does this not bring it back to the old setup (before > > installation of the new kern

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Michael Schwendt
On Sun, 22 Dec 2013 15:26:32 -0600, Ranjan Maitra wrote: > I removed the new kernel, updated grub2-mkconfig and rebooted into the > old kernel. Does this not bring it back to the old setup (before > installation of the new kernel). Or if your question was if the problem > is reproducible in the se

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Ranjan Maitra
Thanks! On Sun, 22 Dec 2013 21:08:05 +0100 Michael Schwendt wrote: > On Sun, 22 Dec 2013 14:03:08 -0600, Ranjan Maitra wrote: > > > OK, I have downdated the kernel, run grub2-mkconfig so we should be > > back on the same plane as before. > > "Should be"? Do you mean the problem is reproducible

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Michael Schwendt
On Sun, 22 Dec 2013 14:03:08 -0600, Ranjan Maitra wrote: > OK, I have downdated the kernel, run grub2-mkconfig so we should be > back on the same plane as before. "Should be"? Do you mean the problem is reproducible after simple downgrade of the kernel package? > An important thing to note is th

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Ranjan Maitra
On Sun, 22 Dec 2013 20:14:27 +0100 Michael Schwendt wrote: > On Sun, 22 Dec 2013 08:54:54 -0600, Ranjan Maitra wrote: > > > Hi, > > > > I updated using yum last night and while the new 3.12.5 kernel was > > installed, it does not show up on grub. So, I did the following: > > > > sudo grub2-mkc

Re: F20: yum update does not automatically update grub2

2013-12-22 Thread Michael Schwendt
On Sun, 22 Dec 2013 08:54:54 -0600, Ranjan Maitra wrote: > Hi, > > I updated using yum last night and while the new 3.12.5 kernel was > installed, it does not show up on grub. So, I did the following: > > sudo grub2-mkconfig -o /boot/grub2/grub.cfg > Generating grub.cfg ... > Found linux image:

F20: yum update does not automatically update grub2

2013-12-22 Thread Ranjan Maitra
Hi, I updated using yum last night and while the new 3.12.5 kernel was installed, it does not show up on grub. So, I did the following: sudo grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.12.5-302.fc20.x86_64 Found initrd image: /boot/initramfs-3