Bytes instead of chs for disk size in bochs?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
clementttttttttt
Member
Member
Posts: 70
Joined: Tue Jul 14, 2020 4:01 am
Libera.chat IRC: clementttttttttt

Bytes instead of chs for disk size in bochs?

Post by clementttttttttt »

Is there a way to specify the disk image size in bytes instead of chs in bochs? The chs size is extremely troublesome and annoying to calculate.
xeyes
Member
Member
Posts: 212
Joined: Mon Dec 07, 2020 8:09 am

Re: Bytes instead of chs for disk size in bochs?

Post by xeyes »

just omit it, like this:
ata0-master: type=disk, mode=flat, path="30M.sample"
bochs will then print
autodetection enabled
and run fine
Post Reply