From: Per S. <ta...@us...> - 2009-05-25 18:08:56
|
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 |