Harddrive sorting

Hans <[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <4759462.LvFx2qVVIh@protheus2>
Dear list, 

I have a question. In my computer are several SATA drives. First one with 
Debian installed and with grub, is connected to Port 0 of the SATA controller, 
second one got Windows and is on SATA 1, and 3 harddrives more are connected 
to SATA ports 2-4.

When ever I boot, the harddrives are not booted in the wanted order (a timing 
problem case), sio that the Debian drive is /dev/sdb and Windows is /dev/sda, 
but I want /dev/sda = Linux and /dev/sdb = Windows.

Whilst there si no problem with the mountpoints, as I ca use UUID in /etc/
fstab, I would like to know, if it is possible, to force Debian, to see the 
drives in the order, they are hardwired.

I suppose, this poroblem is well known, but I found no solution. Maybe there 
is none? 

In my mind came the idea, of using udev rules, but I heard of this only in 
relationship with assigning network devices (when you have more than one 
ethernet card and want to assign them correctly to eth0, eth1 and so on).

If there is no known solution, then just tell me. It is harmless, as 
everything is working well here.

Best regards

Hans
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.