LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux booting (https://www.linuxquestions.org/questions/linux-newbie-8/linux-booting-608712/)

Ismail Riyaz 12-23-2007 09:49 AM

linux booting
 
Hi,
I am a linux newbie. I have a basic question. I boot linux from redboot (bootloader) with a jffs2 root file system with kernel command line arguments… “noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rootfstype=jffs2 init=linuxrc” . Booting is from nor flash. The above info is for u to know what I am doing. What I want to know is how do i select which memory to use. On one board I would like non-volatile memory to be nand flash and on another I would like to use hard disk. Also, what are the linux commands to see memory usage?

AwesomeMachine 12-23-2007 06:15 PM

Why are you using jffs file system, which doesn't exist? It's called jfs. You talk about 'on one board'. What are you referring to as a board? You speak of 'nor flash'. What does 'nor' mean in relation to flash memory? It is difficult or impossible to boot linux without initrd.

Ismail Riyaz 12-24-2007 01:31 AM

Hi
Thanks for reply.
>Why are you using jffs file system, which doesn't exist? It's called jfs.
It is most suited for embedded systems booting from nor flash. It is jffs(journalling flash file system).

>You talk about 'on one board'. What are you referring to as a board?
Sorry if i confused you. I meant my system on which i am running linux.
> You speak of 'nor flash'. What does 'nor' mean in relation to flash memory?
?????
>It is difficult or impossible to boot linux without initrd.
Initrd contains driver modules which are loaded into kernel. The arguement "noinitrd" doesnt convert initrd into ram disk, but its contents remain and are read from /dev/initrd.

Anyway, my problem is not starting up linux. I just wanted to know how to allocate memory that should be used(Nand or hard disk). Maybe i can just disable drivers of devices i dont wnat to use?
And how to see the used space and remaining space of my non-volatile memory(Nand or hard disk) using commands as i do not have gui(gnome or kde) yet.

AceofSpades19 12-24-2007 02:17 AM

Quote:

Originally Posted by AwesomeMachine (Post 3000049)
Why are you using jffs file system, which doesn't exist? It's called jfs. You talk about 'on one board'. What are you referring to as a board? You speak of 'nor flash'. What does 'nor' mean in relation to flash memory? It is difficult or impossible to boot linux without initrd.

Slackware on my machine boots fine without an initrd


All times are GMT -5. The time now is 11:49 PM.