Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 15:01:25 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Mike Smith <msmith@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: [loader?] secret to setting root elsewhere?.
Message-ID:  <3A70B045.C4226CE1@elischer.org>
References:  <200101252048.f0PKmZ801414@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
> 
> >  Ok so I have tried the settings in
> > teh loader conf..
> > I have:
> >
> > #autoboot_delay="10"            # Delay in seconds before autobooting
> > #console="vidconsole"           # Set the current console
> > currdev="disk1s1a"              # Set the current device
> > module_path="/boot/kernel;/boot/modules"        # Set the module search path
> > #prompt="\\${interpret}"        # Set the command prompt
> > root_disk_unit="1"              # Force the root disk unit number
> > rootdev="disk1s1a"              # Set the root filesystem
> >
> >
> > but it still loads disk0 as root..
> >
> > what am I doing wrong?
> 
> You don't "load a disk as root".
> 
> If you mean "it loads the kernel from the wrong place", that's one thing.
> If you mean "it mounts / from the wrong filesystem", then you should be
> aware that the loader reads /etc/fstab, and the kernel will mount
> whatever you've put in there.



YUUUKKKKKKKK!!!!!!!!

I'm specifying a different place because the place where fstab is is SCREWED!!!!

but it will let me do what I want.


> 
> root_disk_unit is also deprecated.

> 
> --
> ... every activity meets with opposition, everyone who acts has his
> rivals and unfortunately opponents also.  But not because people want
> to be opponents, rather because the tasks and relationships force
> people to take different points of view.  [Dr. Fritz Todt]
>            V I C T O R Y   N O T   V E N G E A N C E

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  from Perth, presently in:  Budapest
            v


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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A70B045.C4226CE1>