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

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

 



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
 
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?


[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