upgrade

Collins Richey crichey
Fri Jan 26 16:06:40 PST 2007


On 1/26/07, Vu Pham <vu at sivell.com> wrote:
> I upgrade my workstation from AMD FX to Intel Xtreme and I switch the
> motherboard from Asus to Gigabyte. When I move the harddrive (with Suse
> 10.1) to the new system, it boots and exits to the shell with error
> saying that it cannot detect /dev/sda2 which is my partition / , and I
> cannot use the USB keyboard also.
>
> 1. I guess it is because the sata controllers on the two motherboards
> are not the same ?

Definitely.

>
> 2. I think Redhat will autodectect the hardware changes and update the
> driver correspondingly. Can we do it with Suse ?
>
> 3. I have the DVD Suse 10.2. Do you think upgrading the system will
> upgrade the driver also ?
>

The normal way to cure this problem is

1. Boot from a live CD (Knoppix, et al)
2. Mount your existing / (and /boot as well, if you have a separate
/boot). You may also need to mount /proc on top of the eisting /.
3. chroot to the mounted / parition.
4. Rebuild your initrd using your distro's tools.
5. exit from chroot and umount /proc (if mounted) /boot (if mounted), and /
6. Cross your fingers and reboot.

All of this presumes that your distro's kernel supports the new sata controller.

hth,

-- 
Collins Richey
     If you fill your heart with regrets of yesterday and the worries
     of tomorrow, you have no today to be thankful for.



More information about the Linux-users mailing list