Subject: re: sparc64 hardcore install
To: Pierre-Philipp Braun <ppwb@club-internet.fr>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 08/14/2004 00:36:51
i think you can do it with a tricky sequence:

	- make sure your i386 kernel has options FFS_EI so you can
	mount etc. big endian filesystms.

	- label the disk with disklabel(8) on i386 as normal

	- "newfs -B be <disks>" to create big-endian file systems.

	- mount the filesystems ("-o async" helps) and extract the
	sets there ("pax -rzpe < base.tgz", etc.)  make sure you
	end up with a /netbsd and a /ofwboot in the new /.

	- run MAKEDEV in the new /dev

	- unmount the filesystems

	- dd /usr/mdec/bootblk to the 0-14th sectors of the disk
	(i think this is right; i'm doing all this from memory :)

	- use sunlabel to convert the i386 netbsd label into a valid
	sun label so that you'll be able to boot...


or something.  i've probably forgotten some really important step (like
i said, this is all from memory) so please use at your own risk :)


.mrg.