public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Glen <mtd@empireenterprises.com>
To: Ilguiz Latypov <ilatypov@superbt.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: boot from diskonchip millenium
Date: 06 Aug 2002 13:54:40 -0400	[thread overview]
Message-ID: <1028656482.16600.20.camel@glen> (raw)
In-Reply-To: <Pine.LNX.4.44.0208060003210.7633-100000@server.superbt.com>

Ok.  
When the machine boots up, several lines scroll by...unfortunately too
fast for me to see.  

Then, about 50 lines scroll that say: 
Attempting to open /boot/grub/menu.lst 0x0 0x0
Attempting to open /boot/grub/menu.lst 0x0 0x1
Attempting to open /boot/grub/menu.lst 0x0 0x2
...and so on...

I then get a grub> prompt

"grub> geometry" reports: 
Error 11: Unrecognized device string

"grub> root" reports:
(dc0): Filesystem type unknown, using whole disk


I am using nftl_format to prepare the DOC (I don't even know what jffs2
is at this point).
The command used was nftl_format /dev/mtd/0 98304
After the nftl_format, I fdisk, format the partition, mount it, and copy
the kernel and grub conf.  

I've tried using both ext2 and vfat filesystems, with the same results. 


/boot/grub/menu.lst (on the DOC) is as follows:

default 0
timeout 5
title DOC Linux
	kernel (dc0,0)/boot/vmlinuz-2.4.18 root=/dev/nftl/disc0/part1

I've also tried: 

default 0
timeout 5
title DOC Linux
	kernel (dc0,0)/boot/vmlinuz-2.4.18 root=/dev/nftla1

and: 

default 0
timeout 5
title DOC Linux
	kernel (dc0)/boot/vmlinuz-2.4.18 root=/dev/nftl/disc0/part1


Ideas??

-g


On Tue, 2002-08-06 at 00:15, Ilguiz Latypov wrote:
> 
> On 5 Aug 2002, Glen wrote:
> 
> > Now the bios recognizes and runs the boot loader, but it can't seem to
> > read my diskonchip filesystem.  
> 
> Great, now on to the next step: what are the informational and error
> messages?  Have you set up an NFTL layer on the chip?  Perhaps, you are
> trying to install JFFS2 not NFTL?  Can you mount a flash filesystem when
> booted from hard disk?  What is the content of your menu.lst file?
> 
> > I've been loosely following the directions at:
> > http://lists.infradead.org/pipermail/linux-mtd/2001-October/003475.html
> 
> There is a newer instruction at
> 
>    http://lists.infradead.org/pipermail/linux-mtd/2002-June/005240.html
> 
> > What's the difference between the grub_firmware generated by grub and
> > grub_firmware generated by mtd?  
> 
> I believe the original patch to GRUB worked only with DoC 2000.
> 
> Ilguiz
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 

  reply	other threads:[~2002-08-06 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-05 16:48 boot from diskonchip millenium Glen
2002-08-05 17:26 ` Ilguiz Latypov
2002-08-05 23:20   ` Glen
2002-08-06  4:15     ` Ilguiz Latypov
2002-08-06 17:54       ` Glen [this message]
2002-08-06 18:04         ` Ilguiz Latypov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1028656482.16600.20.camel@glen \
    --to=mtd@empireenterprises.com \
    --cc=ilatypov@superbt.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox