Hello, could you post an error here?
P.S Not sure if it will help with an error, but it is definitely faster when it comes to the compilation. Try to chroot into the image: Mount the image: sudo mount -o loop,offset=32256 (image name->)linux-x86.img /mnt - Chroot into the image: cd /mnt sudo mount --bind /proc /mnt/proc sudo mount --bind /dev /mnt/dev sudo mount --bind /sys /mnt/sys sudo mount --bind /tmp /mnt/tmp # copy /etc/resolv.conf to the mount # cp /etc/resolv.conf /mnt/etc sudo mount --bind /etc/resolv.conf /mnt/etc/resolv.conf sudo chroot . - Exit the chroom, and umount: #exit sudo umount /mnt/proc sudo umount /mnt/dev sudo umount /mnt/sys sudo umount /mnt/tmp sudo umount /mnt/tmp sudo umount /mnt/etc/resolv.conf sudo umount /mnt Best regards, Jasmin JAHIC On Mon, Dec 11, 2017 at 5:09 PM, Rana Elnaggar <rana.elnag...@duke.edu> wrote: > Hi, > > I am trying to install applications on a linux image kernel 2.6.x > downloaded from here http://www.gem5.org/Download . I first mount the > image, next, I copy the source code of the application that I need to > install. and then unmount the image and boot the system and from inside the > booted image I try to do make. However, an error in compilation is always > related to missing lib/modules. Could you help me with this issue ? . Also, > I thought that booting an image with a newer kernel could be a solution. > Did any one successfully booted kernel 3.x on x86 gem5? If yes, can you > share the built image and kernel files ? > Download - gem5 <http://www.gem5.org/Download> > www.gem5.org > Getting gem5. The latest gem5 source code (including the encumbered files) > is available via our Git repository host at https://gem5.googlesource.com. > > > > Best Regards, > > Rana > > > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users