[comp.os.minix] Help with MacMinix 1.5

phil@mcdcup.UUCP (Phil Weinberg SPS) (01/03/91)

Last week my copy of MacMinix 1.5 finally arrived from P-H and
I attempted to follow the installation procedures.  I was able
to boot from the floppies, etc. but when I attempted to follow
the instructions for building the system on my hard disk I ran
into problems.  After I completed creating the hard disk partitions
(files), and followed the instructions for executing the script
that builds the /root file system, everything seemed fine.  But
when I quit and then attempted to reboot from the hard disk I
got the error message that a complete file system wasn't installed
(or word to that effect), hit any key, and then was exited.

If previous postings have already addressed this problem I would
appreciate copies of same.  If anyone else has overcome this
difficulty, I'd appreciate help.  If there are addenda or errata
sheets to the MacMinix documentation that I should have received,
I'd like to know that also.

Thanks in advance for any and all help offered.
-- 
<< Usual Disclaimer >>
Phil Weinberg @ Motorola Semiconductor, Sunnyvale, CA 94086-5395 
UUCP:  {hplabs, mot,} !mcdcup!phil
Telephone:  +1 408-991-7385

twosheds@ferris.cray.com (Jay Vollmer) (01/03/91)

		10 EASY STEPS TO MACMINIX HARD DISK HAPPINESS

For those who are having problems setting up their hard disks with MacMINIX,
these instructions are intended to help.  They will do the following:
	1) remove the ram disk
	2) set up three minix "partitions": /  (/dev/hd0), /usr (/dev/hd1),
	   and /tmp (/dev/hd2)
	3) Unpack all the floppy disks
	4) Correct some distribution bugs

YOU WILL NEED 12 MEG OF FREE DISK SPACE.  (You can change the sizes of USR
and TMP in the instructions, but USR must be at least 9000 blocks to unpack 
everything)

#1. Insert 00.BOOT and copy Macboot and ROOT to a folder on your hard disk.
    Eject the disk.

#2. Start Macboot by double clicking on the hard disk copy of Macboot.
    Insert the /usr and type return when asked. Login as root.

#3. Create each "partition" as a Mac File (ROOT is already  set up, as it
    came off the diskette). Type at the prompt:
	maccreate 10000 USR
	maccreate 1000  TMP

#4. Make a file system on each. Type at the prompt:
	hdopen TMP /dev/hd1
	mkfs /dev/hd1 1000
	hdclose /dev/hd1
	hdopen USR /dev/hd1
	mkfs /dev/hd1 10000

#5. Unload floppys. Type:
	/etc/setup_usr /dev/hd1
    Follow the instructions, inserting each disk as requested.

#6. If you have enough memory, chmem the compiler (see the chmem man page
    in your documentation). Type:
	chmem =150000 /usr/lib/cem

#7. Fix /usr/include permissions. Type: 
      	chmod 444 /usr/include/*.h /usr/include/*/*.h

#8. Modifiy /etc/rc. However, the RAM disk is running and we want to make
    on the change to the real file system and not the RAM file system. 
    So type:
	mkdir /tmp/x
	hdopen ROOT /dev/hd4
	mount /dev/hd4 /tmp/x
	
    Using vi, mined, or elle, replace the seven lines in 
    /tmp/x/etc/rc that read:

	/etc/hdclose /dev/fd0
	/etc/eject

	# ...
	/bin/getlf "Please insert /usr diskette in drive 0.  Then hit RETURN."
	/etc/hdopen 01.USR1:USR1 /dev/hd0
	/etc/mount /dev/hd0 /usr

    with the following 4 lines:

	/etc/hdopen USR /dev/hd1
	/etc/mount /dev/hd1 /usr
	/etc/hdopen TMP /dev/hd2
	/etc/mount /dev/hd2 /tmp

    Exit the editor, then type:
	umount /dev/hd4
	hdclose /dev/hd4
	rmdir /tmp/x

#9. Get rid of RAM disk. Select "Configuration" under "File" 
    menu, uncheck the "Use RAM disk" box.

#10.Logout, Quit, then restart MacMINIX to make sure everything is ok.

Joe Pickert

D98E%DDATHD21.BITNET@cunyvm.cuny.edu (Peter Lautenschlaeger) (01/04/91)

> into problems.  After I completed creating the hard disk partitions
> (files), and followed the instructions for executing the script
> that builds the /root file system, everything seemed fine.  But
> when I quit and then attempted to reboot from the hard disk I
> got the error message that a complete file system wasn't installed
> (or word to that effect), hit any key, and then was exited.
>
After you used the script for installing the / and /usr filesystems,
did you edit /etc/rc that originally tries to mount /usr on /dev/fd0
to the hard disk partition you installed /usr on. Don't edit /etc/rc
on the ram disk, mount your root partition on the hard disk on /user
and edit then /user/etc/rc.
After installing MINIX on your harddisk you still need to boot from
diskette I suppose, did you change the default root device with the
menu option r to the hard disk partition it resides.
Hope it's helpful

Peter

hp48sx@wuarchive.wustl.edu (HP48SX Archive Maintainer) (01/04/91)

I have no solution here, I am just looking for a working Makefile for
Macminix the directory /usr/src/command/mac To be more specifik, It will
not compile Maccreate, as it does not link with the /usr/lib/libmac.a
file.
I tried to mail paul@ukpoit.co.uk, who omce announced he made a working
Makefile, but the mail bounches.

-- 
*******************************************************
Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
HP48sx archive maintainer