Re: actual boot device

[ Available lists | Index of freebsd-hackers | Month of Aug 2004 | Week of 17 Aug 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Brooks Davis <brooks@one-eyed-alien.net>
Date
17 Aug 2004 16:34:54
Subject
Re: actual boot device
Message-ID
20040817163500.GC28054@odin.ac.hmc.edu

In reply to
Referenced by

[ Hide this part ]
[Please don't top post, it breaks context.  Post reformatted.]

On Tue, Aug 17, 2004 at 07:25:52PM +0300, Sergey Lyubka wrote:
> On Tue, Aug 17, 2004 at 11:15:16AM -0500, Dan Nelson wrote:
> > In the last episode (Aug 17), Sergey Lyubka said:
> > > How would one know the actual boot device after kernel successfully
> > > booted ?
> >
> > The kern.bootfile sysctl points to the kernel file that was loaded,
> > according to the loader. If you booted off of cdrom or floppy, you can
> > run "kenv loaddev" to find out which device was actually used to read
> > the file.
>
> I am booting kernel directly from bootblock, and do not have
> boot loader, so kenv does not work.

You don't say which version you are running, but in 5.x booting without
the loader is not supported in any way shape or form.

-- Brooks

--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.164 seconds