Hi All, 

I need an up to date X86 disk image for gem5 full system simulation. The
downloadable ones are unfortunately too old. So that I tried to build my own
disk image. Could somebody help me building it?

Here is what I've done so far:

$ cd ${M5_PATH}
$ python util/gem5img.py init disks/mybuntu.img 5120
$ sudo losetup -f
/dev/loop0
$ sudo losetup -o 32256 /dev/loop0 disks/mybuntu.img
$ wget http://releases.ubuntu.com/15.04/ubuntu-15.04-snappy-amd64-generic.img.xz
$ unxz -c ubuntu-15.04-snappy-amd64-generic.img.xz | sudo dd of=/dev/loop0
bs=32M
$ sudo losetup -d /dev/loop0
$ build/X86/gem5.opt configs/example/fs.py
--disk-image=${M5_PATH}/disks/mybuntu.img

Boot process returns the following error about file system: 

No filesystem could mount root, tried:  reiserfs ext3 ext2 msdos vfat iso9660
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

What am I missing here? 



_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to