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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux