You are Here:
Download Linux Lite 5.4 Final today - See Release Announcements



X Close Ad
X Close Ad
floppy boot sector

Author (Read 2427 times)

0 Members and 1 Guest are viewing this topic.

floppy boot sector
« on: December 29, 2018, 04:17:40 PM »
 

dks

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • CPU: DELL

  • MEMORY: 4Gb
Using C how to read the floppy drive boot sector (connected to USB port)
 


Re: floppy boot sector
« Reply #1 on: December 29, 2018, 09:13:42 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1567
    Posts
  • Country: us
  • Reputation: 257
  • * Forum Moderator *

  • Linux Lite: 4.8 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics

  • Kernel: 4.x
You might want to try re-explaining.  I've read this several times, and I'm not sure what you're asking. 
Want to thank me?  Click my [Thank] link.
 

Re: floppy boot sector
« Reply #2 on: December 30, 2018, 05:25:56 AM »
 

dks

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • CPU: DELL

  • MEMORY: 4Gb
I want to read the FAT boot sector of a floppy disk. The floppy drive is connected to  a USB port
Last Edit: December 30, 2018, 05:48:36 AM by dks
 

Re: floppy boot sector
« Reply #3 on: December 30, 2018, 07:37:07 AM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1567
    Posts
  • Country: us
  • Reputation: 257
  • * Forum Moderator *

  • Linux Lite: 4.8 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics

  • Kernel: 4.x
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"?
Want to thank me?  Click my [Thank] link.
 

Re: floppy boot sector
« Reply #4 on: December 30, 2018, 10:58:21 AM »
 

dks

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • CPU: DELL

  • MEMORY: 4Gb
yes
 

Re: floppy boot sector
« Reply #5 on: January 01, 2019, 02:44:52 AM »
 

Nenad Randjelovic

  • Patreon Supporter
  • New to Forums
  • *****
  • 1
    Posts
  • Country: au
  • Reputation: 0

  • Linux Lite: 4.2 64bit
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?
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.4 Final today - See Release Announcements