LFS 6.4 Portability - *** correction *** (ramdisk)

Ryan Isaacs ryanisaacs at gmail.com
Fri Feb 6 08:14:06 PST 2009

On Fri, Feb 6, 2009 at 6:56 AM, support <support at expertrepair.co.uk> wrote:
> *** Move this disk back to Machine A (not B as in the original post) ***
>>> Ubuntu boots ok
>> You probably need to recompile the kernel to include the correct driver
>> for your controller in machine A.
>> In the 2.6.27 kernel series this should be included under the following
>> menu:
>> Device Drivers  ---> Serial ATA (prod) and Parallel ATA (experimental) drivers
>> Regards,
>> Ag.
> As for why ubuntu boots but LFS doesn't, it related to having
> initrd/initramfs (i've no idea which ubuntu uses), Ubuntu will be using
> a modular kernel with all the required boot modules stored in the
> ramdisk, thus the i/o controller drivers are available when the kernel
> needs them. Because you built a custom kernel for LFS without a ramdisk,
> you had to compile the drivers into the kernel.  The previous reply is
> still what you need to do to fix it, but I thought I'd try and shed some
> light on why it happened for you.
> Regards
> Phill
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

The ramdisk thing is new to me. I thought modules were just some
compiled code, which likely sits as a binary file on the disk
somewhere. They are loaded into RAM when needed (user using insmod, or
system doing it automatically). So, how does the ramdisk fit in?

ryanisaacs at gmail.com

More information about the lfs-support mailing list