look at linux/init/main.c
......
root_mountflags = real_root_mountflags;
if (mount_initrd && ROOT_DEV != real_root_dev
&& MAJOR(ROOT_DEV) == RAMDISK_MAJOR && MINOR(ROOT_DEV) == 0) {
int error;
int i, pid;
pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
if (pid>0)
while (pid != wait(&i));
if (MAJOR(real_root_dev) != RAMDISK_MAJOR
|| MINOR(real_root_dev) != 0) {
error = change_root(real_root_dev,"/initrd");
if (error)
printk(KERN_ERR "Change root to /initrd: "
"error %d\n",error);
}
}
........
in my case
ROOT_DEV == real_root_dev
so it does't exec pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
why?
how to?
i 'm screwing.
----- Original Message -----
From: Steve Linn <steve@hero.com>
To: jyllyj <jyllyj@163.net>
Sent: Friday, December 17, 1999 12:11 PM
Subject: Re: ram disk trouble
>
> How far does it get? What is the last thing that it says?
> I guess I could send you an image if you want to help figure
> out if it is the image or the boot rom.
>
> Steve
>
>
===========================================================================
This Mail was sent to netboot mailing list by:
"jyllyj" <jyllyj@163.net>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.
For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.