> Your patch is fine. But I cannot boot ld0a instead of wd0a. > Any idea ? As the match_harddisk() only checks disklabel, it is impossible to distinguish those devices (those three deivce gives same contents by definition). I guess you need to hardcode rootdevice in your kernel config file. enami.