USB/HDD/CD/DVD Booting
Moderator:Moderators
Will you make a tutorial on those?
Re: USB/HDD/CD/DVD Booting
I may be wrong, but I think a hard drive is pretty similar to a floppy, you just have to change some of the numbers for tracks, sectors, etc.
I'd love to see a USB tutorial though.
I'd love to see a USB tutorial though.
Re: USB/HDD/CD/DVD Booting
If you have BIOS emulation then floppy disks and hard disks are very very similar.
However, in protected mode, you will need to send raw scsi commands to the disk (in either case). At that point, there are more intellegent things you can do with a hard drive.
~Andrew
However, in protected mode, you will need to send raw scsi commands to the disk (in either case). At that point, there are more intellegent things you can do with a hard drive.
~Andrew

Re: USB/HDD/CD/DVD Booting
To boot on a cd/dvd/usb you don't necessarily have to make a separate bootloader for it, you can use the mkisofs command. For building your os I'd recommend looking at the MikeOS operating system builder files. For a hard drive you should be able to study other people's code for that but don't copy and paste or look and code because you won't learn anything and can get into trouble for doing that. Just look at the code and figure out what it's trying to do then implement it on your own os.