home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16014 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!umeecs!ais.org!lcd
  3. From: lcd@ais.org (Leon Dent)
  4. Subject: Re: Making MCC-interim like disks
  5. Message-ID: <BxDsL1.Foy@ais.org>
  6. Organization: UMCC
  7. References: <1992Nov7.174140.7799@athena.mit.edu>
  8. Date: Sun, 8 Nov 1992 05:00:35 GMT
  9. Lines: 28
  10.  
  11. To make a bootable rootdisk (like hlu's disk) that boots to a ramdisk:
  12.  
  13. Obtain a copy of HLU bootable rootdisk
  14.                  HLU README.buildroot 
  15.  
  16. I did a ls -R on HLU rootdisk to get a listing of what should/might go
  17. on it.  I also found the README.buildroot very useful.  I made a script
  18. that created and loaded my own bootable rootdisk.
  19.  
  20. To make it boot to RAMDISK, make a RAMDISK image.
  21.  
  22. Define ROOT_DEV=FLOPPY (or leave undefined)
  23. Define RAMDISK= -DRAMDISK=1440  (this is for a 3.5 inch disk)
  24. In ramdisk.c (in kernel/blk_drv), in function rd_load, set block=0 
  25. (instead of block=256).
  26.  
  27. This should make an image which will load the root in ram.
  28. Have your script load this image onto your rootdisk and it boot, and then 
  29. automatically load the rest of itself into ram (setting it as root).
  30.  
  31. Does this make sense?
  32.  
  33. Also, you will probably need a different fstab for the RAMdisk, than the
  34. straight HLU rootdisk.
  35.  
  36. Leon Dent
  37. lcd@ais.org
  38.  
  39.