Home Site Stocks Machine

The local boot commands file /etc/rc.d/rc.local

If the remote file systems CIFS or SMBFS don't get mounted at boot time automatically (but the execution of mount -a on the command line as root will mount them) this workaround will probably help. During the boot process of the Debian Linux running in VMware it is observable, that the mounting fails because of CIFS error connecting to IPv4 Socket: 101. It looks like the mounting attempt comes too early in the boot sequence. The following will create a rc.local file in /etc/rc.d/ (the autoexec.bat of Linux) and call the mount command just before Gnome starts.

Note: This workaround has already been applied to the Debian Linux appliance from this site.

Create a file named /etc/init.d/local with these 2 lines (exactly!) inside:

#!/bin/sh
mount -a

Then run as root:

chmod 755 /etc/init.d/local
update-rc.d local start 98 2 3 4 5 .
mkdir /etc/rc.d/
ln -s /etc/init.d/local /etc/rc.d/rc.local

Don't miss the . at the end of 2 3 4 5 .

All you put inside this newly created local boot commands file named /etc/rc.d/rc.local is executed at boot.





Visoracle

Home ии System ии Machine
 Index