C R. Little wrote:

>I recomplied all intel and promise modules into the kernel and it loads the 
>drivers on boot. But to fix the problem completely. I changed root=/dev/ram0 
>to root=/dev/sda3 and removed real_root=/dev/sda3.
>
>what is is the root=/dev/ram0 for? Is it needed?
>
>  
>

The "root=" option tells the kernel what device to use for the root
filesystem.  It is only used if you do _not_ use an initial ram disk
(initrd).  If you use initrd, it is up to the script in the initrd
environment to determine the root filesystem and tell the kernel what
device is the real root via /proc/real-root-dev.  The initrd script
normally looks at the kernel command line to determine this device, so
it could be "root=", "real_root=", "my_root=", "blah_blah=", etc.  It
just depends on what you used to create the initrd that determines what
the script looks for.

If you create a directory "/initrd", your initrd should be mounted there
when you next reboot.  You can then take a look at the /initrd/linuxrc
script if you want to understand more.

You can also mount it manually by doing:

    gunzip < /boot/initrdXXXXX >/dev/ram0
    mkdir /initrd
    mount /dev/ram0 /initrd

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to