Could not find valid boot record
Hamish Guthrie
hamish at dplanet.ch
Mon Feb 26 10:30:21 EST 2001
I trying to mount a root filesystem using LinuxBIOS on a DoC millenium.
I have formatted an nftl portion of the DoC using
# nftl_format /dev/mtd0 1048576
to create an nftl 'partition' at an offset of 1M from the beginning of the
device. I then fdisk this, create the partition, make it bootable (even if I
don't I get the same result). Then mke2fs on the device. Mount the device -
it is seen correctly - then populate it with some files an umount it. I then
burn in my IPL code, LinuxBIOS code and Kernel image (using 2.4.2 kernel).
I am also passing the command line argument 'root=/dev/nftla' to the kernel.
When I boot out of the DoC I get:
M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI
$Id: nftl.c,v 1.57 2000/12/01 17:51:54 dwmw2 Exp $
NFTL_notify_add for DiskOnChip Millennium
mtd->read = c0193100, size = 8388608, erasesize = 8192
NFTL_setup
Could not find valid boot record
Could not mount NFTL device
NFTL_open
ENODEV: thisNFTL = 0, minor = 23808, ip = c0091780, fp = c0095f04
VFS: Cannot open root device "nftla" or 5d:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 5d:00
Any pointers as to where I may be screwing up please??
TIA
Hamish Guthrie
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list