Re: Need an up-to-date, accurate, complete install doc

Martin Reindl <[email protected]> Wed, 21 Apr 2004 12:44:02 +0200
Newsgroups gmane.os.openbsd.mac68k
Organization catai.org
Message-ID <[email protected]>
Michael Thibault <[email protected]> wrote:

Hi,

> So, after discovering late in the game, from the FAQ nowhere mentioned
> in the install doc, that I can only use OpenBSD on 68k Macs with a
> single drive, and that the installer has problems with 'large'
> partitions...

Yes that's right :) 400MB was still ok for me.

> I'm trying to install 3.4 on a Quadra 800. After learning that one
> large partition just wasn't in the cards, I went for multiple
> partitions, and am having difficulty: I want to have /usr, /var, and
> /home on sep. partitions. The drive is large enough - 2 Gigs.
> 
> I can install onto a 256M / partition everything non-X , but can't
> figure out how to mount the other partitions appropriately, nor how to
> copy /usr,/var, and /home from the / partition to the partitions I've
> created specifically to hold usr, var, and home, as appropriate. The
> install doc is a little vague in spots - to say the least - and I've
> tried the business about:
> 
> "	You will need to know the proper device to mount the remaining
> 	partition(s) by hand:
> 
> 		* Select "Build Devices" from the "File" menu. This builds
> 		 the necessary tree of device files on your filesystem in
> 		  /dev.
> 
> 		* Select "Mini Shell" from the "File" menu.
> 
> 		* Mount the filesystems you wish with the command:
> 			mount device path
> ".
> 
> That didn't work.

Error message? You couldn't mount the filesystems in the Mini Shell?

> I've tried installing just base, bsd, and etc on the
> installer-identified / partition. I can boot to that, but the system
> comes up read-only. I haven't been able to find documentation - near
> the surface of things anyway - that tells me how to change that.

Yes, that's the way i prefer to install my macs too, however it requires
some additional work to be done. But you get faster to the first boot.

By just making a small / and installing base, etc and the kernel there
you gain the following:

- You can newfs the remaining partitions afterwards. Partitions well
  over 1GB are possible.
- By doing that "df -h" output won't be false for
  mkfs formatted partitions that are not /.
- moving directories like /usr to the new partition and untarring the	
  remaining packages from OpenBSD is still much faster than the Mac OS	
  Installer.

> I've tried the recipe at http://www.openbsd.org/faq/faq10.html#DupFS
> to copy /usr to another partition so that I can continue with the
> installation, but suspect the command there isn't applicable to 68k,
> or the command is incorrect. And, if it is relevant, won't work unless
> the filesystem is rw.

"mount -o rw /"? And don't forget to uncheck the "Single user"
checkbox in the Booter.
I would recommend mv'ing /usr to /oldusr,
mkdir'ing /usr, then mounting let's say /dev/sd0g there and then cp'ing
everything over from /oldusr to /usr.

> Also, the install doc is ambiguous, possibly incorrect, about when
> (and how often) to Make Devices from within the installer. Do you
> really run it twice, once before installing anything (is that even
> possible? - I seem to recall having tried that without success), then
> again after installing some combination of the base packages?

Right, the installer only builds a minimal - but workable set - of
devices. You only get such funny things like /dev/systrace by running
"MAKEDEV all". You can do that after the first boot.

> I attempted to install OpenBSD several years ago, on a different 68k
> machine, and seem to recall there was some problem with the creating
> of/dev/ttyxxs. If there was such a problem, has that been corrected in
> the intaller and packages for 3.4?

I am not aware of any problems with /dev/tty* in 3.4 or 3.5. 

The install doc is generally ok, it's not perfect, but it helped me on
my first mac68k.

Regards,
Martin