From owner-freebsd-questions Tue Jun 9 08:11:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA14625 for freebsd-questions-outgoing; Tue, 9 Jun 1998 08:11:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA14567 for ; Tue, 9 Jun 1998 08:11:04 -0700 (PDT) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.9.0/8.9.0) id KAA03103; Tue, 9 Jun 1998 10:10:59 -0500 (CDT) To: Ben Compton Cc: freebsd questions Subject: Re: Booting Problems References: <3.0.5.32.19980608233124.0093d100@mail.naxs.com> From: sfarrell+lists@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 09 Jun 1998 10:10:59 -0500 In-Reply-To: Ben Compton's message of "Mon, 08 Jun 1998 23:31:24 -0400" Message-ID: <87k96qd30c.fsf@couatl.uchicago.edu> Lines: 51 X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Compton writes: > I just installed FreeBSD 2.2.6 on my Dell P-II 300MHz machine and I > really found the install to be painless. I am having a problem > however when I try to boot. I have installed BSD on my second hard > drive and am using Windows NT's OS Loader to boot BSD (I was able to > do this thanks to a handy little program called Bootpart) The system > appears to boot just fine it chefcks all my drives and so forth but > the stops with this message "Panic can't mount root" the system then > reboots. Has anyone got any ideas? I didn't use and of the > bootmanagers that came with my BSD CDs and I chose the option to > leave my MBR untouched since I would be using the NT OS Loader on my > primary drive to boot BSD on my secondary drive. Any and all help > would be appreciated. The kernel needs to know where to find its root. This can be specified at the command line--here's my boot.help file which specifies how to do so: Usage: bios_drive:interface(unit,partition)kernel_name options bios_drive 0, 1, ... interface fd, wd or sd unit 0, 1, ... partition a, c, ... kernel_name name of kernel, or ? for list of files in root directory options -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles) -d (debug early) -g (gdb) -h (serial console) -P (probe kbd) -r (default root) -s (single user) -v (verbose) Examples: 1:sd(0,a)mykernel boot `mykernel' on the first SCSI drive when one IDE drive is present 1:wd(2,a) boot from the second (secondary master) IDE drive 1:sd(0,a)? list the files in the root directory on the specified drive/unit/partition, and set the default bios_drive, interface, unit and partition -cv boot with the defaults, then run UserConfig to modify hardware parameters (c), and print verbose messages (v) Additionally you might put a file called /boot.config whch looks something like: 1:wd(2,a)kernel to tell it where to find root in the future. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message