home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6436 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  2.4 KB

  1. Path: sparky!uunet!olivea!decwrl!mips!darwin.sura.net!news.udel.edu!bach.udel.edu!radel
  2. From: radel@bach.udel.edu (Todd Radel)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Two Hard drives?
  5. Message-ID: <Brt6Lz.7Fp@news.udel.edu>
  6. Date: 22 Jul 92 21:05:59 GMT
  7. References: <63992@hydra.gatech.EDU>
  8. Sender: usenet@news.udel.edu
  9. Organization: University of Delaware
  10. Lines: 58
  11. Nntp-Posting-Host: bach.udel.edu
  12.  
  13. OK, folks, here it is:  How to keep Linux entirely (err, almost) on a 
  14. second hard disk and still be able to boot without a floppy.  Here's
  15. what you do:
  16.  
  17. [Note:  I have two Conner IDE drives.  The primary is a 119mb, and the
  18.  second drive is a 84mb.  The following *is not guaranteed to work for
  19.  you* ... but it probably will!]
  20.  
  21. 1. Backup everything. 
  22. 2. Repartition your primary hard disk (drive C:) and add a 1mb partition
  23.    somewhere.  My 119mb drive looks like this:
  24.  
  25.     DOS partition    /dev/hda1    118mb
  26.     Linux boot    /dev/hda2    1mb
  27.  
  28. 3. Grab the augmented MCC-interim disks from sc.tamu.edu.  Great stuff!
  29. 4. Go through the install procedure.  Partition your /dev/hdb any way
  30.    you want.  I have my 84mb drive like this:
  31.  
  32.     root        /dev/hdb1    10mb
  33.     /usr        /dev/hdb2    50mb
  34.     /tmp        /dev/hdb3    10mb
  35.     swapfile    /dev/hdb4    10mb
  36.  
  37. 5. When the install script prompts you to run "mkfs", do so.  Don't forget
  38.    to "mkfs" your 1mb partition on /dev/hda.
  39. 6. The INSTALL docs give instructions on setting up rdev.  Before you
  40.    get to that step:
  41.  
  42.     cd /mnt
  43.     mkdir boot
  44.     mount /dev/hda2 /mnt/boot
  45.     dd if=vmlinux.96c+ of=/boot/vmlinux.96c+
  46.     dd if=shoelace of=/boot/shoelace
  47.     mkdir /mnt/boot/etc
  48.     cp etc/config boot/etc/config
  49.  
  50.    Go ahead and do the "rdev":
  51.  
  52.     etc/rdev boot/vmlinux.96c+ /dev/hdb1
  53.  
  54.    Now your 1mb partition has shoelace and the kernel on it.
  55. 7. Configure shoelace as per the INSTALL docs.
  56. 8. Reboot.  The Shoelace menu should come up.  Press "2" to boot /dev/hda2,
  57.    your 1mb Linux partition.  If all goes well, Linux will boot and then
  58.    use the second hard drive!
  59.  
  60. That's all there is to it.  I take no responsibility for typos or mistakes;
  61. this is all off the top of my head.  It worked for me!
  62.  
  63. Enjoy,
  64. Todd
  65.  
  66. -- 
  67. Todd Radel                   | "I obscenity in the milk of all," Agustin said,
  68. CIS/English undergrad        | "if it does not seem like a lunatic asylum in
  69. University of Delaware       | here." -- Hemingway, _For Whom the Bell Tolls_
  70. A.I. duPont Institute, 1600 Rockland Road, Wilmington, DE  19899
  71.