From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from user11.ucall.net ([63.126.131.11] helo=guinan.diversehost.net) by pentafluge.infradead.org with smtp (Exim 3.22 #1 (Red Hat Linux)) id 17c8YL-00071O-00 for ; Tue, 06 Aug 2002 18:55:29 +0100 Subject: Re: boot from diskonchip millenium From: Glen To: Ilguiz Latypov Cc: linux-mtd@lists.infradead.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: 06 Aug 2002 13:54:40 -0400 Message-Id: <1028656482.16600.20.camel@glen> Mime-Version: 1.0 Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: 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/ >