linux on a DOC-2000 without a RAMDISK(HDD kind of install)

David Woodhouse dwmw2 at infradead.org
Wed Jun 12 07:47:36 EDT 2002


watsup at linuxmail.org said:
> is it possible to use mtd drivers to boot from a DOC 2000 chip without
> a RAMDISK based linux install,i mean a HDD type of install which reads
> from a DOC like a HDD?

The MTD drivers are part of Linux, and you can't use them until Linux has 
booted. So they can't be used for booting Linux. But they can be used to 
allow Linux to use a DiskOnChip for its root file system without having to 
use a ramdisk, yes.

For booting, there's a version of Grub which can drive the DiskOnChip
directly and replace its built-in firmware, or you could use LILO, which 
should work fine, using the INT 13h disk BIOS services which are provided
by the default firmware.

> i want to put my own small distribution which
> works on a HDD, is it necessary to go 4 a RAMDISK based distribution?
> if its possible(a HDD type of install),how should i go abt it? 

Build the DiskOnChip drivers into your kernel, install a boot loader. Boot.

--
dwmw2






More information about the linux-mtd mailing list