[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how do I run an initial ram disk with grub?
From: |
Sottek Sandra |
Subject: |
how do I run an initial ram disk with grub? |
Date: |
Fri, 10 May 2002 17:18:37 +0200 |
Hello,
I have tried in several ways to run initrd with grub 0.92, but somehow it
doesn't work.
http://www.linuxhq.com/kernel/v2.4/doc/initrd.txt.html says I have to give
the parameters
root=/dev/ram0 init=/linuxrc rw
so I made the following entry in /boot/grub/menu.lst:
title ram disk
kernel /bzImage_1.0 root=/dev/ram0 init=/sbin/init rw
initrd /initrd_1.0.gz
If I try to boot this I get a couple of very ugly error messages, something
like that:
...
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2521k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 188k freed
attempt to access beyond end of device
01:00: rw=0, want=8209, limit=4096
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode
block - inode=1350, block=8208
attempt to access beyond end of device
01:00: rw=0, want=8202, limit=4096
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode
block - inode=1296, block=8201
attempt to access beyond end of device
01:00: rw=0, want=8198, limit=4096
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode
block - inode=1257, block=8197
Kernel panic: No init found. Try passing init= option to kernel.
I would be very glad if you can help me.
Best Regards,
Sandra
- how do I run an initial ram disk with grub?,
Sottek Sandra <=