Page 1 of 1
Kernel truncates after trying to run it from virtual box
Posted: Sun Dec 09, 2012 7:51 pm
by drunkenfox
After recently installing linux mint for OS development, I've ran into problems after copying the file to a floppy. First of all, I copy kernel.bin to the root of the floppy and make sure it is its original size. That goes fine. But, when I run off the floppy with virtual box and go into grub and type "kernel /kernel.bin", it gives me the well known error 13. I closed virtualbox and went back to the floppy, to find out that kernel.bin was 0 bytes in size
Any reason why this happens?
Re: Kernel truncates after trying to run it from virtual box
Posted: Sun Dec 09, 2012 8:24 pm
by NickJohnson
I assume you have the floppy loopback-mounted somewhere. Did you unmount it properly before running the VM?
Re: Kernel truncates after trying to run it from virtual box
Posted: Sun Dec 09, 2012 10:11 pm
by bluemoon
Did you sync?
Re: Kernel truncates after trying to run it from virtual box
Posted: Tue Dec 11, 2012 9:14 am
by drunkenfox
Alright, I'll use sync when I get home today. Just read about it and it should solve the problem.
Re: Kernel truncates after trying to run it from virtual box
Posted: Tue Dec 11, 2012 5:50 pm
by drunkenfox
Thanks bluemoon, it worked