Re: Boot from SATA drive--module or built-in?
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, Jun 06, 2006 at 04:42:07AM -0700, Brian C wrote:
> This is a kernel-related question to which I cannot find a definitive answer.
> If I am not going to use an initrd image, and I want to boot Debian from an SATA drive (in a system with no PATA drives and all SATA drives) using a 2.6
> kernel, then is it necessary to compile-in the specific driver for the SATA controller or is it acceptable for it to be merely a module? (When doing make
> menuconfig do I need a * or will an M do?)
> In particular, if the SATA controller is the NVIDIA nForce4 controller, does nv-sata need to be built-in or can it just be a module?
> It seems like I've read somewhere that when you want to boot from such a drive then the boot process never makes it to loading modules because it cannot
> find the SATA drives to begin with, requiring the specific SATA driver to be built-in. Is that right?
if you want to get around using an initrd, yes you have to compile the driver into the kernel (along with scsi disk support and the driver for your root file system.
it is the same if you want to boot from an ide drive without using an initrd you have to compile a suitable controller driver and ide disk support into the kernel
Albert Dengg <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-----END PGP SIGNATURE-----