From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 7 Oct 1995 05:01:43 -0400 From: Alex Bochannek abochann@cisco.com Subject: Standalone SPARC. Topicbox-Message-UUID: 2bebd88a-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951007090143.K8MAShbLfVbCmCLCwZ9DnfM3UVnwyFnk2vXrsOR4t9I@z> I've got a few questions about this. 1) I successfully unpacked the CD onto my drive. After I was done with it, I tried to reboot but all I found on the drive (sd1) was the old SunOS partition I had on it before and none of the new files. I figure I need to do a (SunOS) format before actually doing this, correct? 2) Let's say I get my sd1 drive to contain a kfs, how would I use it in the boot process? The 9ss kernel doesn't really give me a choice to boot locally. Or can I select il and point to my own address? Or is there a third boot option like local!#w/w1disk? 3) Does anyone know if there's a way to actually boot the 9ss from the internal disk? In the UniOsnabrueck paper (thanks for sending it, Petra) it says you can just do a "boot 9ss". Does that mean if I take a newly formatted disk under SunOS and do an installboot on it, it would be happy? I kinda doubt it. Or is there a SPARC version of home(8)? 4) I had a bunch of trouble with the u9fs stuff. Here some tips how I finally got it working. I compiled only with the BSD, NEEDPROTO, and LOG defines. I used gcc and the -ansi option. And I hardcoded "/plan9" in the chroot in u9fs.c because for some reason inetd refused to hand over the parameters I had in /etc/inetd.conf. That was on a sun4m SPARC with 4.1.3_U1. Thanks a bunch. Alex. > Net-boot 9ss on the > IPX, login as 'none'. You should see a clock and a little window saying > installation complete, welcome to plan 9, this is rc. > > Now set up the local disk and CD rom player, like so: > > bind -a '#'w3 /dev (I assume the disk is at SCSI 3, as usual) > bind -a '#'R6 /dev (this gets the CD player) > > (Don't forget the '-a'... /dev gets really small if you do.) > > disk/prep /dev/sd3disk > > answer 'a' to the question to get the default partitions. > > disk/kfs -rb4096 -f/dev/sd3fs (kinda like newfs) > > mkdir /n/kfs; mount -c /srv/kfs /n/kfs > > Now you have a local filesystem on /n/kfs. Try > > disk/kfscmd sync > > as a sanity check. > > 9660srv (sets up CD player service) > > mkdir /n/cdrom; mount -c /srv/9660 /n/cdrom /dev/cd6 > > Now you have the local disk and CD player ready to go. > > disk/kfscmd allow (Not sure if this is really needed, but turning off > permissions sounded cool.) > > Now you want to unpack the CD onto the local disk: > > disk/mkfs -a -u /adm/users -s /n/cdrom /lib/proto/allproto | > disk/mkext -u -v -d/n/kfs -z4096 > > (This gets a "usage" grumble from mkext but it seems to work. Didn't > work without the -d/n/kfs, though the manpage implies it should.) > > The -v will generate a > > x /n/kfs/some/file/name > > message as the files are extracted. >