home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- 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
- From: lcd@ais.org (Leon Dent)
- Subject: Re: Making MCC-interim like disks
- Message-ID: <BxDsL1.Foy@ais.org>
- Organization: UMCC
- References: <1992Nov7.174140.7799@athena.mit.edu>
- Date: Sun, 8 Nov 1992 05:00:35 GMT
- Lines: 28
-
- To make a bootable rootdisk (like hlu's disk) that boots to a ramdisk:
-
- Obtain a copy of HLU bootable rootdisk
- HLU README.buildroot
-
- I did a ls -R on HLU rootdisk to get a listing of what should/might go
- on it. I also found the README.buildroot very useful. I made a script
- that created and loaded my own bootable rootdisk.
-
- To make it boot to RAMDISK, make a RAMDISK image.
-
- Define ROOT_DEV=FLOPPY (or leave undefined)
- Define RAMDISK= -DRAMDISK=1440 (this is for a 3.5 inch disk)
- In ramdisk.c (in kernel/blk_drv), in function rd_load, set block=0
- (instead of block=256).
-
- This should make an image which will load the root in ram.
- Have your script load this image onto your rootdisk and it boot, and then
- automatically load the rest of itself into ram (setting it as root).
-
- Does this make sense?
-
- Also, you will probably need a different fstab for the RAMdisk, than the
- straight HLU rootdisk.
-
- Leon Dent
- lcd@ais.org
-
-