*BSD News Article 37700


Return to BSD News archive

Xref: sserve comp.unix.bsd:15265 comp.unix.internals:7958
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!usc!news.cerf.net!ccnet.com!ccnet.com!not-for-mail
From: jantypas@ccnet.com (John Antypas)
Newsgroups: comp.unix.bsd,comp.unix.internals
Subject: What happens at BSD boot sequence (root fs)
Date: 9 Nov 1994 10:11:27 -0800
Organization: CCnet Communications
Lines: 29
Message-ID: <39r3cf$88l@ccnet.ccnet.com>
NNTP-Posting-Host: ccnet

Good morning!

Because of an issue with drive sizes and multiple OS environments, I
find myself needing to understand what happens at BSD bootup.  In my
case, this is BSDI 1.1.

What I would LIKE to do is:

sd0	Two paritions	350M dos (Yes, I know :-)
			100M BSDI	sd0a	/root (minimal) and /tmp
					sd0b	swap 60M
					sd0d	points to DOS FS

sd1	Single partition	sd0a	400M	/root
				sd0g	600M	/usr2

Here's the catch.  I have to boot off sd0 on a minimal root fs and somehow
switch to the real root on sd1.  I gather this can be done beacuse during a 
kernel config, I have to specify the root and swap fs locations.  The question
is, during the boot, the system will go to my kernel and then do what.  Does
it just read off of /bsd and then find the new root and swap fs locations?
-- 
John Antypas@21st Century Softwware (jantypas@soft21.s21.com)

"God is too busy to create chaos and disorder in this world, he can't be
 everywhere at once all of the time,  That's why he made two year olds"
 
"No -- two year olds don't go everywhere at once either -- but they DO
 have transporters""