hello friends,
i am new to OS development. I am following the Bran's kernel development tutorial, and have successfully compiled the Hello World kernel. I want to deploy this kernel on VMware, but every time i get this message "Operating System not found".
I figured out that it must be some bootloader problem, so i tried to create the GRUB diskette as given in the wike-GRUB.
i am working with virtual floppy disk, n i first create a img file auxdsk.img n formatted, n then my commands are
c:\ dd if=stage1 of=auxdsk.img bs=512 count=1 conv=notrunc
c:\ dd if=stage2 of=auxdsk.img bs=512 seek=1 conv=notrunc
i believe this diskette is suppose to load the GRUB, which i am then suppose to change the diskette n load the 2nd diskette with the kernel.bin, stage1, stage2, menu.lst in /boot folder.
well, when i load the first diskette, i get the message "Operating System not found".
it would be very kind of you guys to think about this problem, n post them . if you have any working img file of a bootable floppy with kernel, please send me the link.
regards.
problem in deploying the kernel
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Correct me if I'm wrong but, I think to get a GRUB floppy you can:
cat stage1 stage2 > boot
cat boot > floppy.img
or
cat boot > /dev/fd0
Have you determined that your boot options are correct? And the floppy is connected?
-JL
cat stage1 stage2 > boot
cat boot > floppy.img
or
cat boot > /dev/fd0
Have you determined that your boot options are correct? And the floppy is connected?
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
If you are on Windows, simply use the virtual floppy program from here: http://chitchat.at.infoseek.co.jp/vmware/vfd.html, use the floppy image with grub as the virtual floppy, copy the kernel onto the floppy with Windows explorer, and you're done. (Set vmware to use the fake floppy drive.)
Conway's Law: If you have four groups working on a compiler, you'll get a 4-pass compiler.
Melvin Conway
Melvin Conway