Re: Working rootfs to load host file system from RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 22, 2012 at 11:10 AM, Jessica Allison
<jessica.allison.2012@xxxxxxxxxxx> wrote:
> Has anyone got a working rootfs that I can boot from directly on the ARM
> Fast Model simulator? I'm not talking about one for the guest but one for
> the host.
>
> I can properly boot the system in the simulator from NFS, but when I try to
> build an initramfs from my NFS filesystem and attach that to the simulator
> with --initrd xxx then the kernel seems to hang after having extracted the
> initramfs and then freed the memory - it stops doing anything after saying
> "Freeing init memory".
>
> I have created the initramfs by just doing a
>
> find ./ | cpio -o -H newc | gzip > ./initrd.cpio.gz
>
> in the directory which is my NFS filesystem. Isn't that sufficient?
>
> Btw I have also tried to build the initramfs into the kernel by configuring
> CONFIG_INITRAMFS_SOURCE=xxx - however, then what happened is that when the
> system booted it only said "error uncompressing kernel" right at the start.
>
For your host system you should be fine with NFS.

For the guest you need something really simple if it's not going to be
too big, try with this one:
http://www.cs.columbia.edu/~cdall/initrd.img

-Christoffer
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux