How to convert grub config to use kernel device names instead of UUID

I've got a bunch of identical systems on which I want to clone the same openSUSE 12.3 installation.

I've set up clonezilla on PXE server.

After appling the disk-image of on another machine, it fails to boot.

This is because all the partitions are referred to be their UUIDs instead of the kernel-assigned name (sda1, sda2, etc).

How do I configure grub to be using the kernel names instead of the UUID so that the image can be truly ported to the other systems?

I have tried setting GRUB_DISABLE_LINUX_UUID=true in /etc/default/grub and then run grub2-mkconfig -o /boot/grub2/grub.cfg. I have also changed the entry in /etc/fstab.

After these changes, the system still boots fine on the source machine, but doesn't boot on all the others. Grub loads, but only shows the word "GRUB" and thats all. Nothing else happens.

My current grub.cfg is the following:

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论