How do I edit grub.conf during post install..

Taylor, ForrestX forrestx.taylor at intel.com
Tue Aug 17 20:02:25 UTC 2004


On Tue, 2004-08-17 at 12:24, Davis, Harry wrote:
> I have a stituation where a Hyperthreading system needs to
> automatically come up in a Uniprocessor kernel.  I've tried a couple
> of simepl things, such as running: 
>  
> %post
> sed '/default/s/0/1/g' /mnt/sysimage/boot/grub/grub.conf

Is this actually in %post or in %post --nochroot?  Also, what version of
RH/FC are you using?

> And if I force a the system not to reboot, I see that the changes are
> made.  What happens after the post install is finished that is causing
> Grub to revert to the SMP kerenel?
>  

So when you remove reboot from the ks.cfg, you see that the
/mnt/sysimage/boot/grub/grub.conf (on VT2) file has changed, correct? 
Once you reboot, has it reverted to default=0?

Forrest






More information about the Kickstart-list mailing list