|
From:
<sg....@ay...> - 2007-02-12 07:34:45
|
Hi! > "console=3Dtty0 mem=3D64M root=3D/dev/ram0 rw init=3D/linuxrc = ip=3Ddhcp". > he tosses out my "root=3D" and my "init=3D" and puts in > root=3D/dev/nfs nfsroot=3D/pfad/zum/rootfs > ltsp one. If I use his initrd with my kernel the /linuxrc does not = seem > to start (even though its in the ramdisk) when I pass > root=3D/dev/ram0 rw init=3D/linuxrc. > Question@all: Are there known problems/limitation with the ramdisks on > the Netstation? Is this a possible reason why Garcia uses cramfs > ramdisks? Has someone made similar experience with cmd-line = parameters? Well, lots of cmdlines and different results and I'm going to add yet a = couple of them more... I used to have this cmdline when I used to have the system boot out of a = root NFS filesystem, without using a ramdisk: console=3DttyS0,9600 console=3Dtty0 root=3D/dev/nfs nfsroot=3D/linuxppc = ip=3Ddhcp But now that I have gone to a ramdisk based boot with a smbfs filesystem = all I have is this: console=3DttyS0,9600 console=3Dtty0 ip=3Ddhcp As you can see I'm not specifying any root or init, the kernel finds it = all by itself, I suppose that may be caused because the ramdisk is being = included on the kernel itself when we are compiling it using = zImage.initrd as the target for the kernel build. As for the kernel messages I'm seeing they should be something like this = (I'm trying not to change anything as I type them): RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 2464 blocks [1 disk] into ram disk... done. Freeing initrd memory: 2464k freed VFS: Mounted root (cramfs filesystem). Freeing unused kernel memory 248k init 36k pmac 8k chrp 4k openfirmware striofb_op_set_var con=3D6 1024x768-1024x768-15bpp mode=3D12690 176 16 = 28 1 96 3 -- act=3D2 ... As far as I know there should be no problems with ext2 filesystem, I = just chose cramfs because it was easier for me to build that ramdisk = than others, as you don't need to mount it for creation and a normal = user can do it, no need for root, and at that time it was the standard = ramdisk on Debian, which is what I'm using anyway. Regards... -- Santiago Garc=EDa Manti=F1=E1n Servicio de Inform=E1tica (Redes) AYUNTAMIENTO DE LA CORU=D1A Tlf: 981184200/22 Ext 10997 |