Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 13:52:15 -0600
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        "FreeBSD-Current" <freebsd-current@FreeBSD.ORG>
Subject:   /boot/loader and booting off of second IDE
Message-ID:  <000001be4252$e2562340$0264a8c0@rover.mn.mediaone.net>

Next in thread | Raw E-Mail | Index | Archive | Help
This is a multi-part message in MIME format.

------=_NextPart_000_0001_01BE4220.97C35460
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

OK.  I have tried to figure out how to boot off of my second IDE drive and I
am close, but I still haven't got it.  I need to boot wd2s1a.  Here is what
I have done.

Booting off of a floppy with the old boot blocks:

    1:wd(2,a)/boot/loader

    I get to the prompt and type:

    set currdev=disk2s1a
    set rootdev=disk2s1a

    when I type show, I see loaddev=disk2s1a:, but there does not seem to be
any documentation on this.  Anybody know if this is significant?  Anyway,  I
then do:

    boot -rootdev

And the kernel proceeds to boot and it actually mounts the correct root
(wd2s1a).  It shows the all the drives are clean and then it fails, stating
that it can't mount wd2s1a because the device is incompatible (or something
like that - I am running from memory, as I have blown my system with fdisk
(DOS) and am rebuilding) and then drops to a single user shell with /
mounted read-only.  It seems to me that it is having a problem going from
root as a read-only filesystem to a read-write filesystem.  I have tried
many combinations without success.  If it mounts root, it always fails
during the remount (fstab).  If I don't pass rootdev as an argument to the
kernel, it tries to mount wd1s1 and then it panics, obviously because there
is no [UFS] filesystem there.

Any ideas what else to try?

Tom Veldhouse
veldy@visi.com

------=_NextPart_000_0001_01BE4220.97C35460
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3612.1700"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>OK.&nbsp; I have tried to figure out how to boot off of my =
second IDE=20
drive and I am close, but I still haven't got it.&nbsp; I need to boot=20
wd2s1a.&nbsp; Here is what I have done.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>Booting off of a floppy with the old boot =
blocks:</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; 1:wd(2,a)/boot/loader</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; I get to the prompt and =
type:</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; set currdev=3Ddisk2s1a</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; set rootdev=3Ddisk2s1a</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; when I type show, I see loaddev=3Ddisk2s1a:, =
but there=20
does not seem to be any documentation on this.&nbsp; Anybody know if =
this is=20
significant?&nbsp; Anyway,&nbsp; I then do:</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; boot -rootdev</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =
size=3D2>And=20
the kernel proceeds to boot and it actually mounts the correct root=20
(wd2s1a).&nbsp; It shows the all the drives are clean and then it fails, =
stating=20
that it can't mount wd2s1a because the device is incompatible (or =
something like=20
that - I am running from memory, as I have blown my system with fdisk =
(DOS) and=20
am rebuilding) and then drops to a single user shell with / mounted=20
read-only.&nbsp; It seems to me that it is having a problem going from =
root as a=20
read-only filesystem to a read-write filesystem.&nbsp; I have tried many =

combinations without success.&nbsp; If it mounts root, it always fails =
during=20
the remount (fstab).&nbsp; If I don't pass rootdev as an argument to the =
kernel,=20
it tries to mount wd1s1 and then it panics, obviously because there is =
no [UFS]=20
filesystem there.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =
size=3D2>Any=20
ideas what else to try?</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =
size=3D2>Tom=20
Veldhouse</FONT></SPAN></DIV>
<DIV><SPAN class=3D620513819-17011999><FONT color=3D#000000 face=3DArial =
size=3D2><A=20
href=3D"mailto:veldy@visi.com">veldy@visi.com</A></FONT></SPAN></DIV></BO=
DY></HTML>

------=_NextPart_000_0001_01BE4220.97C35460--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001be4252$e2562340$0264a8c0>