[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: milo for PC164



On Fri, Feb 01, 2002 at 08:48:27AM -0800, Stephen Williams wrote:
> 
> It finds my root partition just fine without the root=/dev/sda2 flag.

/dev/sda2 is a default if you are booting from milo and nothing was
specified explicitely or parameters are garbled so you just got lucky.:-)
In particular stuff like 'root = /dev/sda2' is just ignored as syntax is
wrong.  You would get a panic with a root file system on any other
device.

> In fact, it boots fine, it's just that the cycle=500000000 doesn't
> seem to stick.

If you have mulitiple kernel parameters with blanks in between then
quote the whole string with "...".

Actually if things are getting more complicated it is much better
to put the whole thing into 'append' line of a corresponding stanza
in your milo.conf.  Like that (an example!):

    .... 
    root=/dev/sda2
    append="cycle=500000000 ro 5"

and whatever else you would like to have there (or things will
become unwieldy pretty fast especially with multiple kernels
and/or different ways to boot).

> Is there a way I can tell from a booted system what
> command line parameters were passed to the kernel by milo?

Type 'cat /proc/cmdline'.  You can also check what is says in
/var/log/dmesg (or do 'dmesg | less' if this is not logged).

   Michal





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []