public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ramdisk with kernel 2.4.18
@ 2002-05-10 17:22 VAN DUC UY
  2002-05-13  5:50 ` Frank Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: VAN DUC UY @ 2002-05-10 17:22 UTC (permalink / raw)
  To: linux-kernel

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?

Thanks in advances
DUC UY

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-13  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 17:22 Ramdisk with kernel 2.4.18 VAN DUC UY
2002-05-13  5:50 ` Frank Schaefer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox