How to force a (SATA) drive to be sda and the PATA one sdb

Karl Larsen k5di at zianet.com
Tue Oct 2 22:54:14 UTC 2007


Alfredo Ferrari wrote:
> Hi
> I have the following problem:
>
> a) a laptop with a SATA drive
> b) a modular bay in the same laptop where I can fit a DVD, a battery
>    or a PATA drive
>
> If the PATA drive is there Fedora 7 recognizes it as /dev/sda and the 
> SATA one as /dev/sdb. Without the PATA one, the SATA one is obviously 
> /dev/sda.
> I would like to find a way to force the SATA one to be /dev/sda
> always: using labels is only mitigating the issue of the (main) disk 
> flipping name, since some partitions are mounted via autofs which does 
> not
> accept labels, and others are Windows ones which again cannot be 
> mounted by labels at least to my knowledge.
>
> In short, is there any mean (kernel parameter?) to force the SATA 
> drive come first? BTW on Fedora Core 6 this issue was never present.
>
>                  Thanks a lot
>                 Alfredo Ferrari
>
    I think your talking about a BIOS setting. Mine changes for strange 
reasons. I too have a IDE and a SATA, when I am using the IDE it is 
/dev/sda and the SATA is /dev/sdf. But if the IDE is not being used then 
the SATA becomes /dev/sda. My BIOS is nuts :-)



-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.




More information about the fedora-list mailing list