Hello,

I am trying to install bering_uclib on a compact flash (CF) but am
hitting a problem.

Problem description:
        System does not appear to load the linux kernel, it boots up and hangs
at the following line:
SYSLINUX 3.07 2005-01-12

System specifics
ISO image used: Bering-uClibc_2.3_iso_bering_uclibc-iso.bin
Syslinux: 3.07
CF Media: 128MB Dane-elec compact flash

Here is the process I used to install it (I will use it as a base howto
for others):

Leaf Bering_uclib CF Installation

1. fdisk /dev/sdb
Create 1 primary fat16 bootable partition
relevant output of fdisk:
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         978      125168    6  FAT16

2. mkfs.msdos /dev/sdb1
3. syslinux -s /dev/sdb1
4. mount /dev/sdb1 /mnt/cf
5. Download latest bering cdrom iso from leaf.sf.net
6. Create CD ISO as loopback (note: your kernel must support loopback
filesystem s)
        6.1 mkdir iso
        6.2 mount -t iso9660 -o loop
Bering-uClibc_2.3_iso_bering-uclibc-iso.bin  iso

7. cd iso
8. cp -R syslinux.cfg syslinux.dpy linux leaf.cfg lib /mnt/cf
9. cp initrd_ide.lrp /mnt/cf/initrd.lrp
10. Copy desired lrp modules to /mnt/cf
Here is what I have on my CF (ls /mnt/cf):
bash.lrp    etc.lrp       ldlinux.sys   libz.lrp     ncurses.lrp
sshd.lrp
config.lrp  initrd.lrp    leaf.cfg      linux        root.lrp
syslinux.cfg
dhcpd.lrp   iptables.lrp  libcrpto.lrp  local.lrp    sftp.lrp
syslinux.dpy
elvis.lrp   keyboard.lrp  libm.lrp      modules.lrp  shorwall.lrp
ulogd.lrp

11. Edit /mnt/cf/syslinux.cfg
Here is my syslinux.cfg (output of cat /mnt/cf/syslinux.cfg):
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/hda 1:msdos
append nodma=hda ide=nodma

12. Edit /mnt/cf/leaf.cfg
Here is my leaf.cfg (output of cat /mnt/cf/leaf.cfg):
# This file is parsed as a shell script
# Kernel command line paramters are avaialble as KCMD_<variable>
# ie: KCMD_LRP contains the LRP= portion of the kernel command line
# NOTE: For kernel command line settings that do not include an equals
# sign (ie: rw or similar), the variable is set to itself, allwoing
# for easy testing (ie: KCMD_rw=rw).

# LRP and PKGPATH variables now support whitespace (space, tab, newline)
# as well as commas for seperators.

# Uncomment for more verbose execution.
#VERBOSE=1

# Other variables you might want to set in this file include:
# LRP           Packages to load
# PKGPATH       Device(s) to load packages from
# syst_size     Size of root ramdisk
# tmp_size      Size of /tmp ramdisk
# log_size      Size of /var/log ramdisk

# Example:
LRP="root config etc local modules iptables keyboard ulogd shorwall libz
libm ncurses dhcpd bash elvis libcrypto sshd sftp"
PKGPATH="/dev/hda1:msdos"
syst_size=20M
log_size=4M

13. umount /mnt/cf
14. Install CF in firewall and boot


Is there something I am missing?  Can someone point me to a good
troubleshooting source?

-- 
Trev Peterson <[EMAIL PROTECTED]>
Advanced Reality



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
------------------------------------------------------------------------
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