Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 16:02:01 -0500
From:      "Thatcher Hubbard" <hubbardj@earthlink.net>
To:        "Parker Brown" <phbrown@gte.net>, "'Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Rebuilding Kernel, Probs defining root device
Message-ID:  <000601bec017$22b4af00$0500a8c0@ocoee>
In-Reply-To: <37753CDF.DDCD0884@gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  I never used any of the 2.X branch, and I know some of the docs lurking
still refer to that stuff, but SCSI disks are named daX now.  If your root
partition is on the first SCSI disk, change that line to 'config kernel root
on da0'.  As an aside, if you have SCSI and IDE disks, you may have problems
booting off the SCSI drives.  I booted for a month off of the fixit disk
because I was getting a 'panic: cannot mount root'.  As it turned out, it
always tried to change the root device to my second SCSI disk for some
unknown reason.  I finally found the solution in the mailing list archives.
Edit your /boot/loader.rc file and add the following lines:

	set num_ide_disks=1 (if you have one disk)
	set root_device_unit=1

  Somone else had this problem just a day or so ago.  I'm not sure if you
need both but I haven't had any problems with using both of them.  Where
would be an appropriate place to put this in the docs?  I'd be happy to
submit something about it.


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Parker Brown
> Sent: Saturday, June 26, 1999 3:50 PM
> To: Tech Support
> Subject: Rebuilding Kernel, Probs defining root device
>
>
> Rebuilding the kernel on 3.2, and I'm having trouble defining where to
> locate the kernel in the statement:
>
> config    kernel  root on wd0
>
> This is the first time I've tried to rebuild the kernel on a SCSI
> machine.  Lehey's "The Complete FreeBSD" says to change wdo to sd0
> (p.253), and the LINT file doesn't really say what to do.
>
> Anyway, the compiler blows immediately with a terse message saying it
> can't identify "sd" (not sd0, as I coded).
>
> What should I do to remedy the situation?
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000601bec017$22b4af00$0500a8c0>