*BSD News Article 51380


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!usc!howland.reston.ans.net!EU.net!Germany.EU.net!Dortmund.Germany.EU.net!not-for-mail
From: bs@Germany.EU.net (Bernard Steiner)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: how to make sd0 bootable
Date: 19 Sep 1995 11:43:54 +0200
Organization: EUnet Deutschland GmbH, Dortmund, Germany
Lines: 21
Message-ID: <43m3cq$s6k@Germany.EU.net>
NNTP-Posting-Host: qwerty.germany.eu.net


Folks,
the I've fdisk'd and disklabel'd my sd0 drive and built a kernel with
"root on sd0". I can mount sd0s1a or sd0a without any problems onto a running
system (2.0.5R) from / on wd0a. I can disable both wd0 and wd1 and the bios
sees the bootstrap on sd0 and executes it; I can boot /kernel -c and configure
it. Alas; the kernel does not get to the point of mounting / (regardless of
whether or not -s or -r or both are specified) but rather sits there after it
has found npx0 and does nothing.

The disk says it has 2061108 sectors on 2700 cyl 9 hd and avg 84 sec but I
told disklabel that it is an 8179 x 7 x 36 geometry. Does that make any
difference ?
Is it OK for sd0s1 to start at sector 0, and is it OK for sd0s1a and sd0s1c
to start at sector 0 ?

Is there any *documentation* on the workings of fdisk, disklabel, bteasy, the
bootstrap code, etc., apart from RTFM and RTFS ?

Thanks,
	Bernard