boot from diskonchip millenium

Glen mtd at empireenterprises.com
Tue Aug 6 13:54:40 EDT 2002


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/
> 






More information about the linux-mtd mailing list