Hi,

I am trying to create a blank image file for use in GEM5 and then populate it 
with the linux kernel.  When trying to use the ./util/gem5img.py script, it 
calls the sfdisk, but since I am using Ubuntu 16.04 LTS, the sfdisk is at 
version 2.27. After version 2.26 sfdisk stopped supporting,  -D or -DOS, -C 
cylinders, -H heads, -S sectors  options, But these are used in the gem5img.py 
script. When I remove these options in the script, I get errors

Start sector 0 out of range.
Failed to add partition: Numerical result out of range.

Any ideas please ?

Yasir

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

Reply via email to