Getting 2nd IDE drive w/Linux to work

Rusty Carruth plug-discuss@lists.PLUG.phoenix.az.us
Mon, 29 Oct 2001 15:38:00 -0700 (MST)


> 
> 
> Wondering if anyone has dealt with a similar situation...
> 
> I had a dedicated system (Lx6 MB/Pent II 233 CPU/6Gb HD) with
> Linux (SuSE) running on it. Recently moved the Linux HD over to
> another system that is similar except for the CPU/MB/HD
> (has a Pent III 750/BX6 MB/20Gb HD) and I added the Linux
> HD as a secondary drive.
> 
> Now what I want to do is configure the new system to be able
> to boot with Linux or Win98SE -- how? How would I configure
> LILO (or is there something else/better?)??

Short version - you need to fix all the config files on the
drive to point to /dev/hd*b* instead of /dev/hd*a*.  Usually,
thats Lilo (/etc/lilo.conf) and mount points (/etc/fstab)

Long version - insert a bootable distribution disk in your
(new) machine and boot from it, using recover mode.  

Edit /etc/lilo.conf to match your new system config.

Rename the boot.* files in /boot to something else so that
lilo will back up your new boot sector, and run lilo ('lilo').

Edit /etc/fstab to match your new system config.

Reboot.

If I have not missed anything, you should be up and running.

> Is there a resource on the www that someone can point me to?

Oh, probably, but I don't know them off hand ;-)

rc