Re: boot2 problem

1999-10-16 Thread Daniel C. Sobral

Alexey Zelkin wrote:
 
  It's pretty consistant with other OS's boot prompt.

 Ok, I see that I'll not get answer to my question except "do it otherwise".

Actually, you got an answer, though you might have missed it.

Boot2 does not have "/kernel" as default, but "/boot/loader". Thus,
even if we did identify -v as a "parameter" and passed it to what is
being loaded, it would be the loader that receives it.

Alas, we just don't have a lot of space for boot2, and we'd rather
not spend it on things like that. Rather, we decided to keep boot2
simple, and transfer all niceties to a new stage, the loader. Loader
is fully featured, has an extended help, and includes a complete
structured programming language. We can't fit all of this into
boot2, obviously. And if we decided to add "just this feature" to
boot2, where would we draw the line? As the requirements for the
boot stage increase, so will boot2. It happened before, and that's
why we now have a three stage loader.

--
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

"I always feel generous when I'm in the inner circle of a
conspiracy to subvert the world order and, with a small group of
allies, just defeated an alien invasion. Maybe I should value myself
a little more?"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: boot2 problem

1999-10-15 Thread Mike Smith

 hi,
 
 Just found problem with boot loader. Attached "FAQ" will describe problem :)

This is not a problem.

 Q: What I want? 
 A: Boot in verbose mode
 
 Q: What I do ?
 A: On boot prompt type "-v"
 
 Q: So ?
 A: Nothing (system is booting in normal mode)

That's correct.  '-v' at the boot: prompt does nothing.

 Q: What I do then ?
 A: On boot prompt type "kernel -v"
 
 Q: So ?
 A: All works fine (system is booting in verbose mode)

'-v' is an argument to the kernel.  Specify it as such.  8)

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: boot2 problem

1999-10-15 Thread Alexey Zelkin

hi,

On Fri, Oct 15, 1999 at 12:57:26AM -0700, Mike Smith wrote:

 That's correct.  '-v' at the boot: prompt does nothing.

But '/kernel' is default kernel name, so "-v" will be option to default
kernel name (at least FreeBSD 1.1.5.1/2.* does that :-) ).
 
  Q: What I do then ?
  A: On boot prompt type "kernel -v"
  
  Q: So ?
  A: All works fine (system is booting in verbose mode)
 
 '-v' is an argument to the kernel.  Specify it as such.  8)
If we have default kernel name then why I can't pass parameters there 
and have to excplicitly type kernel name ?

-- 
/* Alexey Zelkin[EMAIL PROTECTED]*/
/* Tavric National University   [EMAIL PROTECTED]  */
/* http://www.ccssu.crimea.ua/~phantom  [EMAIL PROTECTED] */


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: boot2 problem

1999-10-15 Thread Mike Smith

 hi,
 
 On Fri, Oct 15, 1999 at 12:57:26AM -0700, Mike Smith wrote:
 
  That's correct.  '-v' at the boot: prompt does nothing.
 
 But '/kernel' is default kernel name, so "-v" will be option to default
 kernel name (at least FreeBSD 1.1.5.1/2.* does that :-) ).

However, FreeBSD 3.x and 4.x do not.  /boot/loader is the default 
object loaded by boot2.

   Q: What I do then ?
   A: On boot prompt type "kernel -v"
   
   Q: So ?
   A: All works fine (system is booting in verbose mode)
  
  '-v' is an argument to the kernel.  Specify it as such.  8)
 If we have default kernel name then why I can't pass parameters there 
 and have to excplicitly type kernel name ?

You can.  Don't interrupt boot2, wait for the loader, and use 'boot -v'.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: boot2 problem

1999-10-15 Thread Alexey Zelkin

hi,

On Fri, Oct 15, 1999 at 03:09:44AM -0700, Bill Swingle wrote:

Q: What I do then ?
A: On boot prompt type "kernel -v"

Q: So ?
A: All works fine (system is booting in verbose mode)
   
   '-v' is an argument to the kernel.  Specify it as such.  8)
 
  If we have default kernel name then why I can't pass parameters there 
  and have to excplicitly type kernel name ?
 
 You don't have to explicitly specify the kernel name. If the default
 kernel has already been loaded you just have to tell it what to do.
 
 'boot -v'

You're talking about loader(8) boot stage and I about boot2 stage (before
loader(8) execution)

 It's pretty consistant with other OS's boot prompt. 
Ok, I see that I'll not get answer to my question except "do it otherwise".

Sorry.

-- 
/* Alexey Zelkin[EMAIL PROTECTED]*/
/* Tavric National University   [EMAIL PROTECTED]  */
/* http://www.ccssu.crimea.ua/~phantom  [EMAIL PROTECTED] */


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: boot2 problem

1999-10-14 Thread Alexey Zelkin

hi,

On Thu, Oct 14, 1999 at 11:06:51AM -0400, Sean O'Connell wrote:

  Just found problem with boot loader. Attached "FAQ" will describe problem :)

[dd]

 Alternatively, you can interrupt the boot process and enter
 set boot_verbose
 at the disk0 prompt (or whatever it is).

Thanks :) I know.

PS: Can someone with more or less fresh -current repeat this ? If so, I'll
file PR.

-- 
/* Alexey Zelkin[EMAIL PROTECTED]*/
/* Tavric National University   [EMAIL PROTECTED]  */
/* http://www.ccssu.crimea.ua/~phantom  [EMAIL PROTECTED] */


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message