Hi Rob,
rob wrote:
Hello everybody,
To create my own small fileserver, I have build the embedded target.
Now I want to make a bootable image to start up from compact flash.
The components that are build are the kernel and a squashed
rootfilesystem. I want to boot the system with grub, however, as far
as I know, grub doesn't know about squashfs. It needs an initial
ramdisk that eventually mounts the squashed rootfs.
How can I create a initial ramdisk that will mount the rootfs, or do I
just create an arbitrary ramdisk, and modifiy /etc/fstab?
The embedded target is meant as demo for real embedded systems, that is
in the passt ARM, MIPS, PowerPC, SuperH, etc. based. It's meant
as base for products that are loaded from e.g. u-boot with the rootfs
flashed into a ROM.
To use your build result in regular x86 boards, I think it's best to cp,
rsync,
etc. the rootfs content (the real payload, not the squashfs) to your CF
which you previously have formated with the FS of your choice, and load
the kernel and/or initrd from grub just as usual.
I hope this helps,
René
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2