On Thu, Jun 25, 1998 at 04:36:54PM +0000, Darque wrote:
> I am fairly new to Linux, and originally loaded RH5 unto a system shared with
> Win95.  I have now built another box to move Windows into, so that my wife and
> children will quit asking me to boot into Windows so that they can run their
> software. :)  Here's my question...
> 
> Windows is currently on C drive, with my cd-rom slaved off of it, and Linux
> takes up 2 drives off of my secondary IDE port.  I want to just remove the
> drive with windows, move my 2 drives Linux is on to the primary IDE controller,
> and put my cd-rom onto the second IDE controller.  I'm thinking that I just
> need to edit my fstab file, and maybe my lilo.conf, and everything should be
> good to go when I bring it back up.  Can anyone tell me if I need to do other
> things.  I'm still a little paranoid with Linux, and don't want to break
> anything.

I think that you've basically got it. But here are a couple of things that
come to mind:
-you'll need to change the system CMOS setup to reflect the rearranged
 drives.
-you'll need a way to reboot the first time after moving the drives around.
 While it is probably possible to use Lilo to load the appropriate boot
 block onto your /dev/hdc before moving it around, I found it easiest for
 me (when I rearranged my system the other day) to have a bootable floppy.
 Before dismantling the hardware, use dd (or cp or cat) to copy your
 current boot kernel image to a diskette, e.g.:

        dd if=/boot/vmlinuz of=/dev/fd0 bs=1440k

then use rdev to tell it where the new root partition will be AFTER
the drives get rearranged:

        rdev /dev/fd0 /dev/hda1

assuming your first drive's first partition will be the new root
partition.

If you've already fixed up the fstab and /etc/lilo files, then all
you should need to do once you've booted the floppy is to rerun lilo,
shut down and let it boot from the hard drive.

Fred
-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
               But God demonstrates his own love for us in this: 
                         While we were still sinners, 
                              Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to