Markus Falb wrote: > On 23.8.2012 14:01, Jobst Schmalenbach wrote: >> Hi Adrian >> >> yes this will do. >> Because I do not know (yet) the UUID of the new partitions (drives), >> if I specify the UUID for the known drives for the partitions >> the kernel will assign the new drives to higher sdx? >> Is this correct? > > After reboot sdx could be sdy, as you noticed. > The solution: you dont access a drive via /dev/sdx > You access per UUID and the kernel maps it to the appropiate sdXY which > could be sdy after reboot. You can also label it. I loathe UUIDs - there is *no* way you're going to remember one when you need it. Labels are so much clearer. > > I am not sure about initial ramdisks etc. maybe there is hardcoded stuff > to sdx in there. Maybe it has to be rebuilt? Maybe you has to rebuild > initrd as well as updating fstab? I've actually never seen a system *not* know what the first drive was, hardware-wise. And grub will point to root hd(0,x), normally, not UUID or anything else. You *can* (and I do, all the time) use LABEL= on the kernel line. mark