Koozali.org: home of the SME Server

installing SME using a remote serial console and a ramdisk?

tape

umm.. the past three days i am trying to install a sme server, but it seem smy knowledge seems to be less than needed in this case.

i have a rented server, and the only ways to access this server is a rescue system running in a ramdisk, a serial remote console (if its set up while booting), or even i can get the server installed a SuSE 8.1 distribution.

What i did:
started with the regular system (SuSE 8.1)
preparing the harddisk
using dev/hda1 as /boot
using /dev/hda3 as /
swapoff and mounting /dev/hda2 as /mnt/extra
(should be swap back after installing)

copied vmlinuz/initrd.img into /mnt/extra
created /etc/lilo.conf with the content:
---
boot=/dev/hda
serial = 0,57600n8
vga = normal    # force sane state
#message=/boot/message
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
lba32
timeout=100


# End LILO global Section
#

image = /mnt/extra/vmlinuz
#  root = /dev/hda2
  label = smeinstall
  initrd=/mnt/extra/initrd.img
  append ="text console=tty0 console=ttyS0,57600 ramdisk_size=8192"

---

/sbin/lilo was suceesful

the serial parts are to made to set up the serial remote console.

created a syslinux.cfg in /mnt/extra
---
PROMPT   0
IMPLICIT 0
TIMEOUT  0
DEFAULT accept

F1 boot.msg

LABEL accept
  KERNEL vmlinuz
  APPEND initrd=initrd.img ks=floppy class=kickstart text devfs=nomount ramdisk_size=8192 console=tty0 console=ttyS0,57600
---

created a ks.cfg in /mnt/extra
(using a modified anaconda-ks.cfg froma base install
---
# Kickstart file automatically generated by anaconda.

install
url --url http://www.pirnat.de/smeinstall
lang en_US
langsupport --default en_US
keyboard de-latin1-nodeadkeys
mouse generic3ps/2 --device psaux
skipx
#network --device eth0 --bootproto dhcp
#network --bootproto static --ip 81.169.170.225 --netmask 255.255.255.255 --gate
way 81.169.170.1 --nameserver 81.169.163.104
rootpw --iscrypted $1$GÅûÓøÔèê$jWK/s8WgbjQJRyQUS3B0d1
firewall --disabled
authconfig --enableshadow --enablemd5
timezone --utc Europe/Berlin
bootloader --useLilo
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --initlabel
#part /boot --fstype ext3 --size=100 --ondisk=hda
#part swap --size=256 --ondisk=hda
#part / --fstype ext3 --size=200 --grow --ondisk=hda

%packages

%post

# set up initial configuration
/sbin/e-smith/signal-event post-install

# add comment to /etc/motd
echo "Welcome to the Mitel Networks SME Server." > /etc/motd
---


i also copied all files from a SME iso into teh /smeinstall folder at another webserver (running Debian) so i can access them during install. I also copied the ks.cfg file into the /smeinstall/images/ and /smeinstall folder because i wasn´t sure where to put the ks.cfg for success.

Running this config, and using the serial console to see what happens. I am getting an error:

---
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.
---


Hmm.. what to do next, where to read, where to find a way to get this greatful sme running ot at his server?

*sigh*


Anton

tired... as usual!