Johannes Feigl
2005-Apr-12 13:52 UTC
[syslinux] booting a linux with memdisk & mounting it
hi, i want to load a small linux system with memdisk and when the linux system is started i want to mount the memdisk-image. is this possible? if yes: how can i mount it? when i try to mount /dev/fd0 it accesses to my floppy drive. bye, johannes (jaf) _____________________________________ Varium et mutabile femina semper est!
H. Peter Anvin
2005-Apr-12 16:08 UTC
[syslinux] booting a linux with memdisk & mounting it
Johannes Feigl wrote:> hi, > > i want to load a small linux system with memdisk and > when the linux system is started i want to mount the > memdisk-image. > > is this possible? > if yes: how can i mount it? > when i try to mount /dev/fd0 it accesses to my floppy drive. >It's possible, but currently not supported. There are two ways to make this happen: either modify the initrd driver to recognize a MEMDISK as an initrd, or teach the MTD driver to recognize a MEMDISK as an MTD. Either way should work; the former is probably easier, but requires changes to the 16-bit kernel startup code. However, odds are that you can do what you want without MEMDISK using initrd instead. -hpa
Reasonably Related Threads
- flashing bios & memdisk
- AW: AW: AW: flashing bios & memdisk
- AW: AW: flashing bios & memdisk
- Usin ISO Linux & Memdisk to create a Viritual Floppy drive that Linux & Windows can load driver disk from.
- [PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory