opensubscriber
   Find in this group all groups
 
Unknown more information…

l : leaf-devel@lists.sourceforge.net 26 May 2009 • 12:58AM -0400

[leaf-devel] 3.1.1b3 fd device
by Per Sjoholm

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi,
I'm using a floopy image for booting/config and a cdrom for packages.

There are some issue with the fd0 depending on what size/format is used.
This is tested on vmware and qemu
I verified on a 3.0.2 system and write to floppy works.
In 3.1.1 some things has happening.

qemu -boot a -fda fw311b3_test/boot311b3.img -cdrom
fw311b3_test/Bering-uClibc_3.1.1-beta3_iso_bering-uclibc.iso  -net
nic,model=pcnet -net nic,vlan=1,model=pcnet



using /dev/fd0: on a fd0u1680 does not work in some situations

Using a 1440 with /dev/fd0 and you also end up with a corrupted filesystem

Using save configuration seem to work(all is to shaky to be shure)

Using backup modules and the filesystem on the floppy
You get a corrupted filesystem(use dosfsck to check image before and after)

In syslinux.cfg LEAFCFG must use /dev/fd0u1680 if 1680 format
otherwise leaf.cfg is not found and is taken from cdrom

$ cat fw311b3_test/fd0-311b3/syslinux.cfg
display syslinux.dpy
timeout 0
append reboot=bios
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/fd0u1680:msdos PKGPATH=/dev/fd0:msdos,/dev/cdrom:iso9660
syst_size=20M log_size=4M LRP=root,config,etc,modules,dropbear,keyboard

$ cat fw311b3_test/fd0-311b3/leaf.cfg
# Uncomment for more verbose execution.
VERBOSE=1

LRP="root config etc local modules iptables dnsmasq dhcpcd keyboard
shorwall ulogd libz mawk libssl libm dropbear libcrpto mhttpds openntpd
webconf libpcap libsnmp snmpmib netsnmpd"

# The first entry is the backup device.
# If equal packages exist on multiple devices, the ones on the left most
device have precedence.
PKGPATH="/dev/fd0:msdos,/dev/cdrom:iso9660"

# Experts only: the name of the config and modules databases can be
changed, choose an unique name.
#CONFIFGDB=configdb
#MODDB=moddb
syst_size=16M
log_size=4M



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com

_______________________________________________
leaf-devel mailing list
leaf-devel@list...
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.