I configure my DRBL server with DRBL SSI mode and clonezilla with the box mode. I want to replace the NFS mount of /home/partimag by SSHFS.
I wanted to start some other services in the etc/rc3.d of the client (add a automount script for my sshfs).
So I modify the tarball /tftpboot/node_root/drbl_ssi/template_etc.tgz
When I reboot the client, the modification in /etc/rc3.d are here but there is no execution
I have modified the original /etc/rc.local of the client to test (I add a simple line to create a file : touch /etc/test.txt)
But when I restart the client the file test.txt is not create
my /etc/inittab is level 3
I don't understand , rc3.d is really executed ?
can you help me please ?
kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's recommended to follow this to add the service you want to startup in the client: http://drbl.sourceforge.net/one4all/#Setup_the_Diskless_Remote_boot_in
…
Before executing step <3a>, you can do some customized config:
…
3. If you have extra services (such as apmd and bluetooth) to be on when client boots, you can edit /opt/drbl/conf/client-extra-service, let service_extra_added="apmd bluetooth".
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I followed your instruction and reinstalled DRBL. I added the rsyslog service in /opt/drbl/conf/client-extra-service. But unfortunately it doesnt work. I have the rsyslog in the rc3.d but none of the services do not seem to start.
I continue my research :)
kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So you want to mount sshfs and do the clonezilla job?
For Clonezilla SE, the client job is done in run level 1, not rc3. If this is what you really want, you have to modify the files in client's /etc/rc1.d/.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I configure my DRBL server with DRBL SSI mode and clonezilla with the box mode. I want to replace the NFS mount of /home/partimag by SSHFS.
I wanted to start some other services in the etc/rc3.d of the client (add a automount script for my sshfs).
So I modify the tarball /tftpboot/node_root/drbl_ssi/template_etc.tgz
When I reboot the client, the modification in /etc/rc3.d are here but there is no execution
example for "rsyslog" :
# ls -ail /etc/rc3.d
the result is when I reboot no rsyslog in process
I have modified the original /etc/rc.local of the client to test (I add a simple line to create a file : touch /etc/test.txt)
But when I restart the client the file test.txt is not create
my /etc/inittab is level 3
I don't understand , rc3.d is really executed ?
can you help me please ?
kevin
Hi kevin,
Which linux distribution and version are you running ? Ubuntu 10.04+ ?
- Jazz
Hi Jazwang,
Thank you for your quick answer It is a fedora 14
kevin
It's recommended to follow this to add the service you want to startup in the client:
http://drbl.sourceforge.net/one4all/#Setup_the_Diskless_Remote_boot_in
…
Before executing step <3a>, you can do some customized config:
…
3. If you have extra services (such as apmd and bluetooth) to be on when client boots, you can edit /opt/drbl/conf/client-extra-service, let service_extra_added="apmd bluetooth".
Steven.
Thank you for your help
I followed your instruction and reinstalled DRBL. I added the rsyslog service in /opt/drbl/conf/client-extra-service. But unfortunately it doesnt work. I have the rsyslog in the rc3.d but none of the services do not seem to start.
I continue my research :)
kevin
I will rephrase my problem, what files should I change to mount /home/partimag by ssh and not nfs
So you want to mount sshfs and do the clonezilla job?
For Clonezilla SE, the client job is done in run level 1, not rc3. If this is what you really want, you have to modify the files in client's /etc/rc1.d/.
Steven.
Oh great, everything works effectively by placing the script in the /etc/rc1.d/ directory.
thank you Steven !
Cool!
No problem.
Enjoy!
Steven.