Re: ramdisk

From: Uli Luckas
Date: Wed Sep 05 2007 - 04:07:56 EST


On Tuesday, 4. September 2007, linux-os (Dick Johnson) wrote:
> On Mon, 3 Sep 2007, Xu Yang wrote:
> > Hi everyone,
> >
> > I want to use ramdisk to boot my filesystem, as I can't use NFS and
> > harddisk.
> >
> > I have load the ramdisk into the ram memory (start address :0x4000000)
> >
> > and in the boot options I specified : root =dev/ram0 initrd=0x4000000
>
> Since you don't know what the default directory is, perhaps
> root should be /dev/ram0. Also, make sure you actually create
> those device nodes in /dev
>
Hey Dick,
where exactly (on which file system) is Xu supposed to create the device
nodes? ;-)
Xu's problem is, he can't mount his _root_ filesystem in the first place.
Therefore I doubt it'd help to have some device nodes somewhere ...

Xu,
all answers to your posting commented on your kernel command line. The command
line you quoted contains "root =dev/ram0".
You probably meant to write "root=/dev/ram0". To not waste our time, please
clarify if this was a typo before asking further questions.

regards,
Uli

--

------- ROAD ...the handyPC Company - - - ) ) )

Uli Luckas
Software Development

ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de

Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/