使用bochs的組件bximage 報錯:could not write disk image

我在ubntu的/usr下新建了目錄test,然後到test下使用bximage新建一個軟盤映像,

Do you want to create a floppy disk image or a hard disk image?
Please type hd or fd. [hd] fd

Choose the size of floppy disk image to create, in megabytes.
Please type 0.16, 0.18, 0.32, 0.36, 0.72, 1.2, 1.44, 1.68, 1.72, or 2.88.
[1.44] 1.44
I will create a floppy image with
cyl=80
heads=2
sectors per track=18
total sectors=2880
total bytes=1474560

What should I name the image?
[a.img] a.img
ERROR: Could not write disk image

最後一行顯示錯誤

錯誤原因是權限不夠,在bximage前加sudo.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章