home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6370 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!rice!rice!corywest
  3. From: corywest@rice.edu (Cory West)
  4. Subject: An interesting discovery about boot devices.
  5. Message-ID: <CORYWEST.92Jul21234040@rio-grande.rice.edu>
  6. Sender: news@rice.edu (News)
  7. Organization: Well, none really, but I know where my socks are!
  8. Date: Wed, 22 Jul 1992 05:40:40 GMT
  9. Lines: 25
  10.  
  11.  
  12.     I'm not sure if this is common knowledge, but I just
  13. 'discovered' it on my own a couple of days ago and I have been
  14. reading this group and all related documentation for a good,
  15. solid six weeks:
  16.  
  17.     If you set the major and minor numbers of your boot 
  18. device to 0 0 in the kernel (I did with with a binary editor
  19. at the proper offset), when Linux boots, it _asks_ you what
  20. to use as a boot device.  This is handy because if you have a
  21. tiny DOS partition and use BOOT.SYS and BOOTLIN, you can 
  22. boot from floppy or hard disk without having two different kernel
  23. image files around.
  24.  
  25.     Anyway, I just thought that was interesting and thought
  26. someone else might find it useful.
  27.  
  28. P.S.  Since there's a way to set or not set your boot device major
  29. and minor numbers, is there also a way to set the default video
  30. mode so that the kernel doesn't ask you what video mode it should
  31. use?  That would be handy for a totally autobooting kernel (with
  32. shoelace or something like that) for those infrequent remote reboots.
  33.  
  34.  
  35.             Cory West, corywest@rice.edu
  36.