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.
Hello,
I'm trying to work with BootProg, but one of it's requirements(for the boot sector) is to have a FAT12 formatted floppy, to write the boot loader. I've tried to create the floppy image using Virtual Floppy Drive, MagicISO and WinImage, but used only Virtual Floppy Drive to emulate my floppy image(because I think this is the only program that can emulate floppy's).
When I try to run BOOTABLE.EXE(to write the boot sector, program that is included with BootProg), I got this:
C:\bootprog> bootable boot.bin A:
Loading a boot sector file...
OK.
Reading original boot sector...
OK.
Altering original boot sector...
FAT types don't match.
Original FAT type: FAT16
New FAT type: FAT12
Failed.
dd + mkdosfs can create a FAT12 image... that you can mount with VFD and use with this "BOOTABLE.EXE" thing you're obsessed with.
It'd be easier to just write your own bootloader.
As for tutorials, you can spend 30 seconds on Google, I'm not doing that for you. Or try "man dd" and "man mkdosfs" and try learning something for yourself for once.
Ok, I've done better, I got my Linux laptop(an Eee PC 904HD with Ubuntu Hardy Heron), and I will do all, using Wine to help me with the BootProg things.
As far as I know you don't need anything like BootProg on linux.
You can set up a floppy image as a loopback device (see losetup(8)) and then mount it like any other device.
Tosi wrote:As far as I know you don't need anything like BootProg on linux.
You can set up a floppy image as a loopback device (see losetup(8)) and then mount it like any other device.
Yeah, I know that, but I'm mounting it to a directory(/mnt/os), then when I try to write to the boot sector, like this:
Mounting is for accessing the filesystem. Access the image for writing the bootsector.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Since you're asking for a floppy and not a floppy image, Can we have your post address? I happen to have something
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]