RE: RAMDISK: incomplete write (ramdisk too small?)

3 messages, 3 authors, 2003-12-10 · open the first message on its own page

RE: RAMDISK: incomplete write (ramdisk too small?)

From: ARIBAUD Albert <hidden>
Date: 2003-12-10 08:30:52

-----Message d'origine-----
De : owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]De la part
de hyding
Envoyé : mercredi 10 décembre 2003 02:51
À : linuxppc-embed
Objet : RAMDISK: incomplete write (ramdisk too small?)



hi,all
    I made an initrd but failed to boot.The process about making the
initrd is as follows:
    dd if=/dev/zero of=/tmp/ramdisk.image bs=1k count=8192
Looks like you're building a ramdisk bigger than 4megs.
The kernel need a RAMDISK_SIZE=8192k command line argument for your
8meg ramdisk to work, I think.

Albert.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: RAMDISK: incomplete write (ramdisk too small?)

From: hyding <hidden>
Date: 2003-12-10 13:11:56

hi, Albert
    Thanks a lot.
    It doesn't complain now and mounts initrd now. But it still has some problem.
    It immediately umount initrd and mount disk fs. I think there is no program in ramdisk. I only installed busybox into the ramdisk.
    What more is needed to make up of the ramdisk.
Thanks!

----- Original Message -----
From: "ARIBAUD Albert" <redacted>
To: "Linuxppc-Embedded (E-mail)" <redacted>
Sent: Wednesday, December 10, 2003 4:30 PM
Subject: RE: RAMDISK: incomplete write (ramdisk too small?)

quoted
-----Message d'origine-----
De : owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]De la part
de hyding
Envoyé : mercredi 10 décembre 2003 02:51
À : linuxppc-embed
Objet : RAMDISK: incomplete write (ramdisk too small?)



hi,all
    I made an initrd but failed to boot.The process about making the
initrd is as follows:
    dd if=/dev/zero of=/tmp/ramdisk.image bs=1k count=8192
Looks like you're building a ramdisk bigger than 4megs.
The kernel need a RAMDISK_SIZE=8192k command line argument for your
8meg ramdisk to work, I think.

Albert.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: RAMDISK: incomplete write (ramdisk too small?)

From: Wolfgang Grandegger <hidden>
Date: 2003-12-10 13:44:56

Hi,

the following links might be useful on how to build a
ramdisk image containing a working Linux root file
system:

http://www.denx.de/twiki/bin/view/DULG/AddingFilesToRamdiskIsNonPersistent
http://www.linuxdevices.com/articles/AT5955697568.html

Good luck.

Wolfgang.

-- Original Message --
From: "hyding" <redacted>
To: "ARIBAUD Albert" <redacted>
Cc: "linuxppc-embed" <redacted>
Subject: Re: RAMDISK: incomplete write (ramdisk too small?)
Date: Wed, 10 Dec 2003 21:11:56 +0800



hi, Albert
   Thanks a lot.
   It doesn't complain now and mounts initrd now. But it still has some
problem.
   It immediately umount initrd and mount disk fs. I think there is no
program
in ramdisk. I only installed busybox into the ramdisk.
   What more is needed to make up of the ramdisk.
Thanks!

----- Original Message -----
From: "ARIBAUD Albert" <redacted>
To: "Linuxppc-Embedded (E-mail)" <redacted>
Sent: Wednesday, December 10, 2003 4:30 PM
Subject: RE: RAMDISK: incomplete write (ramdisk too small?)

quoted
quoted
-----Message d'origine-----
De : owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]De la part
de hyding
Envoyé : mercredi 10 décembre 2003 02:51
À : linuxppc-embed
Objet : RAMDISK: incomplete write (ramdisk too small?)



hi,all
    I made an initrd but failed to boot.The process about making the
initrd is as follows:
    dd if=/dev/zero of=/tmp/ramdisk.image bs=1k count=8192
Looks like you're building a ramdisk bigger than 4megs.
The kernel need a RAMDISK_SIZE=8192k command line argument for your
8meg ramdisk to work, I think.

Albert.



** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help