I've made one initrd to try. But when executing at /sbin/init, linux halts. Output log is as following: RAMDISK: Compressed image found at block 0 Freeing initrd memory: 3687k freed VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 64k freed Warning: unable to open an initial console. [end] By the way, using initramfs, can I have rw root fs on ramdisk? tks zhu --- Dave Aubin daubin@actuality-systems.com wrote:
Here is a good way to do initramfs. Initramfs becomes part of the kernel and Then executes it's programs in user space which makes things nice. But there Are other advantages as well. Feel free to read these while on the thrown;)
http://linuxfromscratch.org/pipermail/lfs-hackers/2004-June/001424.html
http://seclists.org/lists/linux-kernel/2004/Jul/0154.html
http://lwn.net/Articles/14776/
For my needs initramfs is a life saver, but initrd is good too. Heck you could Go NFS if you wish.
Enjoy, Dave:)
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org] On Behalf Of zhu shi song Sent: Friday, September 03, 2004 6:53 AM To: linuxbios@clustermatic.org Subject: use ramdisk as root file system
I now can boot my QDIA6T(vt8601/vt82c686b) MB using hard disk as root file system though there is no vga turned on. But I don't need HD. I hope I can mount RAMDisk as my root filesystem which can be read and written. How should I do to start such work? I have read some material about initrd but I don't understand it very clearly.
tks zhu
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail