Koozali.org: home of the SME Server

how to change default boot image in SME 6

elenmar

how to change default boot image in SME 6
« on: October 26, 2004, 08:30:35 AM »
I have recently set up SME 6 on a twin processor box and it works, i.e. 'top' shows both processors are working.

However, by default the system doesn't use the 'smp' image but the 'up' one. This is okay as long as I'm around to change it manually at the start-up screen but I would like to change the default.

I have looked at (and experimented with):

/boot/grub.conf
/etc/lilo.conf
and the e-smith template for lilo.conf

but nothing seems to work.

I've used Linux on and off for a couple of years but I'm a complete novice with SME server.

Any help would be appreciated.

TIA

Anthony

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
how to change default boot image in SME 6
« Reply #1 on: October 26, 2004, 09:54:35 AM »
Hello,

here is how I make

1.) Edit file /etc/lilo.conf
2.) Change "default" value for smp kernel
3.) Save it
4.) launch the following command
Code: [Select]
/sbin/e-smith/expand-template /etc/lilo.conf
5.) Install modification by launching
Code: [Select]
lilo

Now It should be good.

Regards.

elenmar

how to change default boot image in SME 6
« Reply #2 on: October 26, 2004, 06:54:53 PM »
Many thanks for that, it worked nicely.

I had worked out the first 3 steps, but steps 4 & 5 are something new to me. Presumably this is an 'update technique' (for want of a better term) which will apply to other configuration files.

Anthony

RavenIV

how to change default boot image in SME 6
« Reply #3 on: October 27, 2004, 04:48:36 AM »
one short comment:
step 1) edit /etc/lilo.conf:
never edit direct any conf-files, create custom templates and expand the templates with step 5).

cheers

elenmar

how to change default boot image in SME 6
« Reply #4 on: October 27, 2004, 08:42:43 AM »
Thanks.

I can see that I'm going to have to do some more research / thinking about SME Server. I have the PDF manuals downloaded from a link on the Contribs site but they don't seem to dig this far beneath the surface.

Anthony

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: how to change default boot image in SME 6
« Reply #5 on: October 29, 2004, 04:48:21 AM »
Quote from: "elenmar"
I have recently set up SME 6 on a twin processor box and it works, i.e. 'top' shows both processors are working.

However, by default the system doesn't use the 'smp' image but the 'up' one. This is okay as long as I'm around to change it manually at the start-up screen but I would like to change the default.


In (Mitel) SME 6.0, all you need to do is choose "up" or "smp" once, and that will stick for future reboots. For some unknown reason, the contribs.org release does not have this feature. Probably shouldn't be hard to fix.

elenmar

how to change default boot image in SME 6
« Reply #6 on: October 29, 2004, 07:35:11 AM »
Noted. Thanks.

I beleive that soem Linux distros work like that - the boot loader 'remembers' the last choice. A grub or (in this case LILO0 thing, perhaps.

Anthony