Need help with building process
Posted: Sat Jul 19, 2008 1:40 am
How can I create floppy images with FAT implemented?
I read Bran's Kernel Development Tutorial and downloaded the floppy image that it contains, I ran it in Q (Mac OS X's version of Qemu) and it ran perfectly. I've always had trouble with the building process so I decided to make an image file with the same files as the one I downloaded. Here's what I did:
1. hdiutil create -srcfolder (folder containing the same files as the other image) -fs MS-DOS -o Test.dmg
2. hdiutil convert Test.dmg -format RdWr -o Test.img
What I got was an identical (except for the size, I think the other image is compressed) image to the one in Bran's Tutorial but, when I tried to run it in Q, the results weren't the same (it didn't boot).
So what I'm asking is, how can I create floppy images with the FAT file system (or some file system) implemented and use GRUB in them when the only tools I have are hdiutil and dd?
Any help will be very much appreciated (I've been trying to do this stuff for months).
I read Bran's Kernel Development Tutorial and downloaded the floppy image that it contains, I ran it in Q (Mac OS X's version of Qemu) and it ran perfectly. I've always had trouble with the building process so I decided to make an image file with the same files as the one I downloaded. Here's what I did:
1. hdiutil create -srcfolder (folder containing the same files as the other image) -fs MS-DOS -o Test.dmg
2. hdiutil convert Test.dmg -format RdWr -o Test.img
What I got was an identical (except for the size, I think the other image is compressed) image to the one in Bran's Tutorial but, when I tried to run it in Q, the results weren't the same (it didn't boot).
So what I'm asking is, how can I create floppy images with the FAT file system (or some file system) implemented and use GRUB in them when the only tools I have are hdiutil and dd?
Any help will be very much appreciated (I've been trying to do this stuff for months).