grub : how to edit grub config by command / script ?
Ranjan Maitra
maitra.mbox.ignored at inbox.com
Wed Nov 26 21:21:05 UTC 2014
Hi,
I believe that you have to go into:
/etc/syconfig/grub
and edit according to your needs.
Then you have to use:
sudo bash -x grub2-mkconfig -o /boot/grub2/grub.cfg
This should update grub for now and for ever.
Thanks!
Ranjan
On Thu, 27 Nov 2014 02:10:11 +0530 santosh <santosh.iitg at gmail.com> wrote:
> I am using CentOS 6 and grub 0.97
>
> 1. Launched a Virtual Machine (VM) with CentOS 6. (This step is done.)
>
> 2. After the VM comes up, copy latest kernel and initrd from remote
> server to /boot
> through a script present at /etc/init.d/ (This step is done)
>
> 3. How to edit grub config file either by command or by script (but
> not manually), to update
> the new kernel and initrd so that next time it boots up with the
> new kernel ?
>
>
>
> Thanks
> Santosh
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
--
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 ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
More information about the users
mailing list