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