Hi KP

at 06.09.2011 23:26, KP Kirchdoerfer wrote:
..
> 
> I assume you have mixed up versions. 

An assumption as good as any other :-)

> 
> Can you summarize the steps you've made trying to update?

To start with I have a box which will start ftom either partition 0 or 1
using BuC 4.0.whatever. The bootloader is GRUB and I have 2 entries in
the boot menu allowing me to choose. This enables me to overload an
installation with fallback to the previous version should the kernel not
load.

1) Start BuC 4.0 from partition 1 on the box
2) mount partition 0 on the Compact Flash
3) clean the partition with the exception of /CF/boot
4) copy kernel, initrd and the most important modules from the new
tarball to partition 0
5) copy leaf.cfg from partition 1 to partition 0
5) start and test the installation

for your reference, these are the contents of menu.lst

#Useful extras:
serial --speed=38400
terminal serial
#password --md5 $1TH$8O$%w0$d&^20R4ff&^*a2K/oUm.

root (hd0,0)
timeout 5
default saved
fallback 0

# For booting Linux

title LEAF Styx Version 4.01
  root (hd0,0)
  kernel /linux console=ttyS0,38400 init=/linuxrc rw root=/dev/ram0
boot=/dev/sda1:vfat \
  reboot=bios \
  PKGPATH=/dev/sda1:vfat initrd=initrd.lrp \
  LEAFCFG=/dev/sda1:vfat \
  syst_size=15M
  savedefault

initrd /initrd.lrp

title LEAF Styx Version 4.0
  root (hd0,1)
  kernel /linux console=ttyS0,38400 init=/linuxrc rw root=/dev/ram0
boot=/dev/sda2:vfat \
  reboot=bios \
  PKGPATH=/dev/sda2:vfat initrd=initrd.lrp \
  LEAFCFG=/dev/sda2:vfat \
  LRP=root,etc,local,config syst_size=12M log_size=10M
  savedefault

initrd /initrd.lrp

STYX# cat /proc/version
Linux version 2.6.35.11-i486 (kapeka@leafdevel) (gcc version 4.4.5 (GCC)
) #1 Thu Jul 7 22:53:55 CEST 2011

Here are the sha1 hashes of the most important parts

STYX# cd /CF
STYX# sha1sum *
2bab74ca7bcdf56b067c95a2458f030b3628400c  bitrev.ko
94f540568b83ac86fabd1a386344e50d3a9ee784  config.lrp
41997ae6e72450b1e48f0697c0ea4495922f959c  configdb.lrp
ef663dd8f28ceaea0c467d65487ddeb7822fc0d9  crc32.ko
4bde1bd2b6e5b6dee5261a43ef298ba0d5ea6a47  dhcpcd.lrp
5d6ebb323efe8ac62104ad811b6317d1cbbf70ae  dirstruc.lrp
4ea89dc9ae6c894fe32ce3bbfebd2edc14759bf7  dnscache.lrp
c80fee2ff3cd93cc025c81e23344c3e1ee70b2e3  elvis.lrp
3165fe474a53d493cefc0ad4906973eaaaa73094  etc.lrp
9e9d322ecb83d372c43da716e04304e04ffe0a50  initrd.lrp
358874257f39fe651da420c168009e1182e843b0  iptables.lrp
55b32d6ccf14e107e0dd1681a39eb85bb90b429f  leaf.cfg
2b6d8007bc9f054eeb6fa83d21e78bdb967b4eef  libcrpto.lrp
9742d60b61322e38a2b9edf693b1796b266ff368  liblzo.lrp
4dadd96c653f452e2c4c8b26123950461fbe7b98  libm.lrp
563f3f66783f9e03343ac2d5c1126f4181d959f2  libpcap.lrp
7c39fcc4464010304d2e7736924024fade2e26ef  libssl.lrp
b7581504adf6460993771f0fc0fbae8e2a9372ea  libz.lrp
37c5c1f1316d63ee1e8da19f9eb0f51a65af22a9  linux
df10a3dc89cc96021a55eb2039d016317d03af1b  local.lrp
d089181f9b6a3258fbe8b757ff93d24c0e598005  mhttpds.lrp
d738daa32f19528933ec81cfaf37490e8d692229  moddb.lrp
a4399749da316a482f448db88f34e0ac44a28649  modules.lrp
4f741b08af81c3bc7ad5a767a9c3404989e2ca99  natsemi.ko
c36314366c57642176ecf60f58df88f9068e528a  ncurses.lrp
c680c3b4fbb528805a0dab9c2c36266e142d600e  ntpd.lrp
794f3dd8384f9528ee026bcd966718ca94bb8369  perl.lrp
b2d0d84298cd22c0c0f103bd46d628e01dd330d8  root.lrp
57a2aa3bd84ae0d0ba821b5230e275589275793b  shorwall.lrp
1a186d41a4b0fd0f4d2bad135ab67867461ce338  sshd.lrp
0df92b9e35546f92fab326e819b9cfdcb4743493  tcpdump.lrp
fff5f6d5c163b31fb46e348532200d8f486be0d5  webconf.lrp
f80da4713447c7657edb60c7b4e7f098c60dd30b  wireless.lrp

of course moddb is overwritten as it holds now the bitrev and crc32 modules.

cheers

Erich

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to