Hi,

 

I’m trying to create my own boot disk using the documentation located in « Documentation/initrd.txt ».

 

I wrote a /linuxrc file that seems to work…except at the end when it tries to release the open handles and resources and wants to run /sbin/init.

 

Here are the two issues I get:

 

1-if I want to run interactive commands, such as “read…” or “/bin/sh”…, the keyboard freezes.

I created the /dev/console device and added the following redirection to the command:

 

# read VAR <dev/console >dev/console 2>&1

 

but it doesn’t work.

 

2-then I want the following process to be executed:

 

# exec . chroot /sbin/init <dev/console >dev/console 2>&1

 

All I get is the following message:

 

chroot: file not found !

 

But I copied it under the usr/sbin directory of the “initrd” filesystem and all the mandatory libraries are under “lib”.

 

Any idea ?

 

Thanks,

 

Jerome

 

 

Reply via email to