Linux Lite Forums
floppy boot sector - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Hard Drives and SSDs (https://www.linuxliteos.com/forums/forumdisplay.php?fid=26)
+--- Thread: floppy boot sector (/showthread.php?tid=5887)



floppy boot sector - dks - 12-29-2018

Using C how to read the floppy drive boot sector (connected to USB port)


Re: floppy boot sector - torreydale - 12-30-2018

You might want to try re-explaining.  I've read this several times, and I'm not sure what you're asking. 


Re: floppy boot sector - dks - 12-30-2018

I want to read the FAT boot sector of a floppy disk. The floppy drive is connected to  a USB port


Re: floppy boot sector - torreydale - 12-30-2018

Are you not seeing what you want when doing a web search on something like "how to read the fat boot sector of a floppy disk using linux"?


Re: floppy boot sector - dks - 12-30-2018

yes


Re: floppy boot sector - Nenad Randjelovic - 01-01-2019

I don't have a working floppy disk to test out with Linux, but I hope these sites help you out.

FAT File System: http://www.c-jump.com/CIS24/Slides/FAT/lecture.html
C Progam that reads FAT: https://github.com/pda/cfat16
Floppy disk block device manual: https://linux.die.net/man/4/fd

Do you have any sample code you can share? Or tell us the errors that you are getting if any?