public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Schaefer <frank.schafer@setuza.cz>
To: linux-kernel@vger.kernel.org
Subject: Re: Ramdisk with kernel 2.4.18
Date: 13 May 2002 07:50:54 +0200	[thread overview]
Message-ID: <1021269054.292.0.camel@ADMIN> (raw)
In-Reply-To: <20020510102256Z313305-22651+25859@vger.kernel.org>

On Fri, 2002-05-10 at 19:22, VAN DUC UY wrote:
> Hello all, 
> i'm new to linux-kernel so i have some questions for linux kernel .
> 
> Now adays, i try to make a Linux kernel support Ramdisk. i read some 
> documents on internet and follow these document to complete. but the kernel 
> cannot run properly. 
> 
> this is my linuxrc file :
> *******************************************************************
> #!/bin/nash
> 
> echo "Loading jbd module"
> insmod /lib/jbd.o 
> echo "Loading ext3 module"
> insmod /lib/ext3.o 
> mount -t proc /proc /proc
> echo Mounting /proc filesystem
> echo Creating root device
> mkrootdev /dev/root
> echo 0x0100 > /proc/sys/kernel/real-root-dev
> umount /proc
> echo Mounting root filesystem
> <-------------------------------	ERROR during mount rootfs
> mount --ro -t ext2 /dev/root /sysroot
> pivot_root /sysroot /sysroot/initrd
> *********************************************************************
> and my /etc/lilo.conf
> ******************************************
> image=/boot/vmlinux-2.4.18
> 	label="linux-ramdisk"
> 	initrd=/boot/initrd-2.4.18.img
> 	read-only
> 	root=/dev/ram
> 	append="init=/linuxrc"
> 	
> ******************************************	
> Does somebody do it before ?
> can anyone give me some guide to make a linux kernel which root filesystem is 
> on ramdisk?
> 
Hi,

Read the Bootdisk-HOWTO. There you'll find a complete description, what
the kernel needs and does using root on ramdisk.

Regards
Frank


      reply	other threads:[~2002-05-13  5:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 17:22 Ramdisk with kernel 2.4.18 VAN DUC UY
2002-05-13  5:50 ` Frank Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1021269054.292.0.camel@ADMIN \
    --to=frank.schafer@setuza.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox