Re: Switching from (deprecated) IDE driver -> SATA (PATA support)

From: Alan Cox
Date: Sun Jan 25 2009 - 06:07:43 EST


> and I cannot upgrade the kernel anymore unless I move to the
> PATA-supported SATA driver, but I have no idea what the root disk will be
> after a reboot and there is a high probability it will not come back after
> a reboot..

Easiest is to use labels. Old ide will keep hda,b,c,d constant
providing you have interfaces using the legacy IDE port mappings (0x1f0
and 0x170). Libata doesn't do that as pretty much every distribution had
already switched to volume labels, and the user space can do the job far
better than the kernel - especially as the newer devices with modern
interfaces don't have the old BIOS/DOS legacy ideas any more.

Mount by label also means you can flip back and forth between the
different drivers and kernel revisions.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/