[CUWiN-Dev] cdboot and the 'iso' step

David Young dyoung at pobox.com
Thu Oct 6 03:49:57 CDT 2005


On Wed, Oct 05, 2005 at 02:12:26PM -0800, John Atkinson wrote:
> I've cleared the steps down to 'iso,' but there it appears I'm missing a
> file or two. My last run follows:
> 
> 
> Checked in the new code this morning.
> 
> # cd /usr/cuw/trunk/src
> # svn up
> # cd /usr/cuw/trunk/extern-src
> # svn up
> 
> Rebuilding from scratch.
> 
> # rm -R /root/scratch-cuw
> # cd /usr/cuw/trunk/src/boot-image
> # REBUILD_ALL=yes ./buildiso
> 
> That ran through for 4 or 5 hours. Entering the 'iso' step:
> 
> mkstaboot: finished step 'floppy'
> mkstaboot: begin step 'iso'
> Found bootdisk with system i386, and filename
> /root/scratch-cuw/D/usr/mdec/cdboot
> nbmakefs: cd9960_add_boot_disk:
> lstat("/root/scratch-cuw/D/usr/mdec/cdboot"): No such file or directory
> 
> If I compile cdboot manually, and drop it where the 'iso' step wants to find
> it, I can get a *.iso by running mkstaboot from the 'iso' step.
> 
> # ./buildiso iso
> 
> Burning that to disc it seems to half boot, on both Unix and Windows.
> Echoing, "NetBSD/i386 cd9660 Primary Bootstrap" before halting to a flashing
> prompt.
> 

John,

I fixed the problem.  The relevant commit messages for NetBSD and CUWiN
are below.

Dave

On Thu, Oct 06, 2005 at 08:19:46AM +0000, David Young wrote:
> 
> Module Name:	src
> Committed By:	dyoung
> Date:		Thu Oct  6 08:19:46 UTC 2005
> 
> Modified Files:
> 	src/sys/arch/i386/stand/cdboot: cdboot.S
> 
> Log Message:
> Change the layout of cdboot to meet installboot(8)'s expectations:
> MBR+NetBSD disklabel+boot parameters.  Invoke the secondary boot
> loader with a pointer to the boot parameters.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.4 -r1.5 src/sys/arch/i386/stand/cdboot/cdboot.S
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

On Thu, Oct 06, 2005 at 08:22:58AM +0000, David Young wrote:
> 
> Module Name:	src
> Committed By:	dyoung
> Date:		Thu Oct  6 08:22:58 UTC 2005
> 
> Modified Files:
> 	src/distrib/sets/lists/base: md.i386
> 	src/sys/arch/i386/stand/bootxx: Makefile
> Added Files:
> 	src/sys/arch/i386/stand/bootxx/bootxx_cd9660: Makefile
> 
> Log Message:
> Build and install /usr/mdec/bootxx_cd9660, a primary boot loader
> for ISO9660 filesystems.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.112 -r1.113 src/distrib/sets/lists/base/md.i386
> cvs rdiff -r1.7 -r1.8 src/sys/arch/i386/stand/bootxx/Makefile
> cvs rdiff -r0 -r1.1 src/sys/arch/i386/stand/bootxx/bootxx_cd9660/Makefile
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

On Thu, Oct 06, 2005 at 03:45:24AM -0500, dyoung at cuw.ojctech.com wrote:
> Author: dyoung
> Date: 2005-10-06 03:45:23 -0500 (Thu, 06 Oct 2005)
> New Revision: 3558
> 
> Modified:
>    cuw/trunk/src/boot-image/image.subr
> Log:
> Install bootxx_cd9660 instead of cdboot.  Use installboot(8) to
> set boot parameters (e.g., console type and speed) on bootxx_cd9660
> before installing it.
> 
> 
> 
> 
> _______________________________________________
> CU-Wireless-Commits mailing list
> CU-Wireless-Commits at cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-commits

-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list