[CentOS] grubby question

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Oct 25 19:42:31 UTC 2012


Jerry Geis wrote:
> On 10/25/2012 02:07 PM, Jerry Geis wrote:
>> I am looking at using grubby. My command is:
>>
>> grubby --grub --title "CentOS (2.6.32.60)"
>> --add-kernel=/boot/vmlinuz-2.6.32.60
>> --initrd=/boot/initrd-2.6.32.60.img --args="ro root=LABEL=/ noapic"
>> --make-default
>>
>> my etc/grub.conf file after running the command is:
>> title CentOS (2.6.32.60)
>>     kernel /boot/vmlinuz-2.6.32.60 ro root=LABEL=/ rhgb quiet noapic
>>     initrd /boot/initrd-2.6.32.60.img
>> title CentOS (2.6.18-308.4.1.el5)
>>     root (hd0,0)
>>     kernel /boot/vmlinuz-2.6.18-308.4.1.el5 ro root=LABEL=/ rhgb quiet
>> noapic
>>     initrd /boot/initrd-2.6.18-308.4.1.el5.img
>>
>> Notice the "root (hd0,0)" is not there...
>> What option creates that entry, I did not see it?
>>
>> Thanks,
>>
>> Jerry
>>
> I got it... --copy-default
>
> grubby --grub --title "CentOS (2.6.32.60)"
> --add-kernel=/boot/vmlinuz-2.6.32.60 --initrd=/boot/initrd-2.6.32.60.img
> --copy-default --make-default

But what prevents it from adding --quiet and --rhgb? I *REALLY* don't want
that on a server.

      mark




More information about the CentOS mailing list