logicmaster2003 wrote:
no no i think u misunderstood me. I basically want to get rid of the ATA drive (sda1) and boot-up with SATA drive (sdc1) by restoring the disk image.
I'm assuming that all I have to do is to edit the fstab, but I'm not so sure what else is needed
You will need to edit the fstab and the /boot/grub/menu.lst (assuming you are using grub) so that the system knows where to find the kernel
Code:
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title RecoveryOS (2.6.23.9-6.RecoveryOS-smp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.9-6.smp ro root=/dev/hda1 rhgb quiet
initrd /boot/initrd-2.6.23.9-6.smp.img
Here is a simple example.
root (hd0,0) is HDD #1 and partition #1 (zero based)
in the kernel line you will need to edit the /dev/hda1
splashimage I put at the bottom due to low priority to be fixed; it will need to be edited the same way as the root (hd0,0) line
This is not terribly hard to do and if grub fails usually you can boot into the grub prompt and fix it. I warn you that this is also not for the timid. While not difficult once you understand it all, if you are in the middle of a problem and don't understand how it all works it is easy to become very frustrated.
An easier suggestion may be to create a .tgz archive of /home, /etc, /var, /usr, and if necessary, /bin, /sbin, and /opt. Then install a base system on the sd cdrive and restore this backup.