*BSD News Article 4210


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!lurch
From: lurch@ee.latrobe.edu.au (Geoffrey Liersch)
Newsgroups: comp.unix.bsd
Subject: Easy Install for 386bsd with more swap space!
Message-ID: <1992Aug28.040755.2247@lugb.latrobe.edu.au>
Date: 28 Aug 92 04:07:55 GMT
Sender: news@lugb.latrobe.edu.au (USENET News System)
Organization: Department of Electronic Engineering, La Trobe University
Lines: 69

Here is an easier way to install 386bsd with a larger swap space and/or
a real partitioning scheme.  

NOTE:  Steps marked with a (*) can be skipped if a separate usr partition
is not required!

1.	Boot the fixit.fs floppy.
2.	Make the floppy writable:
		mount -u /dev/fd0a /
3.	Make some space on the floppy:
		rm [A-Z]*
4.	Make a disktab entry with a seperate usr partition if needed:
		vi /etc/disktab
5.	Disklabel the hard disk:
		disklabel -w -r wd0 "drivename"
6.	Prepare the root partition:
		newfs /dev/rwd0a
7.(*)	Prepare the usr partition if necessary:
		newfs /dev/rwd0h		
		mount /dev/wd0a /mnt
		mkdir /mnt/usr 
		mkdir /mnt/sbin
		mkdir /mnt/dev
		cd /usr/distbin
		ls *mount | cpio -pdalmu /mnt/sbin
		cd /dev
		ls * | cpio -pdalmu /mnt/dev
8.	Shutdown and remove the fixit.fs floppy:
		shutdown
9.	Boot the dist.fs floppy.
10.	Mount the root partition:
		mount /dev/wd0a /mnt
11.(*)	Mount the usr partition if necessary: 
		mount /mnt/dev/wd0h /mnt/usr
12.	Install the binaries:
		zcat /etc/baselist.Z | cpio -pdalmu /mnt	
		cd /mnt
		zcat /etc/baseutils.cpio.Z | cpio -idalmu
13.	Shutdown and remove the dist.fs floppy:
		shutdown
14.	Boot off the hard disk.
15.	Make the root partition writable:
		mount -u /dev/wd0a /
16.(*)	Mount the usr partition if necessary:
		mount /dev/wd0h /usr
17.	Read the install notes in the root directory:
		zmore INSTALL.NOTES
18.	(i)  If you have not got a seperate usr partition the install the 
	     binary and other distributions as per the INSTALL.NOTES.
	(ii) If you have got a seperate usr partition then install the binary
	     distribution as follows:
		mkdir /usr/tmp
		cd /usr/tmp
	     Get the binary distribution to here as per the INSTALL.NOTES.
		cd /
		cat /usr/tmp/bin01* | uncompress | cpio -idalmu
		sh /tmp/install.bin01
19.	Create the file /etc/fstab:
		vi /etc/fstab
	and add the following line(s): 
		/dev/wd0a	/	ufs rw 1 1
		/dev/wd0h	/usr	ufs rw 1 2 
20.	Get to work!

I hope that this is helpful to someone.

Lurch

lurch@ee.latrobe.edu.au