22/10/2008

openSuSE grub and exchanging hard drives

One very strange feature of the openSuSE grub is that it addresses all partitions with "device-by-id". Works perfectly reasonable as long as you don't want to transfer an existing installation on another hard drive. In this case remember to change all device references in the following files:
/boot/grub/menu.lst
and
/etc/fstab
(remember to back up the original ones first)
otherwise you will be left with an unbootable linux after having it successfully copied to your new hard drive.

You can do all these changes being root in a live linux of your choice.

No comments: