I have an issue on a server that stops to ask SMP or not so SMP on bootup. Its a pain as its a remote unit, and if I update (or the power goes out for 3 hours) the server will not restart....
I remember back in the day editing a start up file to tell it what kernel to start... Is that the file I am looking for to tell it to autostart smp???
Anyone have a 101 on how to do this?
Thanks,
I have an issue on a server that stops to ask SMP or not so SMP on bootup. Its a pain as its a remote unit, and if I update (or the power goes out for 3 hours) the server will not restart....
I remember back in the day editing a start up file to tell it what kernel to start... Is that the file I am looking for to tell it to autostart smp???
Anyone have a 101 on how to do this?
what OS ?
either /etc/grub.conf or /etc/lilo.conf
probably the former unless old
I have an issue on a server that stops to ask SMP or not so SMP on
what OS ?
either /etc/grub.conf or /etc/lilo.conf
Ok, it was grub, and this is what I have...... I see default=0 how should I change that to one of the items below????
Thanks,
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.9-42.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.EL.img title CentOS (2.6.9-42.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.ELsmp.img title CentOS (2.6.9-34.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.EL.img title CentOS (2.6.9-34.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.ELsmp.img
Ok, it was grub, and this is what I have...... I see default=0 how should I change that to one of the items below????
Thanks,
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.9-42.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.EL.img title CentOS (2.6.9-42.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.ELsmp.img title CentOS (2.6.9-34.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.EL.img title CentOS (2.6.9-34.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.ELsmp.img
the top one is zero therefore if say you want to boot the third kernel then change default to read default=2
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Tom Brown Sent: Thursday, April 17, 2008 1:41 PM To: CentOS mailing list Subject: Re: [CentOS] Edit to change startup from SMP to not so SMP
Ok, it was grub, and this is what I have...... I see default=0 how should I change that to one of the items below????
Thanks,
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.9-42.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.EL.img title CentOS (2.6.9-42.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-42.0.2.ELsmp.img title CentOS (2.6.9-34.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.EL ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.EL.img title CentOS (2.6.9-34.0.2.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-34.0.2.ELsmp ro root=/dev/main/root initrd /initrd-2.6.9-34.0.2.ELsmp.img
the top one is zero therefore if say you want to boot the third kernel then change default to read default=2
Humm, ok but for some reason it does not start the top, or any one, it just sits waiting for someone to manually hit enter on one of them.... Any thoughts on that?>
On Thu, Apr 17, 2008 at 3:31 PM, Andrew @ ATM Logic atmlogic@kmts.ca wrote:
Humm, ok but for some reason it does not start the top, or any one, it just sits waiting for someone to manually hit enter on one of them.... Any thoughts on that?>
Are you certain that this is the right grub.conf?
hiddenmenu should mean that you don't see the selections, unless someone hits <ESC> key.
also you could try adding a fallback entry.
Hope this is helpful,
On Thu, Apr 17, 2008 at 12:48 PM, Bob Beers bob.beers@gmail.com wrote:
On Thu, Apr 17, 2008 at 3:31 PM, Andrew @ ATM Logic atmlogic@kmts.ca wrote:
Humm, ok but for some reason it does not start the top, or any one, it just sits waiting for someone to manually hit enter on one of them.... Any thoughts on that?>
Are you certain that this is the right grub.conf?
hiddenmenu should mean that you don't see the selections, unless someone hits <ESC> key.
also you could try adding a fallback entry.
Another thing to consider is... if you always want to boot the smp kernel, look into /etc/sysconfig/kernel and set up the default kernel by:
DEFAULTKERNEL=kernel-smp
and possibly remove the standard (non-smp) kernel from the system.
Akemi