not able to update in /etc/grub.conf file

15 views
Skip to first unread message

Bhautik karkar

unread,
Nov 11, 2016, 3:50:02 AM11/11/16
to vg...@googlegroups.com, sadhiq-li...@googlegroups.com, Gondaliya, Jitendra
Below command use for update printk.time=1 in /etc/grup.conf file.
                        
/sbin/grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="printk.time=1"                        

if i simple past this command in console or taking ssh, it's working fine.                        

but when i push via script it's not work                        

ssh $i /sbin/grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="printk.time=1"                        
any idea what stopping ??

I have try with other command that is worked fine via script.

Thanks & Regards,
Bhautik Karkar 
9920343224

Arvind Vadher

unread,
Nov 14, 2016, 1:53:09 AM11/14/16
to vg...@googlegroups.com

change the file path from /etc/grub.conf to /boot/grub/grub.conf


it will work defiantly.


Thanks

Arvind



From: vg...@googlegroups.com <vg...@googlegroups.com> on behalf of Bhautik karkar <karkar...@gmail.com>
Sent: Monday, November 7, 2016 2:24 PM
To: vg...@googlegroups.com; sadhiq-li...@googlegroups.com; Gondaliya, Jitendra
Subject: [VGLUG] not able to update in /etc/grub.conf file
 
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing ...


You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.



---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages