From owner-freebsd-questions Wed Jun 14 9:55:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta02-svc.server.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id E340137C258 for ; Wed, 14 Jun 2000 09:55:19 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.85.136]) by mta02-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000614175452.KZMO10065.mta02-svc.server.ntlworld.com@parish.my.domain>; Wed, 14 Jun 2000 17:54:52 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id RAA00788; Wed, 14 Jun 2000 17:46:08 +0100 (BST) (envelope-from mark) Date: Wed, 14 Jun 2000 17:46:08 +0100 From: Mark Ovens To: Igor Ignatovich Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: root FS mounting by kernel? Message-ID: <20000614174608.C236@parish> References: <1FE7ADA9E7A1D111B88700805FEB08C901C23384@haifamail.amdocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <1FE7ADA9E7A1D111B88700805FEB08C901C23384@haifamail.amdocs.com>; from IGORIG@amdocs.com on Wed, Jun 14, 2000 at 04:00:15PM +0200 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 14, 2000 at 04:00:15PM +0200, Igor Ignatovich wrote: > > Hello, > I added new partition to my FreeBSD-4.0 box. I transferred(by dump & > restore) > root( '/' ) partition to the new drive and installed bootstrap there. So I > can boot now > from this new partition. The problem is that kernel still mounts my > previous device > as root(' / ') FS despite I changed fstab apropriately(because the mount > performed somewhere before, > when kernel is being loaded). From /boot/loader.help: # Tset Srootdev DSet the root filesystem set rootdev= By default the value of $currdev is used to set the root filesystem when the kernel is booted. This can be overridden by setting $rootdev explicitly. So just add set rootdev=/dev/ to /boot/loader.conf HTH > Pls., give me advice. > > > Thanks, > Igor Ignatovich > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Want a lean, mean, computing machine? Get rid of that FAT - install FreeBSD ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message