Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 17:46:08 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Igor Ignatovich <IGORIG@amdocs.com>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@freebsd.org>
Subject:   Re: root FS mounting by kernel?
Message-ID:  <20000614174608.C236@parish>
In-Reply-To: <1FE7ADA9E7A1D111B88700805FEB08C901C23384@haifamail.amdocs.com>; from IGORIG@amdocs.com on Wed, Jun 14, 2000 at 04:00:15PM %2B0200
References:  <1FE7ADA9E7A1D111B88700805FEB08C901C23384@haifamail.amdocs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=<path>

        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/<your_root_device>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000614174608.C236>