It's a little complicated, but there is a way.
- Shut down the computer, unplug the ribbon cable from your IDE drive, if your CD-ROM drive is jumpered as a slave, move the jumper to master. You do this so the installation won't "see" the IDE and you get a clean install on your SATA drive.
- Turn the system back on, put disk one in the CD-ROM drive and let it boot.
Here you have to make a choice -- you can boot sata.i (a 2.4.x kernel) or you can boot test26.s (a 2.6.x kernel).
The sata.i kernel in 10.2, in my experience, performs poorly -- disk I/O is extraordinarily slow -- and the test26.s kernel performs as you would expect; I'd pick test26.s, YMMV. Too, if you install one and don't like it, just install the other and see what happens -- it only takes a little time to do this and you get a chance to compare without having to fool around too much.
- Pick one and boot.
- Use fdisk or cfdisk and set up your partitions (remember that your SATA drive is /dev/sda).
- Type "setup" and install the distribution.
- When you get to the questions about which kernel, but sure to pick the one you chose (sata.i or test26.s) and let all that complete.
- Let it write lilo to the MBR.
- Reboot and you should be running on your SATA.
From here, what I do, if I've used test26.s, is mount disk 2 and
Code:
mount /dev/cdrom
cd /mnt/cdrom/linux-2.6.13
upgradepkg *.tgz
That replaces all the 2.4.x packages (it will not install the kernel-generic-2.6.13-i486-1.tgz package though -- that package doesn't exist on your system -- and
you don't want it installed). The upgradepkg utility will report that "kernel-generic" doesn't exist, ignore it. If you chose 2.6.x, you will also need to get into /etc/rc.d and
Code:
rm rc.modules
ln -s rc.modules-2.6.13 rc.modules
Eject the CD-ROM, reboot, and you should be good to go.
If you're planning on compiling the kernel, mount disk one and
- cd /usr/src/linux
- cp .config .config.old
- cp /mnt/cdrom/kernels/test26.s/config .config
(or sata.i/config as appropriate)
That gives you a configuration file that reflects your installed kernel.
Don't forget to shut down the system, move the jumper back to slave on your CD-ROM drive (if you changed it) and reconnect the ribbon cable to your IDE drive.
Now you can chose where to boot from setup when the system starts or you can fool around with lilo or grub or whatever you're using -- there are other discussions about dual-booting a SATA and IDE drive by editing lilo.conf, take a look at them.