linux-mips
[Top] [All Lists]

Re: [patch] cmdline.c rewrite

To: Guido Guenther <agx@sigxcpu.org>, linux-mips@linux-mips.org
Subject: Re: [patch] cmdline.c rewrite
From: Andrew Clausen <clausen@melbourne.sgi.com>
Date: Wed, 5 Feb 2003 10:19:09 +1100
In-reply-to: <20030204231203.GY16674@bogon.ms20.nix>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030204061323.GA27302@pureza.melbourne.sgi.com> <20030204092417.GR16674@bogon.ms20.nix> <20030204223930.GD27302@pureza.melbourne.sgi.com> <20030204231203.GY16674@bogon.ms20.nix>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
On Wed, Feb 05, 2003 at 12:12:03AM +0100, Guido Guenther wrote:
> On Wed, Feb 05, 2003 at 09:39:30AM +1100, Andrew Clausen wrote:
> > It was blindly copying from the environment variable a string
> > looking like dksc(0,1,2).  This should be translated (somehow)
> > to something looking like /dev/sdb1.  This would have to be
> > done after the hard disk probes.
> If you set OSLoadPartition=/dev/sda1 (or whatever) - it allows you to
> boot from hard disk without any boot loader involved.

Huh?  The firmware uses something looking like OSLoadPartition=dksc(0,1,2),
not /dev/sda1.

>  If you have a
> bootloader (which is only true for IP22 [1]) it sets up the kernels
> commandline properly anyway - so where's the problem? nfsroot?

The problem is the firmware (on my IP27, anyway) uses a different
form to Linux for OSLoadPartition.  OSLoadPartition tells the
firmware / bootloader (sash here) where to find the kernel.

Cheers,
Andrew


<Prev in Thread] Current Thread [Next in Thread>