That's not a file system image, it's a whole disk image including a partition table at the start. You'll need to skip over the beginning to get to the start of the file system. You can refer to gem5img.py to see how it's done on Linux.
Gabe On 05/14/12 21:52, wael Amr wrote: > Hi All, > > After building gem5 based on ISA x86,i started to follow steps for > disk image (http://www.m5sim.org/Disk_images) as i need full system. > As i mentioned before > (http://www.mail-archive.com/[email protected]/msg03673.html) , > i observed that Mac's do not have loop devices and losetup program. > > But i found another command to mount the image : hdiutil > So tried to use it as shown: > hdiutil mount linux-x86.img > > But i got this message : > hdiutil: mount failed - no mountable file systems > > Please any advice/hint will be highly appreciated to solve this > problem or set up disk image on Mac OS in general as i am blocked. > > Thank you so much for time and support. > Best Regards > Wael Amr > > > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
