home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25477 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.6 KB  |  48 lines

  1. Path: sparky!uunet!cs.utexas.edu!not-for-mail
  2. From: STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe)
  3. Newsgroups: comp.os.linux
  4. Subject: Not a Valid Boot disk from dd
  5. Date: 25 Jan 1993 19:54:28 -0600
  6. Organization: UTexas Mail-to-News Gateway
  7. Lines: 36
  8. Sender: daemon@cs.utexas.edu
  9. Message-ID: <9301260154.AA06949@deepthought.cs.utexas.edu>
  10. NNTP-Posting-Host: cs.utexas.edu
  11.  
  12. Hi,
  13.   I am trying to write a program that will be able to be booted
  14.   from a floppy, you know, my own OS or something.  This is the
  15.   assembly program.  All it does is places the letter A on the
  16.   screen.
  17.     .text
  18.     .globl  _main
  19.     _main:
  20.          mov ah,#0x0e
  21.          mov al,#0x65
  22.          mov bh,#0
  23.          int #0x10
  24.   I did the following to create the output:
  25.     as86 -0 -a nt.s -o nt.a
  26.     ld86 -0 nt.a -o nt
  27.   this worked just fine, no errors or warnings...
  28.   I then put it onto the floppy, that had previously been formatted
  29.   on DOS.  I used
  30.     dd if=nt of=/dev/fd0
  31.   I even put in bs=8192 like the makefile for the kernel.
  32.   When I went to boot it up I got this, from the BIOS:
  33.    Not a boot disk,
  34.     Press PF1 to retry, PF2 to edit configuration
  35.  
  36.   Any clues?  I did things the way that linux does in the kernel Makefile
  37.  
  38.       -Dan
  39.  
  40. Dan Newcombe
  41. stdn@vm.marist.edu                        kk4d@maristb.marist.edu
  42. dnewcomb@cybernet.cse.fau.edu             And others...
  43. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  44. - Real programmers like vending machine popcorn.  Coders pop it in the
  45.   microwave oven.  Real programmers use the heat given off by the cpu.
  46.   They can tell what job is running just by listening to the rate of popping.
  47.  
  48.