Hi guys,

I have been able to bring the Jacques Nilo's Bering
Leaf distribution up on a Disck-On-Chip (DOC2000)
based system.  I am using the Beta 2 since there
seems to be problems with modify the Beta 3 floppy
image.  Following is the summary of changes to make 
it happens.

(1) The DOC2000 has one partition.  It is used as
an ext3 filesystem.  The content of the floppy image 
is put on the DOC's partition.

(2) Grub.

I am using grub to boot up from DOC.  Following is
the /boot/grub/menu.lst file.

default 0
timeout 5

title=Linux with video card and keyboard
kernel (dc0,0)/linux ramdisk_size=1536 init=/linuxrc \
root=/dev/ram0 boot=/dev/nftla1,ext3 LRP=root,etc,local,\
modules,pump,keyboard,shorwall,dnscache,weblet,dhcpd,ppp,\
pppoe,log,libz,sshd,sshkey,ssh,sftp
initrd (dc0,0)/initrd.lrp

Notes:  
- The kernel command is all on one line.
- There is no PKGPATH.  That will hang the DOC2000.
Mtd devices can't be mounted at multiple points at the
same time.

(3) Loading required modules at boot time.

The /boot/etc/modules is changed to load the following
modules: (the order is very important to detect nftl on
DOC2000)

mtdcore
docecc
doc2000
docprobe
nftl
mtdchar
mtdblock
jbd
ext3

There is probably no need to load mtdchar and mtdblock.
Both the jbd and ext3 modules can be replaced by another
fs module, like ext2, if ext2 file system is to be used
for the DOC2000.

These modules are also downloaded into the 
/boot/lib/modules directory

(4) Add the following to the
/var/lib/lrpkg/root.dev.mk file to create the /dev/nftla
devices.

#DOC & nftl
makedevs nftla b 93 0 0 8 s >null 2>&1
makedevs nftlb b 93 16 0 8 s >null 2>&1

That is all!

Thanks.
Bao

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to