LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2007, 09:49 AM   #1
Ismail Riyaz
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
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?

Last edited by Ismail Riyaz; 12-23-2007 at 09:51 AM.
 
Old 12-23-2007, 06:15 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 12-24-2007, 01:31 AM   #3
Ismail Riyaz
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 12-24-2007, 02:17 AM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by AwesomeMachine View Post
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
 
  


Reply

Tags
boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting error in puppy linux while booting it from fedora why ? senthilarumugam LinuxQuestions.org Member Intro 1 02-22-2007 02:43 PM
LXer: Dual-booting Windows and Linux the easy way (Linux.com videos) LXer Syndicated Linux News 0 07-21-2006 05:21 PM
LXer: Dual booting Linux and AIX Linux in a clustering environment LXer Syndicated Linux News 0 05-16-2006 06:21 AM
booting Linux from an image that lost booting capabilities tgr Linux - Software 1 03-05-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration