Cant create ramdisk in cblfs
Hi,
I am working with cblfs and stuck at ramdisk. I have built a monster kernel with 'make allyesconfig' for 2.6.37 and when I boot the kernel it hangs. I guess this has to do with no ramdisk. I've another kernel 2.6.35 that boots fine but I am unable to find 'block device' under device driver section in it (the menuconig has a very bad resolution and I cant really read it all too well). This is what I get when I try to patch /etc/rc.d/init.d/modules - Code:
root:/etc/rc.d/init.d$ patch -Np1 -i ~/mountfs-0.1-RAMDISKTMP-2.patch |
Hi,
Could you please post the content of your mountfs.rej file. I think it contains useful info to understand the problem. Kind regards, Oliv' |
Quote:
|
Quote:
Quote:
|
But what I really need to understand the problem is the .rej file when you try to apply the patch. With that I hope I will be able to tell you wether that's a critical error or not.
Kind regards, Oliv' |
Quote:
Not sure what happened to it, I followed everything off book as yet but I guess it didnt make any. I guess I need to try patching it again in order to generate .rej file, will report back later. |
Quote:
Here is the file Quote:
|
I wonder why the patch is creating ext2 fs. I have clfs on ext3, should i change ext2 to ext3 and give it a try.
|
Hello,
Sorry for the delay, but I have also have a work ;) So about ext2 or ext3, that's not a problem. Indeed your rootfs is in ext3 format, but ramdisk is just a temporary RAM storage, so a kind of temporary partition. So ext2 for your ramdisk and ext3 for your rootfs is fine. About the patch itself, I think that either the format is not OK or the command line is not OK. Here is below what I would modify: Code:
--- etc/rc.d/init.d/mountfs.old 2009-09-28 07:11:13.855801600 +0000 Code:
cd /etc/ Kind regards, Oliv' |
Oliv', thanks a bunch. I will try this in morning and report back. have a great evening.
|
All times are GMT -5. The time now is 02:00 PM. |